Commit Graph

1346 Commits

Author SHA1 Message Date
Richard Littauer
ae235caaec Added a period to repo fsck
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-28 17:07:46 -04:00
Jeromy
cffec77cea update libp2p with utp dep
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-27 14:10:54 -07:00
michael
46bcdce15d commands: repo fsck (#2597)
* Adds repo fsck subcommand

Fixes #2457

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks for error on file deletion

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks if node is online

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Update error checking

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Prevents command from running while daemon is running

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Add newline to command output message

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing superfluous error

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Adds sharness test for repo fsck command

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Ignore warning if file doesn't exist

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Updating message output

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* adding debug statements

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* update and add fsck sharness tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating comments

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Use printf in test

Using printf prevents a newline from being printed to the api test file. When
the newline was present, multiaddr threw errors  trying to parse the api address
to an integer since the newline character was present.

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing commented code

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-04-27 13:28:53 -07:00
Stephen Whitmore
5d25fc1f16 unix-friendly output for 'ipfs dht' commands (#2560)
* Cleans up 'ipfs dht findpeer' output

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Adds more docs for 'ipfs dht put'.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Write pretty peer ids for ipfs dht put.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Writes pretty peer ids for ipfs dht query.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Suppresses unrecognized event type for FinalPeer.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Improves helptext on dht commands.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Adds 'ipfs dht findpeer' sharness test.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Adds sharness tests for remaining DHT commands.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Uses bash tests rather than 'test' command.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Removes commented code.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Removes unneeded init_ipfs.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Tweaks iptb setup.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Tweaks wording on dht 'put' and 'get'.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Removes extraneous ).

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Removes apostrophe.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Tests the expected peer addresses.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Gets peer id using iptb.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Checks explicitly for common put/findprovs peers.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Sorts expected/actual findpeer results.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>

* Fix disconnect argument description

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>

* Fixes sort order in t0170-dht.sh.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-27 09:31:06 -07:00
Jeromy Johnson
8350a94544 Merge pull request #2519 from thomas-gardner/commands
commands/cli: fix parsing of incorrect permutations
2016-04-26 17:20:56 -07:00
Jeromy Johnson
7fe81dbef0 Merge pull request #2606 from ipfs/feature/diag-cmds-grammar
Fixed up comments for `diag cmds`
2016-04-26 17:20:49 -07:00
Jeromy Johnson
1676d0ca52 Merge pull request #2582 from ipfs/feature/refs-defaults
Added default values to refs
2016-04-26 17:11:11 -07:00
Richard Littauer
53c05ffd74 Added default values to refs
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-26 19:34:36 -04:00
Richard Littauer
4b4c81a37d Fixed up comments for diag cmds
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-26 19:31:42 -04:00
Richard Littauer
f99f2ba583 Fix disconnect argument description
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-20 13:23:17 -04:00
Jeromy Johnson
c87b92c7b7 Merge pull request #2591 from ipfs/fix/null-object-links
add omitempty to Object struct tags
2016-04-19 16:39:10 -07:00
Jeromy Johnson
d4622c4404 Merge pull request #2592 from ipfs/fix/object-diff-resolve
fix resolve call in object diff
2016-04-19 16:39:03 -07:00
Jeromy Johnson
b3690ead2a Merge pull request #2585 from ipfs/feature/repo-stat-comments
Small syntax changes to repo stat man
2016-04-19 16:14:06 -07:00
Jeromy Johnson
16b63e920a Merge pull request #2586 from ipfs/feature/interval-note
Added note to ipfs stats bw interval option
2016-04-19 16:13:46 -07:00
Jeromy Johnson
3e536fbc23 Merge pull request #2588 from ipfs/feature/swarm-disconnect-note
Added a note about swarm disconnect
2016-04-19 16:13:27 -07:00
Jeromy Johnson
42062a721f Merge pull request #2587 from ipfs/feature/alphabetize-swarm
Alphabetized swarm subcmds
2016-04-19 16:12:57 -07:00
Jeromy
6d90fe35ca fix resolve call in object diff
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-19 16:08:06 -07:00
Jeromy
d8f8b0976f add omitempty to Object struct tags
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-19 12:48:05 -07:00
Richard Littauer
3f3665e05d Added a note about swarm disconnect
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-19 12:27:03 -04:00
Richard Littauer
34971a3e11 Also fixed syntax for comment
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-19 12:19:45 -04:00
Richard Littauer
ab4b280430 Alphabetized swarm subcmds
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-19 12:17:33 -04:00
Richard Littauer
0424d6ab64 Added note to ipfs stats bw interval option
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-19 12:05:07 -04:00
Richard Littauer
cd20618458 Small syntax changes to repo stat man
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-19 11:40:50 -04:00
wzhd
d528b9d58b Fix a typo
License: MIT
Signed-off-by: Zihao Wang <dev@wzhd.org>
2016-04-19 18:14:36 +08:00
Jeromy Johnson
8ab1b8b2cb Merge pull request #2576 from ipfs/update-libp2p
Update go-libp2p
2016-04-18 15:31:10 -07:00
Jeromy Johnson
2509631c29 Merge pull request #2531 from noffle/output-dirs-on-add
Outputs added directories as they are traversed.
2016-04-18 13:29:44 -07:00
Jeromy Johnson
a8b7c9adec Merge pull request #2562 from ipfs/feat/object-diff
implement object diff command
2016-04-18 12:53:48 -07:00
Jeromy Johnson
8e368ba71b Merge pull request #2572 from pfista/2551-log-level
commands: update log command help text
2016-04-18 09:43:10 -07:00
Jeromy
fa8de1bfd5 minor correction in help text
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-18 08:41:54 -07:00
Lars Gierth
00ec976e1d Use extracted go-libp2p-crypto, -secio, -peer packages
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-16 21:48:06 -07:00
Lars Gierth
907f4fadbd Update go-libp2p
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-16 21:23:47 -07:00
Jeromy
7e7fcb35ea changes from CR feedback
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-16 12:23:34 -07:00
Jeromy
7ac1f5da5c remove incfusever dead-code
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-04-16 00:02:45 -07:00
Michael Pfister
9c2feb2e04 commands: update log command help text
Fixes #2551

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
2016-04-15 16:09:29 -07:00
Jeromy
73a2f80c76 Add some help text
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-14 13:13:54 -07:00
Jeromy
bf7da8522c basic implementation of object diff
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-14 13:06:51 -07:00
Jeromy Johnson
44f126bf59 Merge pull request #2557 from ipfs/feat/i-am-why-deleter-of-code
remove a ton of unused godeps
2016-04-13 13:21:31 -07:00
Jeromy
e79e1d31e9 remove a ton of unused godeps
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-04-13 11:23:10 -07:00
Jakub Sztandera
e8a49d94a6 Make non recursive resolve print the result
Currently it prints out error message but should just print
the intermediate result as it is what we expect.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-04-13 19:49:48 +02:00
Jeromy Johnson
c11118fb07 Merge pull request #2481 from ipfs/feature/add-wrap-long-desc
Added a long description to add
2016-04-12 18:10:43 -07:00
Jeromy Johnson
e99066a1a2 Merge pull request #2475 from ipfs/feature/object-patch-set-data-docs
Edited object patch set-data doc
2016-04-12 18:09:48 -07:00
Richard Littauer
a94f9dab6d Added a long description to add
This explains mostly what the wrap option does, because it was not entirely clear

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-12 17:25:08 -07:00
Richard Littauer
568e5087e1 Edited object patch set-data doc
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-12 16:12:38 -07:00
Stephen Whitmore
e61e685833 redundency-be-gone
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 13:32:16 -07:00
Stephen Whitmore
7e88f83f74 Revert "mfs.Mkdir returns the final Directory it creates"
This reverts commit dfd98f27b2.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 13:30:09 -07:00
Stephen Whitmore
8fcb585cfb Removes write flag from Finalize
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 13:03:11 -07:00
Stephen Whitmore
6588bbc988 More thorough error checking.
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 13:03:11 -07:00
Stephen Whitmore
6b0ff2bd78 Output dirs on ipfs add -rn
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 13:03:11 -07:00
Stephen Whitmore
dfd98f27b2 mfs.Mkdir returns the final Directory it creates
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-12 13:03:11 -07:00
Jeromy Johnson
8d7117f55a Merge pull request #2549 from ipfs/datastore-config
repo: properly init Datastore config, and leave it be
2016-04-12 10:41:20 -07:00