1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

4298 Commits

Author SHA1 Message Date
c2f4db1369 Merge pull request #1301 from ipfs/maint/fuse
Maint/fuse
2015-05-29 16:43:34 -07:00
e9074beb6d godeps: update bazil.org/fuse
fuse: Attr() now has a Context parameter and error return value

~GOPATH/src/bazil.org/fuse:master$ git shortlog 48c34fb7780b88aca1696bf865508f6703aa47f1..e4fcc9a2c7567d1c42861deebeb483315d222262
Tommi Virtanen (8):
      Remove dead code
      Make saveLookup take Context, return error
      Make serveNode.attr take Context, return error
      Make nodeAttr take Context, return error
      API change: Move attribute validity time inside Attr
      Set attribute validity default time in one place
      API change: Attr method takes Context, returns error
      Set LookupResponse validity times up front, instead of after the handler
2015-05-30 01:07:14 +02:00
a0aa07e39f rename root to last 2015-05-29 13:33:45 -07:00
97d75891b0 Merge pull request #1297 from ipfs/sharness/daemon
sharness/t0060-daemon: don't reuse expect/actual names
2015-05-29 12:54:58 -07:00
787bacfe0d Merge pull request #1300 from ipfs/maint/mdns
mdns: use my fork of hashicorp/mdns
2015-05-29 12:34:00 -07:00
37b32a6587 sharness/daemon: improve error detection 2015-05-29 14:20:07 +02:00
13a7d27b4c mdns: use my fork of hashicorp/mdns
upstream didn't respond to the request to update their dependencies
2015-05-29 01:30:44 +02:00
dba455a59d sharness/t0060-daemon: don't reuse expect/actual names 2015-05-28 18:01:50 +02:00
38479ff1d3 docs 2015-05-28 08:52:20 -07:00
b660f937bd make callback take a node instead of a key 2015-05-28 08:52:20 -07:00
dd928a2b1d change pinning to happen in a callback 2015-05-28 08:52:20 -07:00
270b47702e catch other error that means the file is locked 2015-05-26 17:19:53 -07:00
rht
3547f7ae33 Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
b3e73c62fe Merge pull request #1292 from diasdavid/patch-1
Change one of the "ipfs" to "ipns"
2015-05-26 08:03:06 -07:00
rht
8cad2d2c89 Move 'tour' to core/commands
Side effect: this makes 'tour' accessible through the HTTP API
2015-05-26 21:04:03 +07:00
b2e45da0cc Change one of the "ipfs" to "ipns" 2015-05-26 13:07:54 +01:00
4e71ce3cc7 Merge pull request #1272 from Luzifer/fix/dnslink
Fix: dnslink domain resolving was broken; Add: no caching for those
2015-05-24 18:47:54 +02:00
dacdeb1081 Merge pull request #1285 from ipfs/t0040-stdin-add-tests
t0040: test ipfs add with stdin
2015-05-24 18:24:47 +02:00
ee3092f882 t0040: test ipfs add with stdin
Let's test 'ipfs add' with stdin input too.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-23 21:02:24 +02:00
0d1072a80b Merge pull request #1281 from ipfs/fix/bs-race
fix minor data race in bitswap
2015-05-22 23:30:35 +02:00
c8cb8d9c39 Merge pull request #1278 from ipfs/fix/bs-cmd-offline
make bitswap commands error out properly offline
2015-05-22 22:54:51 +02:00
a3356b0417 fix minor data race in bitswap 2015-05-22 13:39:03 -07:00
10c362823e Merge pull request #1282 from travisperson/bug/panic-on-empty-path
Bug/panic on empty path
2015-05-22 22:29:14 +02:00
2c71c54823 Named error for no components
Update the previous `invalid path` error to match the error returned
from `SplitAbsPath`.
2015-05-22 09:18:49 -07:00
d96246c622 Fixed tests to actually test for the error we are seeking
Cleaned the tests, and actually test for the error.
2015-05-22 08:56:33 -07:00
dcc4da0b37 Replaced old logic to check for valid path
Added the original logic to check for a invalid path and a simple test.
2015-05-22 08:56:33 -07:00
42289d4f21 Daemon panics if no path is given
If no path after `/ipfs/` or `/ipns/` is given, then the daemon will
panic with a slice bounds out of range error. This checks to see if we
have anything after `ipfs` or `ipns`.
2015-05-22 08:56:33 -07:00
988b158dc7 Merge pull request #1276 from ipfs/debug/perm-fail
trying to debug permissions failure
2015-05-22 12:02:07 +02:00
648526d8f0 make bitswap commands error out properly offline 2015-05-21 22:41:44 -07:00
eff73ccce7 error -> notice, bitswap 2015-05-21 21:24:42 -07:00
cc905539ae trying to debug permissions failure 2015-05-21 17:24:38 -07:00
8b94abd199 Merge pull request #1275 from ipfs/fix/resolution
fix offline full path resolution bug
2015-05-21 15:19:05 -07:00
60ac59139c fix offline full path resolution bug 2015-05-21 14:45:30 -07:00
5853eac344 Merge pull request #1218 from ipfs/refactor/bitswap
large refactor of bitswap, implement wantmanager to manage wantlist
2015-05-21 15:47:14 -04:00
ce0d2f46d6 defer tock.Stop() 2015-05-21 03:08:32 -04:00
2f934e8c58 warning -> notice 2015-05-21 03:08:32 -04:00
b71a0aced0 clarify synhronization constructs 2015-05-21 03:08:32 -04:00
c273a3bd4f better bitswap logging 2015-05-21 03:08:32 -04:00
2882c793e2 add a distribution test with the rebroadcast delay disabled 2015-05-21 03:08:32 -04:00
2eac921e1d fixup the bitswap readme 2015-05-21 03:08:32 -04:00
829b88420e explicitly set bitswap message fullness 2015-05-21 03:08:31 -04:00
594c7786c3 turn rebroadcast back on 2015-05-21 03:08:31 -04:00
6ab4bfea95 turn tests down a bit and better context passing 2015-05-21 03:08:31 -04:00
65f815a27b move taskdone inside lock boundaries 2015-05-21 03:08:31 -04:00
32da687774 fix race bugs 2015-05-21 03:08:31 -04:00
6bf33ad62f WIP: super awesome bitswap cleanup fixtime 2015-05-21 03:08:31 -04:00
ef967ceeef contextify peermanager 2015-05-21 03:08:31 -04:00
8443b99c1d update comments and reintroduce test 2015-05-21 03:08:31 -04:00
a159e6825c implement peermanager to control outgoing messages
Also more refactoring of bitswap in general, including some perf
improvements and eventlog removal.

clean up, and buffer channels

move some things around

correctly buffer work messages

more cleanup, and improve test perf

remove unneccessary test

revert changes to bitswap message, they werent necessary
2015-05-21 03:08:30 -04:00
f0276dc39d Merge pull request #1271 from ipfs/fix/shutdown-err
silence error log on shutdown
2015-05-21 02:53:32 -04:00