- 25 6月, 2015 3 次提交
-
-
add test for only-hash to ensure no blocks are added to datastore
由 Juan Batiz-Benet 提交于 -
Add 'ipfs file ls …'
由 Jeromy Johnson 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于
-
- 24 6月, 2015 2 次提交
-
-
add option to only hash input
由 Juan Batiz-Benet 提交于 -
add in basic address dial filtering
由 Juan Batiz-Benet 提交于
-
- 23 6月, 2015 5 次提交
-
-
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
- add extra check to dialblock test - move filter to separate package - also improved tests - sunk filters down into p2p/net/conn/listener License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> Signed-off-by:
Juan Batiz-Benet <juan@benet.ai>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
ipns_test: fix slice bounds out of range
由 Juan Batiz-Benet 提交于
-
- 22 6月, 2015 2 次提交
-
-
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Christian Couder <chriscool@tuxfamily.org>
由 Christian Couder 提交于
-
- 20 6月, 2015 15 次提交
-
-
Instead of abusing a LsLink for non-directory objects [1]. [1]: https://github.com/ipfs/go-ipfs/pull/1348#discussion_r32680669 License: MIT Signed-off-by:
W. Trevor King <wking@tremily.us>
由 W. Trevor King 提交于 -
We don't want to prefix these results with the argument. If there was only one argument, the unprefixed results are still explicit. License: MIT Signed-off-by:W. Trevor King <wking@tremily.us>
由 W. Trevor King 提交于 -
Discussion with Juan on IRC ([1] through [2]) lead to this adjusted JSON output. Benefits over the old output include: * deduplication (we only check the children of a given Merkle node once, even if multiple arguments resolve to that hash) * alphabetized output (like POSIX's ls). As a side-effect of this change, I'm also matching GNU Coreutils' ls output (maybe in POSIX?) by printing an alphabetized list of non-directories (one per line) first, with alphabetized directory lists afterwards. [1]: https://botbot.me/freenode/ipfs/2015-06-12/?msg=41725570&page=5 [2]: https://botbot.me/freenode/ipfs/2015-06-12/?msg=41726547&page=5 License: MIT Signed-off-by:
W. Trevor King <wking@tremily.us>
由 W. Trevor King 提交于 -
Discussing this on IRC ([1] through [2]), Jeromy and I decided that we'd really like a way to configure per-command [3] and per-action timeouts, but until we have that we want to leave the minute limit here. We also decided that the use of TODO here instead of the per-command req.Context().Context was a bug, which I'm fixing with this commit. [1]: https://botbot.me/freenode/ipfs/2015-06-12/?msg=41714126&page=4 [2]: https://botbot.me/freenode/ipfs/2015-06-12/?msg=41715618&page=4 [3]: https://github.com/ipfs/go-ipfs/issues/1325 License: MIT Signed-off-by:
W. Trevor King <wking@tremily.us>
由 W. Trevor King 提交于 -
This doesn't affect the text output, which was already using a stringified name. The earlier stringification does change the JSON output from an enumeration integer (e.g. 2) to the string form (e.g. "File"). If/when we transition to Merkle-object types named by their hash, we will probably want to revisit this and pass both the type hash and human-readable-but-collision-prone name on to clients. License: MIT Signed-off-by:W. Trevor King <wking@tremily.us>
由 W. Trevor King 提交于 -
Change the approach to the directory-header control so we can set the Argument value in the JSON response. Stripping the trailing newline from the JSON output is annoying, but looking over [1] I saw no easy way to add a newline to the JSON output. And with the general framework that commands/ attempts to be, it feels a bit funny to customize the JSON output for a command-line program. Perhaps a workable solution is to have the command-line client append newlines to any output that otherwise lacks them? But that seems like a change best left to a separate series. [1]: http://golang.org/pkg/encoding/json/ License: MIT Signed-off-by:
W. Trevor King <wking@tremily.us>
由 W. Trevor King 提交于 -
"object" added to the descriptions of object patch and object data
由 Juan Batiz-Benet 提交于 -
close channels and allow daemon to shutdown
由 Juan Batiz-Benet 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
allow patch add-link to add at a path
由 Jeromy Johnson 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
Object put examples in help text
由 Juan Batiz-Benet 提交于 -
core/commands/publish: Allow explicit local node ID
由 Juan Batiz-Benet 提交于 -
core/commands: Make IpnsCmd and PublishCmd public
由 Juan Batiz-Benet 提交于 -
License: MIT Signed-off-by:Dylan Powers <dylan.kyle.powers@gmail.com>
由 Dylan Powers 提交于
-
- 19 6月, 2015 7 次提交
-
-
License: MIT Signed-off-by:Dylan Powers <dylan.kyle.powers@gmail.com>
由 Dylan Powers 提交于 -
update go-multiaddr-net with a nil check
由 Juan Batiz-Benet 提交于 -
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 提交于 -
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>
由 W. Trevor King 提交于 -
License: MIT Signed-off-by:Juan Batiz-Benet <juan@benet.ai>
由 Juan Batiz-Benet 提交于 -
License: MIT Signed-off-by:Juan Batiz-Benet <juan@benet.ai>
由 Juan Batiz-Benet 提交于 -
works around off nil conn failure: - https://travis-ci.org/ipfs/go-ipfs/jobs/67385491 License: MIT Signed-off-by:
Juan Batiz-Benet <juan@benet.ai>
由 Juan Batiz-Benet 提交于
-
- 18 6月, 2015 6 次提交
-
-
move eventlogs to an http endpoint
由 Juan Batiz-Benet 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于
-