1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-03 12:16:18 +08:00

153 Commits

Author SHA1 Message Date
dfe7ef4fcf gx: update go-multihash
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -08:00
8e5fbe9aa1 update go-ipfs-cmds to 0.4.11
to include @frist's uuid logging

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-22 19:06:00 +01:00
76e1da02a8 gx: massive update
Note: This commit is technically broken. However, I need to make a bunch of
cmds changes to make this work and I'd rather not bundle both changes into a
single commit.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:27 -08:00
57f544a79c remove all instances of Default(false)
Boolean options always default to false.

License: MIT
Signed-off-by: Lorenzo Manacorda <lorenzo@mailbox.org>
2017-11-20 16:10:15 +01:00
d95a87cf57 update to go-ipfs-cmds 0.4.9
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01:00
0d9d21875c compatible to js-ipfs-api
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01:00
f287524949 cmd: use go-ipfs-cmds
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00
d6534291ce Merge pull request #4121 from devedge/doc/help/wrap-desc
wrap-desc: Wrap help descriptions under 80 chars
2017-10-31 15:35:37 -05:00
07d2b645d8 wrap-desc: Wrap help descriptions under 80 chars
Wraps the description sections under 80 characters.
Updated commit to adhere to requested changes.

License: MIT
Signed-off-by: Richard Pajerski II <devedge@outlook.com>
2017-09-13 01:37:21 -04:00
94b832df86 Merge pull request #4133 from ipfs/feat/improve-dag-api
Improve dag API
2017-08-16 15:22:23 -07:00
5da8368a42 dag: dag resolve subcommand
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 20:58:29 +02:00
bc75d3b88a Removed tour command and fix test
License: MIT
Signed-off-by: Sherod Taylor <sherodtaylor@gmail.com>
2017-08-09 10:14:57 -04:00
bec54c2540 Rename PTP to P2P
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-19 21:30:58 +02:00
104268f1b6 PTP API: Make code more object oriented, use less node
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-04 03:08:39 +02:00
ad9ae350bf PTP API: Rename Corenet to PTP
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-03 21:46:16 +02:00
e66e8bbe96 Corenet API: Review fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-01 20:11:46 +02:00
71bda3d988 Corenet API: Drop 'exp' namespace
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
a55255fbca Corenet API: Fixed tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
2f17a67c5a Experimental corenet application support.
License: MIT
Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>
2017-05-31 11:33:17 +02:00
adb555c3eb Implement ipfs shutdown command
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-17 21:27:47 -07:00
4bf43047d8 filestore util: basic filestore commands.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
0e68ffaaf0 commands: improve name and key helptexts
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-21 03:42:53 +01:00
a068220fc6 add a note about ipfs key in the main helptext
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-09 09:28:39 -08:00
bb85dd9815 dag get should be a read only command
added CmdDagGet to the read only command set.

tried to add a test, but dag get needs tests in general

License: MIT
Signed-off-by: Juan Batiz-Benet
2016-12-14 10:45:54 -08:00
805b504043 basic keystore implementation
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-05 23:18:48 -08:00
decad63123 Add dag and stat
License: MIT
Signed-off-by: slothbag <slothbag>
2016-11-25 13:33:51 +11:00
c28c2224c4 Fix typo
Brought up bt tmg on irc

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-11-17 04:55:47 -05:00
437cc7fa78 Merge pull request #2911 from ipfs/feature/ifps-capitalize
docs: decapitalize IPFS where possible
2016-11-02 13:20:51 -07:00
c408878454 Merge pull request #2915 from ipfs/feature/2293-error-codes
Added note about error codes
2016-11-02 13:20:20 -07:00
9843e86258 Changed so only explicit ipfs cli commands are lowercased
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
9aaa743a51 docs: decapitalize IPFS where possible
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:54:36 -07:00
6b797f10a4 Implement cbor ipld nodes and a first pass at the 'dag' command
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 12:07:28 -07:00
009301bf7f hide pubsub behind feature flag
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:25:10 -07:00
4b096c4bba floodsub: add api for pub/sub
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:23:45 -07:00
67a822c3b2 Added note about exit status codes
How does this look? See #2293

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-09-01 11:21:51 -04:00
05b197df2d update deps for libp2p 3.4.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-25 19:02:55 -07:00
adf405210d Remove existing synopsis
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
ce8c8a7a71 Update go-log in whole dependency tree (#2898)
* Update golog in go-ipfs

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-secio for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-crypto for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p-peer for go-log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Import peersore, it wasn't imported

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peerstore

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update peer

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update secio

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

* Update go-libp2p

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-24 09:38:07 -07:00
eaccd07505 Update go-log
https://github.com/ipfs/go-log/pull/3

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-09 23:37:09 +02:00
7f61b3170f Add logic for copying ShortDes to LongDesc if it is not present
This is the best place for inserting it that I found.

Test in #2648 should be modified to run `Root.ProcessHelp()`.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-14 13:23:35 +02:00
b01c3f5039 Also added to Root
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 12:08:40 -04:00
57b494a70c Update go-log to 1.1.0 and fix calls to go-log.Uuid
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2016-05-04 23:17:21 +02:00
0a45ada4ed CLI: discoverability and consistency (#2542)
* reduces help indent from 4 to 2 spaces

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

* reduces horz/vert space taken by "ipfs" cmd

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

* show subcommands on shorthelp

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

* Drops colons at the end of cmd headings.

This makes command headings consistent with the output of 'ipfs', which
does not include colons.

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

* more consistent output between short-/long-help

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

* Puts DESCRIPTION before SUBCOMMANDS.

Users likely want to understand what a command does before worrying
about its subcommands.

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

* Keeps ipfs cmd from outputting its subcmds twice.

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

* Removes redundant synopsis from "file"

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

* Removes extra whitespace from longhelp

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

* Consistent spacing whether SUBCMDS or not.

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

* Removes redundant SUBCMD output from ipfs object.

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

* Removes redundant synopsis from "name"

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

* Newline after Description only if it exists.

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

* Removes redundant synopsis from "bootstrap"

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

* Removes redundant synopsis from "swarm"

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

* Removes trailing newline in ping help.

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

* Prints shorthelp on parse error.

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

* tiny comment fixes

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

* updates README usage

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

* Don't include extra whitespace if no .MoreHelp

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

* description improvements

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

* Hides the obscure 'file' subcommand.

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

* Splits 'ipfs daemon' into Short and Long help.

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

* Removes redundant synopsis from "config"

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

* Wraps lines to keep from going over 80.

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

* specify repo separately

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

* s/structure/hierarchy

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

* missing .

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

* Removes trailing colon from 'usage' test.

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

* Updates sharness test error messages.

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

* Removes trailing colon from 'usage' test.

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

* Updates add-symlink to use /bin/sh.

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

* Removes "hierarchy".

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

* Updates "ipfs ping" synopsis.

* Updates t0040 with latest wording.

* Removes unnecessary daemon setup.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-28 14:08:32 -07:00
8350a94544 Merge pull request #2519 from thomas-gardner/commands
commands/cli: fix parsing of incorrect permutations
2016-04-26 17:20:56 -07:00
c89723d316 Adds files api cmd to helptext
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-04-08 12:33:00 -07:00
3e824412d9 commands/cli: fix parsing of incorrect permutations
parseOpts now does some preliminary path screening to prevent
command sequences like

	`ipfs <hash> cat`

from succeeding. The tests affected by this have been slightly altered,
but should be restored once parseOpts is decoupled from path analysis.

Command suggestion printing has also been factored into a single
function.

Fixes: #2501
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-04-05 21:53:21 +10:00
ac42bb7932 Capitalized DHT
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-18 17:39:26 -05:00
392c00696c Merge pull request #2291 from Kubuxu/feat/#2287
Add dns and resolve commands to ROAPI
2016-02-12 14:08:49 -08:00
ac37d23662 Add dns and resolve commands to ROApi
Resolves #2287

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-02-04 09:14:19 +01:00
0e8a6700f9 correct go-log dep
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-30 09:34:10 -08:00