1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 15:42:21 +08:00

5958 Commits

Author SHA1 Message Date
864e305557 build: specify a dist.ipfs.io hash
Right now bin/dist_get trusts whatever DNS resolver is active.
This change enables it to verify what it downloads.
Verification itself remains TODO.

This will work best with a unixfs-hash tool which is TODO too.
It'd just do the equivalent of `ipfs add -n -r <dirOrFile>`.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-17 02:33:35 +02:00
8f7e0dacb7 don't return nil multiaddrs from dht messages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-16 17:16:53 -07:00
94f1922dc2 Incorporate better moreThanOne function
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-16 22:51:08 +02:00
49936895ff Add --format option to mfs stats command
also add --hash and --size of hash and size only formats

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-16 21:51:38 +02:00
3b8ebe72bb Merge pull request #2705 from ipfs/deps/libp2p/3.2.1
update libp2p to v3.2.1
2016-05-16 11:50:03 -07:00
23c8ed93fd update libp2p to v3.2.1
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-16 11:22:36 -07:00
b0b1e0f1c1 Merge pull request #2681 from ipfs/feature/spruce-upstat
Add helptext, default logic to `ipfs stats`
2016-05-16 09:00:36 -07:00
8ee399fbeb Add helptext, default logic to ipfs stats
I've added: Synopsis, shortDescription, and longDescription for stats and stats bw.
I also added default(false) for poll and default("1s") for interval, and modified the logic to make it fit.

Part of #2484 and #2647.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-16 10:59:30 -04:00
bdb1156426 Merge pull request #2701 from ipfs/fix-toolkit_upgrade-removal
Fix toolkit_upgrade Makefile target removal
2016-05-15 22:21:47 -07:00
12cdbe6cdd README: points to Windows doc
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-16 06:37:45 +02:00
b0b4a57357 appveyor: remove 'make toolkit_upgrade'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-16 06:24:40 +02:00
255992873b README: remove reference to toolkit_upgrade
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-16 06:23:30 +02:00
b5c6a62e63 Makefile: remove toolkit_upgrade target
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-16 06:23:04 +02:00
f40127d23b Merge pull request #2669 from ipfs/feature/add-default-to-name
Added Default logic to `name` cmd, and local option
2016-05-15 18:37:50 -07:00
f796ee45b8 Merge pull request #2699 from ipfs/use-consts-for-pin-modes
Use consts for pin modes
2016-05-15 12:10:14 -07:00
c390c88b97 Merge pull request #2652 from ipfs/feature/add-defaults-to-daemon
Added Defaults to `ipfs daemon`
2016-05-15 12:06:30 -07:00
fa1c555e29 Added Defaults to ipfs daemon
Split from https://github.com/ipfs/go-ipfs/pull/2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-15 13:31:07 -04:00
39f23677f5 pin: use new constants instead of literal values
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-15 18:18:29 +02:00
c4195e5328 pin: add missing consts and convertion functions
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-15 18:15:28 +02:00
0b701e832a Merge pull request #2677 from ipfs/feature/add-default-to-publish
Added Default logic to publish
2016-05-14 15:29:03 -07:00
a7c5a6f6a7 Merge pull request #2656 from ipfs/feature/add-default-false-to-verbose-flags
Added Default(false) to verbose for `active` and `dht` cmds
2016-05-14 14:56:53 -07:00
b8669baf71 Merge pull request #2694 from ipfs/feature/LongDesc-#2691
Add logic for copying ShortDes to LongDesc if it is not present
2016-05-14 14:54:37 -07: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
d183e343bb Merge pull request #2659 from ipfs/fix/circleyml
make circle.yml use make deps instead of trying to be smart
2016-05-13 18:33:41 -07:00
28999f774c Merge pull request #2661 from ipfs/feature/add-default-to-bootstrap
Added Default to `bootstrap` cmd
2016-05-13 18:32:03 -07:00
6cef4ff0a0 Merge pull request #2678 from ipfs/feature/add-default-to-refs
Added Default logic to refs
2016-05-13 18:31:35 -07:00
bffd648935 Added Default to bootstrap cmd
Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-13 20:49:26 -04:00
90421f556f Added Default logic to refs
Not sure about the switch statement. There may be a more elegant solution.

Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-13 20:46:28 -04:00
fb03cb783b Added Default logic to name cmd, and local option
Added Default logic per #2484, and also added the local option back in, because it exists in the code and should be shown as helptext, at least.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-13 20:38:49 -04:00
475d73088c Added Default logic to publish
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-13 20:26:16 -04:00
7732411475 Merge pull request #2672 from kpcyrd/feature/cache-control-immutable
Set Cache-Control immutable
2016-05-13 16:01:43 -07:00
704dcb8c4a Merge pull request #2683 from ipfs/feature/update-file-helptext
Updated `file` helptext
2016-05-13 15:39:38 -07:00
b88c2c6cbc Merge pull request #2664 from ipfs/feature/add-default-to-diag
Added Default to `diag` cmd
2016-05-13 15:38:05 -07:00
d3930e2028 Merge pull request #2665 from ipfs/feature/add-default-to-dns
Added Default to `dns` cmd
2016-05-13 15:37:49 -07:00
f747cf6fbe Merge pull request #2687 from Kubuxu/fix/t0060
Increase timeout in t0060
2016-05-13 15:25:24 -07:00
fb87d2faf0 Merge pull request #2643 from RichardLitt/docs/lint-diff-text
Linted object diff help text
2016-05-13 15:24:52 -07:00
e67fdd534e Merge pull request #2674 from ipfs/feature/add-default-to-object-cmd
Added Default logic to object object and patch
2016-05-13 15:24:24 -07:00
df1ac97cfa Merge pull request #2663 from ipfs/feature/add-default-to-config
Added Default to `config` cmd
2016-05-13 15:16:07 -07:00
dea67d2be6 Merge pull request #2662 from ipfs/feature/add-default-to-commands
Added Default to `commands` cmd
2016-05-13 15:08:02 -07:00
2297759ec4 Merge pull request #2668 from ipfs/feature/add-default-to-get
Added Default logic to `get` cmd
2016-05-13 14:58:38 -07:00
185619f689 Updated file helptext
Part of #2647

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-13 17:54:06 -04:00
8f24275a87 Merge pull request #2676 from ipfs/feature/add-default-to-ping
Added Default to ping, cleaned up logic
2016-05-13 14:53:57 -07:00
563ff4531d don't cache the code we're actually changing
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-13 14:52:24 -07:00
a55bd460e8 Merge pull request #2670 from ipfs/feature/add-default-to-ls-headers
Added Default logic to `ls` cmd
2016-05-13 14:50:50 -07:00
21d3f79463 Merge pull request #2651 from ipfs/feature/gitignore-bin
Add bin to gitignore
2016-05-13 14:47:50 -07:00
e9bb0b4813 Merge pull request #2671 from ipfs/feature/mount_unix_long_help
Added a note about the default values
2016-05-13 14:47:24 -07:00
7610bf47fd Merge pull request #2666 from ipfs/feature/external-clean-up
Capitalize print statements, add period to `external`
2016-05-13 14:46:38 -07:00
927083e221 Merge pull request #2675 from ipfs/feature/change-pin-otions
pin ls: Remove count option, add Default to quiet
2016-05-13 14:46:12 -07:00
d4ce5f09e1 Merge pull request #2679 from ipfs/feature/add-default-false
Added Default false to all remaining options
2016-05-13 14:45:22 -07:00
efc6231241 Merge pull request #2682 from ipfs/feature/ping-go-syn
Updated synopsis for ping
2016-05-13 14:30:49 -07:00