Commit Graph

1591 Commits

Author SHA1 Message Date
Jeromy Johnson
f23cd5c84c Merge pull request #3189 from ipfs/feat/metrics/interface
metrics: introduce go-metrics-interface
2016-09-19 18:02:14 -07:00
Kevin Atkinson
7bf30c3111 Adder: Don't hold the PinLock when not pinning.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-09-14 16:55:39 -04:00
Jeromy Johnson
0aa136a98e Merge pull request #3206 from ipfs/feat/writable-flag
gateway: fix --writable flag :|
2016-09-14 13:50:32 -04:00
Jakub Sztandera
a5899a4fb9
deps: update go-metrics-interface and -prometheus to 0.1.2
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:10 +02:00
Jakub Sztandera
7faa32459a
metrics: fix peer number metric in offline mode
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:10 +02:00
Jakub Sztandera
a2bb6e8edf
metrics: update prometheus
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:09 +02:00
Jeromy
1de17e2233 Update libp2p to 3.5.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 14:26:55 -07:00
Jeromy
1bb6a842c5 Update libp2p to have fixed spdystream dep
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 07:47:04 -07:00
Lars Gierth
fc8e6de6a9 gateway: fix --writable flag :|
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-09-11 21:09:09 +02:00
George Antoniadis
89d8ca5798 Extract peerset, update peer, peerset, secio, libp2p
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:22:17 +01:00
George Antoniadis
5e72b94a5a Extract thirdparty/loggables
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:15:31 +01:00
George Antoniadis
6859b8ccd8 Extract key and datastore
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-09 15:52:25 +01:00
Jeromy Johnson
3babf40e74 Merge pull request #3187 from ipfs/feat/cidv0
Rework go-ipfs to use content IDs version 0
2016-09-09 10:14:39 -04:00
Jeromy Johnson
531b89abc9 Merge pull request #3143 from ipfs/feat/bs/rename-hashonread
blockstore: rename RuntimeHashing to HashOnRead
2016-09-08 09:30:03 -04:00
Jeromy
c8fe495934 integrate CIDv0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-07 13:32:32 -07:00
Jeromy Johnson
73f4b15ced Merge pull request #3160 from JesseWeinstein/doc/cmds/log_notice_unused
Doc/cmds/log notice unused
2016-09-07 14:53:37 -04:00
Richard Littauer
1a6784e070 Add default True to files flush
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-09-01 11:47:15 -04:00
Jesse Weinstein
fab7ad8dd9 Reduce vehemence of help text, per PR comments
License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-31 21:59:43 -07:00
Jesse Weinstein
9304cf13db Clarify distinction between event and other logging
License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-30 18:39:04 -07:00
Jesse Weinstein
8663b4d48b Remove notice from list of log levels.
This is because go-log does not support that level, although the underlying library, go-logging, does.

License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-30 18:31:53 -07:00
Jakub Sztandera
dfc58c791d
blockstore: rename RuntimeHashing to HashOnRead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 21:53:40 +02:00
Jeromy Johnson
594ae64f15 Merge pull request #3129 from ipfs/feat/default-rename
commands: replace <default> keyword with <<default>>
2016-08-26 09:41:14 -07:00
Jakub Sztandera
7e5393c4db
commands: replace <default> keyword with <<default>>
This way if we use <default> in description (we use thigns like <hash>
already), it won't conflict and modify the description in unwanted way.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-26 18:20:17 +02:00
Jeromy
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
Jeromy Johnson
a2bba212d0 Merge pull request #3106 from ipfs/feat/cmds/dht-provide
cmds: implement ipfs dht provide command
2016-08-24 10:59:23 -07:00
Jeromy
0a6ab30212 address CR feedback
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-24 10:32:40 -07:00
Jeromy
798569bb68 don't provide same block twice during call to dht provide
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-24 10:17:50 -07:00
Jeromy
8aac844641 add -r flag for dht provide
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-23 12:44:53 -07:00
Jeromy Johnson
8830aae9bc Merge pull request #3091 from ipfs/feat/temp-err-retries
datastore: blockstore should retry when it encounters temp errors
2016-08-22 09:35:19 -07:00
Jeromy Johnson
8ffab98d55 Merge pull request #3102 from ipfs/feat/local-add
ipfs/add: make --local flag not write out providers
2016-08-20 18:46:58 -07:00
Jeromy Johnson
19779b3707 Merge pull request #3103 from ipfs/feat/pin/no-prov-internal
pin: use separate dagservice for storing pinsets
2016-08-20 18:46:40 -07:00
Jeromy
eaa433f27b cmds: implement ipfs dht provide command
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-19 19:52:49 -07:00
Jeromy
db228e1054 pin: use separate dagservice for storing pinsets
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-19 17:45:49 -07:00
Jeromy
4b278856d2 ipfs/add: make --local flag not write out providers
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-19 17:01:15 -07:00
Jeromy
ad488c6525 reprovider: add config option to set reprovide interval
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-19 16:52:03 -07:00
Jeromy
115bee5d93 ipfs/cat: disable auto-gc check
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-19 13:36:04 -07:00
Jeromy Johnson
10048ceca9 Merge pull request #2962 from ipfs/kevina/block-rm
Add "ipfs block rm" command.
2016-08-18 13:27:26 -07:00
Kevin Atkinson
8679af7a02 "block rm": add "--force" and "--quiet" option
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-17 01:29:40 -04:00
Jeromy
8813008046 datastore: blockstore should retry when it encounters temp errors
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-16 11:51:06 -07:00
Jeromy Johnson
1891fd13bf Merge pull request #3083 from dokterbob/lshelpdoc
Document listing commands better
2016-08-16 09:37:57 -07:00
Jeromy Johnson
2414c06221 Merge pull request #2852 from thomas-gardner/bitswap/ledger
bitswap: add `ledger` subcommand
2016-08-16 09:29:40 -07:00
Jeromy Johnson
dcfd842d83 Merge pull request #3041 from JesseWeinstein/docs/cli-use-imperative
Make all Taglines use imperative mood
2016-08-16 09:25:09 -07:00
Jeromy Johnson
3e8fcc5b28 Merge pull request #3077 from ipfs/feat/is-domain-to-gxx
deps: move go-is-domain to gx
2016-08-16 09:24:53 -07:00
Jeromy Johnson
f2127af019 Merge pull request #3088 from ipfs/feature/add-period
Add period to `ipfs pin rm`
2016-08-16 09:22:30 -07:00
Kevin Atkinson
c88b4b0941 "block rm": remove the option to ignore pins
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Kevin Atkinson
efeb789878 Check for multiple pinned blocks in a single pass.
Provide a new method, Pinner.CheckIfPinned(), which will check if
any of the arguments are pinned.  Previously IsPinned would need to be
called once for each block.  The new method will speed up the checking
of multiple pinned blocks from O(p*n) to O(p) (where p is the number
of pinned blocks and n is the number of blocks to be check)

Use the new method in "block rm".

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Kevin Atkinson
6ad497bcf0 "block rm": use channel instead of pipe / don't abort on non-fatal error
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Kevin Atkinson
453be22dfb Add "ipfs block rm" command.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
Richard Littauer
b76dcb8dd7 Add period to ipfs pin rm
Small doc fix.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-08-15 10:46:15 -04:00
Kevin Simper
e3a42d983e Update dns help with a correct domain name
Closes https://github.com/ipfs/faq/issues/161

License: MIT
Signed-off-by: Kevin Simper <kevin.simper@gmail.com>
2016-08-15 13:24:41 +02:00