- 22 May, 2015 1 commit
-
-
Jeromy authored
-
- 21 May, 2015 1 commit
-
-
Jeromy authored
-
- 20 May, 2015 2 commits
-
-
Jeromy authored
-
W. Trevor King authored
Previously we had a confusing situation, with: * single-arg doc: published name <name> to <value> * double-arg doc: published name <value> to <name> * implementation: Published name <name> to <value> Now we have the uniform: Published to <name>: <value> With the following goals: 1. It's clear that we're writing <value> to <name>'s IPNS slot in the DHT. 2. We preserve the order of arguments from the command-line invocation: $ ipfs name publish <name> <value> Published to <name>: <value>
-
- 19 May, 2015 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
- 18 May, 2015 1 commit
-
-
rht authored
-
- 10 May, 2015 2 commits
-
-
Juan Batiz-Benet authored
This may take care of the daemon clashing on travis.
-
Juan Batiz-Benet authored
This commit allows arbitrary json input to set. It also tests this with sharness.
-
- 08 May, 2015 1 commit
-
-
Henry authored
commands/object: remove objectData() and objectLinks() helpers resolver: added context parameters sharness: $HASH carried the \r from the http protocol with sharness: write curl output to individual files http gw: break PUT handler until PR#1191
-
- 06 May, 2015 1 commit
-
-
Jeromy Johnson authored
update hash for bigfile
-
- 05 May, 2015 1 commit
-
-
Jeromy authored
update iptb dependency again, and pick different ports for each iptb cluster try and fix godeps crap
-
- 28 Apr, 2015 2 commits
-
-
Vitor Baptista authored
If you want to get only the hashes (i.e. the previous behaviour), you can use the `--quiet` flag.
-
Henry authored
I want to follow this up with a thorough execution of my x/tool/cmd/eg experiments (https://github.com/ipfs/go-ipfs/compare/errRampage)
-
- 27 Apr, 2015 4 commits
-
-
Etienne Laurin authored
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
Also changed the ipns dns resolution to use the "dnslink" format
-
- 26 Apr, 2015 2 commits
-
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
- 23 Apr, 2015 1 commit
-
-
Jeromy authored
rename directory and update vendored dep cleanup
-
- 21 Apr, 2015 8 commits
-
-
Christian Couder authored
As test directories contain a space, we need to properly quote paths, otherwise we get errors like: ``` umount: /home/christian/gocode/src/github.com/ipfs/go-ipfs/test/sharness/trash is not mounted (according to mtab) umount: /home/christian/gocode/src/github.com/ipfs/go-ipfs/test/sharness/trash is not mounted (according to mtab) ``` instead of: ``` umount: /home/christian/gocode/src/github.com/ipfs/go-ipfs/test/sharness/trash directory.t0030-mount.sh/ipfs is not mounted (according to mtab) umount: /home/christian/gocode/src/github.com/ipfs/go-ipfs/test/sharness/trash directory.t0030-mount.sh/ipns is not mounted (according to mtab) ``` License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
As the ipfs mount call is now encapsulated in a temporary function (see previous commit) its output should not be tempered with by test_must_fail. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
As described in issue #1109 on OSX some output from test_must_fail unfortunately goes into the "output" file that we use to test the output from "ipfs mount". This patch avoids the above by encapsulating the call to "ipfs mount" into a temporary function. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Juan Batiz-Benet authored
sharness should only send the kill signal once, as that is what a graceful shutdown should do. in the event that doesn't happen, we should send it again, and then kill -9 to prevent it lingering and messing with other tests.
-
Juan Batiz-Benet authored
The test_must_fail check fails on osx. (it does not seem to fail on linux). See #1109
-
Travis Person authored
-
Travis Person authored
At this point I think this test should be moved out of this file
-
Travis Person authored
This test to make sure we can't run `ipfs init` while a daemon is currently running.
-
- 20 Apr, 2015 3 commits
-
-
Christian Couder authored
This changes .go-ipfs to .ipfs everywhere. And by the way this defines a DefaultPathName const for this name. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Jeromy authored
-
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
-
-
Etienne Laurin authored
-
- 07 Apr, 2015 4 commits
-
-
Tor Arne Vestbø authored
GNU Make's wildcard function does not recurse into subdirectories when passed the '**' glob, which results in adding a dependency only to .go files in the first level of subdirectories under the source root. We shell out to 'find' instead, which catches all .go files in the given directory.
-
Tor Arne Vestbø authored
Running make -jN would result in the tests starting to execute before the tests binaries were built, resulting in the error: "Cannot find the tests' local ipfs tool" Each test now depends on the deps. They also depend on a new target for cleaning the test results, so that the tests can write new clean results. The aggregate target also needs to depend on the same test results clean target, as well as the tests themselves, so that the aggregation happens when all tests have finished running. By introducing a separate target for cleaning test results we also ensure that we don't end up removing and rebuilding the binary on each test run. The result is that the tests *can* be run with with -jN > 1, but individual tests may still not supports this, so to get stable test results it's still recommended to run them in sequence.
-
Tor Arne Vestbø authored
If the file doesn't exist, make will conclude that the missing prerequisite should trigger a rebuild of the binaries.
-
Jeromy authored
-
- 06 Apr, 2015 4 commits
-
-
Jeromy authored
-
Christian Couder authored
The GOFLAGS variable makes it possible to run all sharness tests with go binaries built with some special flags. The "race" target makes it easy run the sharness tests with go binaries built with the -race flag. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
...and remove bin/* stuff from the .gitignore as /test/bin is already in the root .gitignore. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
This builds go binaries using the -race flag and then runs all the tests. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-