Commit Graph

2257 Commits

Author SHA1 Message Date
Whyrusleeping
a98a4f40d3
Merge pull request #4873 from ipfs/fix/4871
make the tar writer handle sharded ipfs directories
2018-03-25 12:47:40 -07:00
Whyrusleeping
b1b96fc9db
Merge pull request #4856 from ipfs/fix/stats-bs-header
cmds/stat: remove useless header if not polling
2018-03-24 19:50:22 -07:00
Steven Allen
6895fc653f return a nice error when listing sharded directories
Unfortunately, fixing this would require breaking the API.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 16:03:02 -07:00
Steven Allen
70bf571742 bump tar dep to make it resolvable
It wasn't pinned and `gx publish -f` gave a different hash.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 10:53:55 -07:00
Whyrusleeping
41d82eeeb5
Merge pull request #4733 from dirkmc/feat/namesys-value-count
Add options for record count and timeout for resolving DHT paths
2018-03-23 09:59:26 -07:00
Whyrusleeping
1fb90ad62c
Merge pull request #4857 from ipfs/extract/thirdparty-tar
Extract: thirdparty/tar
2018-03-23 09:41:31 -07:00
Whyrusleeping
4f601a0ec0
Merge pull request #4859 from ipfs/fix/govet
Fix go vet warnings
2018-03-23 09:10:43 -07:00
Whyrusleeping
6b180b2f7c
Merge pull request #4832 from ipfs/fix/bootstrap-cmd-prefix
Use prefix in bootstrapWritePeers
2018-03-22 23:32:47 -07:00
Whyrusleeping
aaf6ee78cc
Merge pull request #4809 from djdv/fix/get/outpath
Fix get output path
2018-03-22 23:29:17 -07:00
Whyrusleeping
e99b91a644
Merge pull request #4802 from ipfs/feat/coreapi/split-iface
coreapi: Split the interface into multiple files
2018-03-22 23:27:22 -07:00
Whyrusleeping
59ad0f8c4b
Merge pull request #4755 from schomatis/fix/add/hash-only
add: hash-only: set the prefix for MFS root
2018-03-22 23:18:23 -07:00
Whyrusleeping
a9dfe410d2
Merge pull request #4563 from ipfs/fix/block-mhtype
commands/block: use CIDv1 with custom mhtype
2018-03-22 23:03:56 -07:00
Dirk McCormick
494f242b76 Parse string time (eg 30s) instead of assuming seconds for —-dht-timeout
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-03-22 12:52:09 -04:00
Łukasz Magiera
221652fcfb fix govet warnings
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-22 17:31:22 +01:00
Hector Sanjuan
9a2f2976f2 Use latests tar-utils
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-22 00:28:44 +01:00
Hector Sanjuan
5bbaa75bea Extract: thirdparty/tar
This module was sort of extracted to whyrusleeping/tar-utils long ago.
I gxed that, imported commits from go-ipfs to the current state, and
extracted it.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-21 18:02:25 +01:00
Jakub Sztandera
21fae5bfad cmds/stat: remove useless header if not polling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-21 15:36:58 +01:00
Steven Allen
7824c2cf4e check arguments after handling help
otherwise, we block on required arguments from stdin before processing the help
flag.

fixes #4837

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 15:58:34 -07:00
Łukasz Magiera
ed54f58df7 use prefix in bootstrapWritePeers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-19 01:36:51 +01:00
Steven Allen
45fd7d213f pre-populate required arguments from request body
This way, we can always assume that indexing a required argument works.

Also:

* test that the command tree doesn't have any obvious bugs (duplicate options,
  arguments in the wrong order, etc).
* simplify the usage ParseBodyArgs.
* remove unnecessary check in the get command.

fixes #4823

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-18 13:04:25 -07:00
Whyrusleeping
958483f6bc
Merge pull request #4822 from ipfs/fix/emit-once
fix: use EmitOnce where only single response is to be sent
2018-03-17 11:35:17 -07:00
Jeromy
116269a12b upgrade commands that used StringArguments
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-16 20:06:54 -07:00
Jakub Sztandera
ead64854e6 cmd/pubsub: fix pubsub peers format brakage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-17 02:48:27 +01:00
Jakub Sztandera
42d1aa5bf7 cmd/pubsub: fix pubsub ls emiting plain strings instead of JSON
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-16 14:01:37 +01:00
Jakub Sztandera
59178057a2 fix: use EmitOnce where only single response is to be sent
Part of #4818

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-16 10:17:34 +01:00
Dominic Della Valle
dcd7e6c187 Fix get output path
Minor but important change for platform native output paths

License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-03-12 10:44:31 -04:00
Łukasz Magiera
efb74199bf commands/block: don't use default for -f
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-10 23:44:34 +01:00
Łukasz Magiera
e54a4f8dd5 coreapi: var block for errors
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-10 22:17:27 +01:00
Łukasz Magiera
fa0fef336d coreapi: minor doc fixes
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-10 18:52:10 +01:00
Łukasz Magiera
f218b69e47 coreapi: split the interface into multiple files
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-10 18:46:45 +01:00
Łukasz Magiera
eff69bbf37 coreapi: don't alias ipld types
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-10 18:31:28 +01:00
Łukasz Magiera
20b59ec1ec coreapi: move unixfs errors to the top
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-10 18:27:21 +01:00
Whyrusleeping
13887ff2c7
Merge pull request #4751 from ipfs/feat/safe-cid
Disallow usage of unsafe hashes for reading and adding content
2018-03-05 12:25:26 -08:00
Jeromy
dd40a5a2d5 fix pubsub pub reading stdin args
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-05 11:45:11 -08:00
Whyrusleeping
bea666f3cd
Merge pull request #4725 from MichaelMure/filesstatlocal
make files stat --with-local return immediately when no data is present
2018-03-05 09:39:34 -08:00
Jakub Sztandera
51bf1b6cd4 Significanly improve GC UX with verifcid
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:43:42 +01:00
Jakub Sztandera
a9417a144c fix ipfs pin verify --verbose not working
Resolves https://github.com/ipfs/go-ipfs/issues/4761

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
bcedd38c9a //hash -> // hash
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
578cb240d4 Move the temporary packages to thirdparty
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
c30422d790 Enforce Cid security rules for getting and adding blocks
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Lucas Molas
5d7e8a893d add: hash-only: set the prefix for MFS root
Fixes #4652.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-03-02 15:46:02 -03:00
RideWindX
fbc495db4c Fix "PNetFingerpint" field typo of core.IpfsNode
License: MIT
Signed-off-by: Jason Chang <ridewindx@163.com>
2018-03-01 22:17:10 +01:00
Dirk McCormick
5202f76d1f Syntactic changes
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-03-01 15:09:25 -05:00
Dirk McCormick
e8f79c8803 Use variadic options
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-28 16:57:58 -05:00
Dirk McCormick
5096025df2 Fix gateway test
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-25 20:46:55 -05:00
Dirk McCormick
1abf8366ee Add options for record count and timeout for resolving DHT paths
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-02-23 11:47:30 -05:00
Michael Muré
e2bad6ec5e
make files stat --with-local return immediately when no data is present
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-21 18:41:40 +01:00
Steven Allen
45756b6d64 fix a bunch of go vet errors
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 17:37:35 -08:00
Steven Allen
2c68c15407 update go-ipfs-cmds
* May fix #4670
* Fixes #4683

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-20 16:43:00 -08:00
Whyrusleeping
2ee4543c3e
Merge pull request #4713 from ipfs/feat/split-path-resolver
Feat: Separate "path" from "path/resolver"
2018-02-20 09:55:36 -08:00