- 16 Jun, 2015 1 commit
-
-
Dylan Powers authored
License: MIT Signed-off-by: Dylan Powers <dylan.kyle.powers@gmail.com>
-
- 28 May, 2015 1 commit
-
-
Jeromy authored
-
- 18 May, 2015 1 commit
-
-
Jeromy authored
-
- 23 Apr, 2015 1 commit
-
-
W. Trevor King authored
The change to an array of readers comes from e096060b (refactor(core/commands2/add) split loop, 2014-11-06), where it's used to setup readers for each path in the argument list. However, since 6faeee83 (cmds2/add: temp fix for -r. horrible hack, 2014-11-11) the argument looping moved outside of add() and into Run(), so we can drop the multiple-reader support from add(). Adding a file can create multiple nodes (e.g. the splitter can chunk the file into several blocks), but: 1. we were only appending a single node per reader to our returned list, and 2. we are only using the final node in that returned list, so this commit also adjusts add() to return a single node reference instead on an array of nodes.
-
- 20 Apr, 2015 4 commits
-
-
Jeromy authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
We now consider debugerrors harmful: we've run into cases where debugerror.Wrap() hid valuable error information (err == io.EOF?). I've removed them from the main code, but left them in some tests. Go errors are lacking, but unfortunately, this isn't the solution. It is possible that debugerros.New or debugerrors.Errorf should remain still (i.e. only remove debugerrors.Wrap) but we don't use these errors often enough to keep.
-
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
-
-
Juan Batiz-Benet authored
-
- 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)
-
- 19 Feb, 2015 1 commit
-
-
Jeromy authored
-
- 10 Feb, 2015 1 commit
-
-
Jeromy authored
-
- 02 Feb, 2015 1 commit
-
-
Matt Bell authored
-
- 24 Jan, 2015 7 commits
- 21 Jan, 2015 2 commits
- 14 Jan, 2015 2 commits
- 06 Jan, 2015 5 commits
-
-
Matt Bell authored
core/commands: Don't use pointers for Type field
-
Matt Bell authored
-
Matt Bell authored
core/commands: Refactored command marshalers
-
Juan Batiz-Benet authored
I made the commands lib dir listing sort the contents so we get the same sequence of files from it repeatably.
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 06 Dec, 2014 1 commit
-
-
Brian Tiger Chow authored
+ style: sort command list License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
- 30 Nov, 2014 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 19 Nov, 2014 1 commit
-
-
Matt Bell authored
-
- 18 Nov, 2014 5 commits
-
-
Juan Batiz-Benet authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
- 14 Nov, 2014 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Also: - map[cmds.EncodingType]cmds.Marshaller -> MarshalMap cc @mappum @maybebtc
-