- 19 Jun, 2015 2 commits
-
-
W. Trevor King authored
Instead of raising "keychains not yet implemented" whenever we have an explicit node ID, only raise the error when the given node ID isn't the local node. This allows folks to use the more-general explicit-node-ID form in scripts and such now, as long as they use the local node name when calling those scripts. Also add a test for this case, and update the comment for the one-argument case to match the current syntax for extracting a multihash name string. License: MIT Signed-off-by: W. Trevor King <wking@tremily.us>
-
W. Trevor King authored
ipfs-shell [1] accesses the Command objects directly to construct requests for an external IPFS daemon API. This isn't a terribly robust approach, because it doesn't handle version differences between the version of go-ipfs used to build the daemon and the version used to build the ipfs-shell-consuming application. But for cases where you can get those APIs to match it works well. Making these two commands public allows us to write ipfs-shell wrappers for them. Until we figure out how to get ipfs-shell working without access to core/commands, I think the best approach is to make future command objects and their returned structures public, and to go back and expose existing commands/structures on an as-needed basis. In this case, I need the public PublishCmd for the Docker-registry storage driver, and I made the IpnsCmd public at the same time to stay consistent for both 'ipfs name ...' sub-commands. [1]: https://github.com/whyrusleeping/ipfs-shell License: MIT Signed-off-by: W. Trevor King <wking@tremily.us>
-
- 18 Jun, 2015 7 commits
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
-
Juan Batiz-Benet authored
There has been a regression such that ./t0030-mount.sh fails on 'ipfs mount' fails when there is no mount dir The issue was a change in how fuse errors are reported to the client process. We have introduced an optimistic categorization that hides the obscure fusermount error and replaces it with something a bit more helpful. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
-
rht authored
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
rht authored
And substitute the lines using Notice{,f} with Info{,f} License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
rht authored
Except when there is an explicit os.Exit(1) after the Critical line, then replace with Fatal{,f}. golang's log and logrus already call os.Exit(1) by default with Fatal. License: MIT Signed-off-by: rht <rhtbot@gmail.com>
-
- 16 Jun, 2015 1 commit
-
-
Dylan Powers authored
License: MIT Signed-off-by: Dylan Powers <dylan.kyle.powers@gmail.com>
-
- 09 Jun, 2015 1 commit
-
-
W. Trevor King authored
Since 607468a9 (beautify 'ipfs ls' and 'ipfs object links', #833) we've had these. That pull request was about text/tabwriter [1] and elastic tabstops [2], but we don't need a column separator at the end of each line. [1]: https://golang.org/pkg/text/tabwriter/ [2]: http://nickgravgaard.com/elastic-tabstops/index.html Licence: MIT Signed-off-by: W. Trevor King <wking@tremily.us>
-
- 08 Jun, 2015 2 commits
- 03 Jun, 2015 4 commits
-
-
Jeromy authored
-
Jeromy authored
WIP: object creator command better docs move patch command into object namespace dont ignore cancel funcs addressing comment from CR add two new subcommands to object patch and clean up main Run func cancel contexts in early returns switch to util.Key
-
rht authored
-
rht authored
-
- 02 Jun, 2015 1 commit
-
-
Travis Person authored
Change help text to display proper results from an `ipfs name resolve`.
-
- 01 Jun, 2015 2 commits
-
-
Jeromy authored
-
Juan Batiz-Benet authored
-
- 31 May, 2015 2 commits
- 28 May, 2015 2 commits
- 26 May, 2015 3 commits
-
-
rht authored
-
rht authored
Side effect: this makes 'tour' accessible through the HTTP API
-
David Dias authored
-
- 22 May, 2015 5 commits
-
-
Travis Person authored
Update the previous `invalid path` error to match the error returned from `SplitAbsPath`.
-
Travis Person authored
Cleaned the tests, and actually test for the error.
-
Travis Person authored
Added the original logic to check for a invalid path and a simple test.
-
Travis Person authored
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`.
-
Jeromy authored
-
- 21 May, 2015 4 commits
-
-
Jeromy authored
-
Knut Ahlers authored
-
Knut Ahlers authored
fixes #1234 fixes #1267
-
Jeromy authored
-
- 20 May, 2015 4 commits
-
-
Knut Ahlers authored
fixes #1233
-
Jeromy authored
-
W. Trevor King authored
So we can attach a mock lookup function for testing.
-
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>
-