1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-03 04:37:30 +08:00

3932 Commits

Author SHA1 Message Date
1f5aa5d606 Merge pull request #951 from jbenet/feat/lsHeaders
Feat/ls headers
2015-03-20 16:17:45 -07:00
07008042f1 ipfs ls: added --headers option
- added tests for 'ipfs ls --headers'
- comments from CR (opts)
- sharness: fix ls test whitespace
2015-03-20 15:34:56 -07:00
c0f74b92f9 Merge pull request #946 from kkoroviev/t0060-daemon
t0060-daemon.sh: Add 1 test
2015-03-20 12:25:19 -07:00
d70912fff1 t0060-daemon.sh: Add 1 test 2015-03-19 16:38:22 +02:00
59f2f2fe8d Merge pull request #944 from jbenet/dht-bootstrap-tone-down
dht: tone down dht bootstrap
2015-03-19 04:27:44 -07:00
60b18d3ad1 dht: tone down dht bootstrap
move to a less aggressive period. 5m instead of 20s
2015-03-19 04:02:00 -07:00
415aa2c661 Merge pull request #942 from jbenet/fix/pin-init
fix for weird repo init issue
2015-03-18 22:50:18 -07:00
3bf7d5c27e test for pinning semantics 2015-03-18 22:38:57 -07:00
6bf341302c fix for weird repo init issue 2015-03-18 16:11:47 -07:00
e9ee1a36e6 Merge pull request #941 from jbenet/travis-multi-os
travis: enable osx
2015-03-18 02:25:44 -07:00
5b4f4328fd 3nodetest: dont fail because of logs 2015-03-18 02:11:45 -07:00
76451fd9ed travis: enable osx 2015-03-18 01:44:37 -07:00
8a3db7cbc4 testing: nofuse testing (for osx travis) 2015-03-18 01:44:36 -07:00
06801a0e3a Merge pull request #940 from jbenet/goprocess-bugfix
updated goprocess -- bugfixes
2015-03-18 01:26:02 -07:00
7777a231f0 updated goprocess -- bugfixes 2015-03-18 01:14:41 -07:00
c5fbc6673a Merge pull request #923 from jbenet/ipns/ipnsfs
ipnsfs
2015-03-17 22:12:03 -07:00
7ad8dd8523 ignore bootstrap failures in namesys initialization 2015-03-17 21:57:57 -07:00
d588636ce8 remove 'Open' from ipnsfs 2015-03-17 20:57:21 -07:00
f679127d83 comments! and cleanup 2015-03-17 20:57:21 -07:00
0ee7091cbc code cleanup 2015-03-17 20:57:21 -07:00
0718bd73a7 fix locking 2015-03-17 20:57:21 -07:00
eb228eb615 remove addCloser 2015-03-17 20:57:21 -07:00
dc80116d76 fix locking and race conditions throughout ipnsfs and the pinner 2015-03-17 20:57:21 -07:00
4f76e473d0 a bit of cleanup 2015-03-17 20:57:20 -07:00
9ab59e44ad implement in memory model for ipns filesystem, to be used as backing for ipns fuse interface 2015-03-17 20:57:20 -07:00
1884768b74 Merge pull request #935 from jbenet/fix-webui-test
sharness/t0110-gateway: fix /s fail on osx
2015-03-17 20:41:42 -07:00
2d67531236 Merge pull request #938 from jbenet/refactor/keyspace
Refactor/keyspace
2015-03-17 16:31:22 -07:00
c100b1be04 move keyspace init function into namesys 2015-03-17 16:19:39 -07:00
b036439623 Merge pull request #937 from jbenet/fix/pinning-locks
fix locking in the pinner
2015-03-17 15:39:31 -07:00
8d81a8b8d9 fix locking in the pinner 2015-03-17 14:51:26 -07:00
edbca27019 sharness/t0110-gateway: fix /s fail on osx
the test cases were failing for me on osx. Removing /s fixes them.
It should be fine not to check the /s.
2015-03-17 06:06:00 -07:00
8fa9252fb1 Merge pull request #913 from vitzli/master
add /dev/crypto-notes.md
2015-03-17 05:22:00 -07:00
d20926f4f6 Merge pull request #932 from andyleap/gateway404
Fixes issue #924
2015-03-17 05:21:07 -07:00
bcc8880a67 Merge pull request #931 from jbenet/fix_continueyn
test/bin: fix continueyn on Linux
2015-03-17 04:16:22 -07:00
512171aa98 Fixing test failure(issue with looking for exact text) 2015-03-16 16:27:34 -04:00
89ca37d1d1 Fixes issue #924 2015-03-16 16:08:45 -04:00
6cc0a6b1de test/bin: fix continueyn on Linux
It looks like there were two problems:

- "read" command probably needs the name of the variable
  it reads into

- [[ didn't work

This might be because on Linux /bin/sh is sometimes not
bash. For example on Ubuntu it is a symlink to dash.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-16 20:02:02 +01:00
36e6286560 Merge pull request #929 from jbenet/t0051_fix_indentation
t0051: fix indentation
2015-03-16 01:30:10 -07:00
bd357d934e Merge pull request #925 from jbenet/fsrepo-cleanup
Fsrepo cleanup
2015-03-15 23:41:16 -07:00
ef85f67610 t0051: fix indentation
Fix indentation and use > instead of >> to create
an expected file.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-15 17:00:09 +01:00
03bc2ccb9d Take FSRepo lock way earlier
There is no way this was safe before.

Be careful to unlock on the error paths.
2015-03-13 20:29:02 -07:00
55228dae11 Simplify FSRepo life cycle, it's either open or closed 2015-03-13 20:29:02 -07:00
384ca525b4 Clean up fsrepo path handling 2015-03-13 20:29:02 -07:00
431cf1c902 Remove fsrepo refcounting
No code attempts to open the same repo multiple times.

Error handling is still buggy, but it's starting to get clearer.
2015-03-13 20:28:51 -07:00
543adf91f1 Move fsrepo lockfile from global map to struct field 2015-03-13 20:26:42 -07:00
d5ce5da5fe Remove fsrepo Datastore refcounting
repo.Once now does refcounts on a whole Repo level, returning the same
pointer to multiple Openers. This removes the need for the weird model
of separate FSRepo instances pointing to the same underlying storage,
and the races caused by that.
2015-03-13 20:26:42 -07:00
c8992f2c1b repo.OnlyOne tracks open Repos and reuses them
This will replace the elaborate refcounting in fsrepo, to make it
easier to maintain.
2015-03-13 20:26:22 -07:00
fdd1cd8dc0 Remove fsrepo.At, make Open a constructor function
Nobody calls At without immediately calling Open.

First step, a mechanical transformation. Cleanups will follow.
2015-03-13 20:19:03 -07:00
215fed1051 fsrepo.LockedByOtherProcess no longer checks for local opens
This is only called from `ipfs` command line tool well before it opens
the repo. The behavior change here causes a false positive if the
current process has already opened the repo. That's a bit late to ask
this question, anyway, and is not expected to have ever triggered.
2015-03-13 19:43:06 -07:00
e0bee137e9 fsrepo.Remove no longer checks for concurrently open instances
The only caller is `ipfs init`, which at that time does not hold a
repository open, and refuses to run on existing repos anyway.
2015-03-13 19:43:04 -07:00