- 20 Apr, 2015 1 commit
-
-
Jeromy authored
This commit adds a new set of sharness tests for pinning, and addresses bugs that were pointed out by said tests. test/sharness: added more pinning tests Pinning is currently broken. See issue #1051. This commit introduces a few more pinning tests. These are by no means exhaustive, but definitely surface the present problems going on. I believe these tests are correct, but not sure. Pushing them as failing so that pinning is fixed in this PR. make pinning and merkledag.Get take contexts improve 'add' commands usage of pinning FIXUP: fix 'pin lists look good' ipfs-pin-stat simple script to help check pinning This is a simple shell script to help check pinning. We ought to strive towards making adding commands this easy. The http api is great and powerful, but our setup right now gets in the way. Perhaps we can clean up that area. updated t0081-repo-pinning - fixed a couple bugs with the tests - made it a bit clearer (still a lot going on) - the remaining tests are correct and highlight a problem with pinning. Namely, that recursive pinning is buggy. At least: towards the end of the test, $HASH_DIR4 and $HASH_FILE4 should be pinned indirectly, but they're not. And thus get gc-ed out. There may be other problems too. cc @whyrusleeping fix grep params for context deadline check fix bugs in pin and pin tests check for block local before checking recursive pin
-
- 12 Apr, 2015 1 commit
-
-
Jeromy authored
-
- 07 Apr, 2015 1 commit
-
-
Tor Arne Vestbø authored
-
- 02 Apr, 2015 1 commit
-
-
Juan Batiz-Benet authored
- README.md - install.sh script - LICENSE - trigger in main repo
-
- 31 Mar, 2015 1 commit
-
-
Ho-Sheng Hsiao authored
- Modified Godeps/Godeps.json by hand - [TEST] Updated welcome docs hash to sharness - [TEST] Updated contact doc - [TEST] disabled breaking test (t0080-repo refs local)
-
- 17 Mar, 2015 1 commit
-
-
Jeromy authored
-
- 14 Mar, 2015 1 commit
-
-
Tommi Virtanen authored
Nobody calls At without immediately calling Open. First step, a mechanical transformation. Cleanups will follow.
-
- 12 Mar, 2015 2 commits
-
-
Konstantin Koroviev authored
-
Konstantin Koroviev authored
-
- 09 Mar, 2015 3 commits
-
-
Konstantin Koroviev authored
-
Henry authored
-
Konstantin Koroviev authored
-
- 07 Mar, 2015 2 commits
-
-
anarcat authored
i took @jbenet's suggestion, but reorganised it a bit to *not* suggest what is actually warned against later. :)
-
anarcat authored
this more clearly explains that the daemon is listening on the network. it also hints as to how to change the listening ports. this is also related to #874
-
- 04 Mar, 2015 2 commits
-
-
Juan Batiz-Benet authored
-
Henry authored
-
- 25 Feb, 2015 1 commit
-
-
Henry authored
- updated go-ctxgroup and goprocess ctxgroup: AddChildGroup was changed to AddChild. Used in two files: - p2p/net/mock/mock_net.go - routing/dht/dht.go - updated context from hg repo to git prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative) represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c) Aaron Jacobs (2): net/context: Don't accept a context in the DoSomethingSlow example. context: Be clear that users must cancel the result of WithCancel. Andrew Gerrand (1): go.net: use golang.org/x/... import paths Bryan C. Mills (1): net/context: Don't leak goroutines in Done example. Damien Neil (1): context: fix removal of cancelled timer contexts from parent David Symonds (2): context: Fix WithValue example code. net: add import comments. Sameer Ajmani (1): context: fix TestAllocs to account for ints in interfaces
-
- 20 Feb, 2015 1 commit
-
-
Jeromy authored
-
- 15 Feb, 2015 3 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 14 Feb, 2015 2 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 11 Feb, 2015 1 commit
-
-
Jeromy authored
-
- 10 Feb, 2015 1 commit
-
-
Jeromy authored
-
- 08 Feb, 2015 1 commit
-
-
Kevin Wallace authored
This allows someone to host a static site by pointing a TXT record at their content in IPFS, and a CNAME record at an IPFS gateway. Note that such a setup technically violates RFC1912 (section 2.4; "A CNAME record is not allowed to coexist with any other data."), but tends to work in practice. We may want to consider changing the DNS->IPFS resolution scheme to allow this scenario to be RFC-compliant (e.g. store the mapping on a well-known subdomain to allow CNAME records on the domain itself). License: MIT Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
-
- 06 Feb, 2015 3 commits
-
-
Brian Tiger Chow authored
exposed the Decider to make configuration nicer @mappum
-
Brian Tiger Chow authored
-
Juan Batiz-Benet authored
Otherwise we break users links! cc @mappum
-
- 05 Feb, 2015 1 commit
-
-
Matt Bell authored
-
- 03 Feb, 2015 1 commit
-
-
Juan Batiz-Benet authored
Let's save log.Error for things the user can take action on. Moved all our diagnostics to log.Debug. We can ideally reduce them even further.
-
- 02 Feb, 2015 7 commits
-
-
Brian Tiger Chow authored
@jbenet @whyrusleeping thoughts?
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
fix(cmd/daemon) set node on req context since it expects daemon to be present when handling commands over the API @jbenet revenge of the request context redux
-
Brian Tiger Chow authored
fix FIXUP repo -> config
-
Brian Tiger Chow authored
-
- 01 Feb, 2015 2 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
- core: daemon stdout print to cmd + daemon init checks - core: fixed bug where the gateway was printed as "API" - sharness/test-lib: daemon init checks - sharness/test-lib: portable TCP port check - sharness/init: fix test bits output - sharness: use common hashes in one place. - move t0100-http-gateway -> t0111-gateway-writable - sharness: test-lib funcs for gateway config - sharness/t0111-gateway-writable: use sh funcs - sharness/t0111-gateway-writable: fixes - escape all vars (always `cmd "$VAR"` never `cmd $VAR`) - use $FILEPATH, not $path - last test seems to fail
-