1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 17:36:38 +08:00

5923 Commits

Author SHA1 Message Date
05cb7a1bc2 metrics: add transport label to p2p_peers_total
Gives us per-transport peers counts:

	ipfs_p2p_peers_total{transport="/ip4/tcp"} 25
	ipfs_p2p_peers_total{transport="/ip6/tcp"} 13
	ipfs_p2p_peers_total{transport="/ip6/udp/utp"} 17

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-18 22:30:52 +02:00
41c5e11ab1 Ipfs v0.4.2 Release
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
v0.4.2
2016-05-17 13:41:38 -07:00
0f33a569c9 ipfs version 0.4.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-17 22:31:57 +02:00
8cacf375a8 Add changelog for v0.4.2
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-17 22:31:51 +02:00
1e717b803d Merge pull request #2711 from ipfs/dist-root
build: specify a dist.ipfs.io hash
2016-05-17 11:49:03 -07:00
5d74bc49c9 Merge pull request #2717 from djdv/typo-file
Fix typo in files command error message
2016-05-17 11:48:43 -07:00
414c0ccbc4 Merge pull request #2716 from ipfs/patch-add-link-paths
Fix #2715 and patch add-link paths
2016-05-17 11:43:11 -07:00
c6edf22fa0 Merge pull request #2719 from ipfs/deps/libp2p/nil-maddr
update go-libp2p 3.2.2, nil maddr fixes
2016-05-17 10:52:55 -07:00
60cae2079a check output hash for correctness
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-17 10:49:13 -07:00
ed1551b0dd Merge pull request #2718 from ipfs/feature/ConfigEdit-2649
Make ipfs config edit run on client
2016-05-17 19:32:57 +02:00
e22345ae65 update go-libp2p 3.2.2, nil maddr fixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-17 10:23:10 -07:00
86425ef8f8 Make ipfs config edit run on client
Fixes #2649

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-17 16:02:48 +02:00
e2ccfdb8df Fix typo in files command error message
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2016-05-17 03:49:22 -04:00
562c801976 address CR - use dstest.Mock
License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
2016-05-17 00:22:19 -07:00
9f79dde058 ipfs object patch add-link supports paths
previously, paths were not supported as link values.
this would not work, and now can:

    ipfs object patch $root add-link foo /ipfs/$hash/foo/bar

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
2016-05-16 23:03:31 -07:00
0ddafe603a add error checking for nil keys
Checks in:
- blockstore
- blockservice
- dagservice
- bitswap

Do not anger the pokemans #2715

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
2016-05-16 23:03:28 -07:00
f36671db46 Merge pull request #2710 from ipfs/fix/nil-maddr
don't return nil multiaddrs from dht messages
2016-05-16 17:58:44 -07:00
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
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