1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-15 07:58:15 +08:00

71 Commits

Author SHA1 Message Date
8c00a74190 Merge pull request #4846 from ipfs/feat/profile-help
Fix missing profile docs
2018-04-08 09:42:08 +09:00
2ee5cfb90f fix error style
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
57d6a7c2db Fix missing profile docs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-26 19:16:57 +02:00
267c19ab9d some fixes for latest from go-ipfs-cmds
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-21 11:11:47 -08:00
fbc36b8962 update dependencies and update TODO
broken sharness test t0110 has been fixed in master

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
e8ad094448 add TODO
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
bd9576fa57 start adopting cmds3.0 - lots of errors!
- move go-ipfs-cmds/legacy to go-ipfs/commands/legacy
- update cmds,cmdkit; go test ./... ok

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
8a9a76f193 fix outdated warning about private key in 'config show'
We now omit it.

fixes #4572

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-09 19:24:27 -08:00
ac26cf19cd config-patch: Inverse profiles
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-17 15:29:18 +01:00
acb4edcce4 config-patch: docs typo, fix server profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-16 18:16:43 +01:00
0ff9b24a32 config-patch: backup config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-16 00:58:58 +01:00
2514c74750 config-patch: apply review suggestions
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
c573d3d051 config-patch: update to new commands lib
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
9312fa5f0f config: rename profile.Unapply to Revert
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
ed8817961e conifg-patch: apply review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
b59354bf6a config: revert profile subcommand
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
20d6803dc8 config: option to apply profile after init
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
dfe7ef4fcf gx: update go-multihash
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -08: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
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
cccc6a94a3 update go-multihash and bubble up changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
c9e20dd907 Change 'neccessary' to 'necessary'
License: MIT
Signed-off-by: Jordan Danford <jordandanford@gmail.com>
2017-05-24 09:40:53 -07:00
b15470d548 bubble up updates from go-multihash changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
b4eeff2d84 update go-multihash and bubble up deps
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
8efdb4f1df Put config keys in proper case
License: MIT
Signed-off-by: David Brennan <david.n.brennan@gmail.com>
2016-11-07 08:13:56 +01: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
1f9ec4e3ed update to libp2p 4.0.1 and propogate other changes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
5457a85cef Merge branch 'version/0.4.3-rc4'
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-20 19:10:10 -07:00
91dd044d55 config: guard against privkey being overwritten in fsrepo setConfig
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-04 06:50:10 -07:00
671425ea33 cmd: harden config show with key
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-04 06:50:10 -07:00
1d6a47bf93 Make all Taglines use imperative mood
License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-04 16:45:59 -07:00
72705564e7 another type check fix and add back a missing test
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-15 10:49:57 -07:00
c5318e892e type check to avoid panic
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-15 10:42:19 -07:00
921ae0e964 style: decapitalize error names
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-14 13:57:38 +01:00
6b97588266 cmd: include case where PrivKey is stored in lower case
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:46:33 +01:00
2fded41ff5 core/commands: do not show PrivKey in config if it is null
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
2b682f95d0 core/commands/config: error out if config replace contains privkey
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
011a546b9c core/cmds/config: do not show privkey on the network
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-07-13 18:45:51 +01:00
e83d0b15a8 Added Default to config cmd
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:05:44 -04: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
512b25c0cd Added an as to ensure good English
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-03-01 14:06:36 -05:00
34e3ad16de Added defaults to config opts descriptions
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-26 12:46:50 -05:00
af148b3e05 Normalised Example heading, added dollar sign to examples
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-14 13:16:40 -05:00
d7dab3afea Use gx vendored go-ipfs-utils where possible
For the rest of the packages in util, move them to thirdparty
and update the references. util is gone!

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-12 17:21:40 -08:00
e8c753d2e5 Merge pull request #2282 from ipfs/docs/remove-extra-space
Removed extra space
2016-02-03 09:24:46 -08:00
dc5b45e377 Removed extra space
This was coming up as an extra space. For instance:

```curl -i http://localhost:5001/api/v0/config?arg=kitten
//"Message": "Failed to get config value:  key has no attributes",
```

Removing it here.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-02 15:26:01 -05:00
548ad107a2 Add quotes to ipfs config
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-02 11:32:30 -05:00