Steven Allen
521a29956b
fix and improve the writable gateway
...
1. Fix handling of PUT. The simple implementation was the correct
implementation, I have no idea what was going on here.
2. Use MFS everywhere to reduce code duplication and add support for sharded
directories.
3. _Correctly_ block IPNS.
4. Remove the dependency on `core.IpfsNode`.
5. Remove support for putting empty directories with a well-known CID. It was
useless as directories are automatically created.
2019-07-25 19:22:56 -07:00
Alan Shaw
76f29603a8
feat: add --long as alias for -l in files.ls
...
Allow passing --long or ?long=true as a more descriptive option name than "l".
refs: https://github.com/ipfs/go-ipfs#issuecomment-392477565
2019-07-17 15:17:57 +01:00
Steven Allen
2b2e570c20
sharness: test pin ls stream
2019-07-12 08:06:02 -07:00
Steven Allen
288a83ce7d
feat: deprecate ipfs repo fsck command
...
This command is no longer necessary and is quite dangerous:
1. All lockfiles are now released by the OS when the daemon stops.
2. The API file is ignored when (a) the repo is initialized and (b) daemon is
off.
fixes #6435
2019-07-03 12:53:15 -07:00
Steven Allen
e96416dea6
test: test operations when the API file is stale
2019-06-29 11:17:46 +02:00
Devin
f9e9f2854b
Fix a typo
2019-06-11 15:41:51 -07:00
Łukasz Magiera
7be8475c9b
block cmd: allow adding multiple blocks at once
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-06-03 20:19:33 -07:00
Steven Allen
ce5084b5a5
fix: go-libp2p-pnet now enforces the correct key size
2019-06-01 17:14:16 -07:00
Raúl Kripalani
e8c2852179
migrate to go-libp2p-core.
...
closes #6391
License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2019-05-31 23:23:52 -07:00
Michael Avila
8f03df805b
Move sharness test helpers
...
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
6d6ce8fba7
Introduce first strategic provider: do nothing
...
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Steven Allen
deb7af02ed
feat: improve errors when a path fails to parse
...
This helps with issues like #4190 by telling the user the path that failed to
parse.
fixes #4190
2019-05-17 12:19:15 -07:00
Steven Allen
ec19d4c54f
Merge pull request #6321 from ipfs/ci/golangci-lint
...
Add golangci-lint
2019-05-15 13:38:31 -07:00
Steven Allen
30fc529983
sharness: test loading a bad plugin
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-15 12:19:21 -07:00
Steven Allen
7340eb5e95
don't skip git plugin test in travis
...
The git plugin is built-in. Anyways, there's no reason plugin loading shouldn't
work in travis.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-15 12:11:56 -07:00
Steven Allen
942760b4b7
Merge pull request #6330 from ipfs/fix/obj-put-empty
...
object put: Allow empty objects
2019-05-14 16:08:18 -07:00
Łukasz Magiera
f18289531d
object: update sharness tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-05-14 23:42:58 +02:00
Steven Allen
307d06b465
Merge pull request #6277 from ipfs/fix/3124
...
work towards fixing dht commands
2019-05-14 12:38:39 -07:00
Steven Allen
037382239d
build: switch from megacheck to golangci-lint
...
(which includes megacheck)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-14 09:38:29 -07:00
Steven Allen
9886fc06fc
switch to base32 by default for CIDv1
...
fixes #6220
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-13 10:57:53 -07:00
Steven Allen
3803a6e5eb
ping: fixup sharness tests
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-08 23:15:16 -07:00
Steven Allen
0defe54899
dep: update go-ipfs-config
...
fixes #6284
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-01 12:43:04 -07:00
Steven Allen
a8fa9dd05a
test: dht put/get round trips
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-01 11:41:01 -07:00
myself659
63e18dac8d
humanize for ipfs bitswap stat
...
License: MIT
Signed-off-by: Eric Wu <myself659@163.com>
2019-04-26 02:54:48 -07:00
Łukasz Magiera
ac51d2999e
add: test adding multiple files
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-25 15:49:13 +02:00
Łukasz Magiera
da473d286f
constructor: move libp2p related stuff to subpackage
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-23 13:30:25 +02:00
Vikram
a7ed9d9fe8
cmd/object/stat: add human flag for object stat
...
- add support for printing CumulativeSize in human
readable format.
- add test to validate output.
License: MIT
Signed-off-by: Vikram Sreekumar <vikram1791@gmail.com>
2019-04-20 21:50:54 -07:00
Łukasz Magiera
d35dac70f0
Cleanup core package
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-17 16:56:27 -07:00
Łukasz Magiera
1acb450332
Fix some blockstore type mixups
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-17 16:56:27 -07:00
Steven Allen
c91e075617
Merge pull request #6189 from myself659/ipfs-object-stat
...
align output for the command ipfs object stat
2019-04-06 06:40:55 -07:00
eric wu
e5ef53742a
align output for the command ipfs object stat
...
License: MIT
Signed-off-by: Eric Wu <myself659@163.com>
2019-04-06 21:24:56 +08:00
Jakub Sztandera
aa55ab7af4
test: sharness tests for ipfs version deps
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-04-04 22:38:28 +02:00
Steven Allen
a44f0d251f
make sure to close the repo if we fail to properly start the daemon
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-03 15:46:40 -07:00
Steven Allen
74d07eff35
Merge pull request #6156 from ipfs/fix/6139
...
fix add error handling
2019-03-29 15:31:14 +00:00
Steven Allen
21c085549a
urlstore: test ipfs add --nocopy URL
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-29 12:41:20 +00:00
Steven Allen
470d6ba7a8
commands(add): fix ipfs add --nocopy URL without enabling the filestore
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-29 12:12:38 +00:00
Steven Allen
1f293eff1b
chore: fix a bunch of issues caught by golangci-lint
...
Most of these are probably harmless but a few looked like they might actually be
bugs. Most of them are just faulty tests.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-29 11:57:45 +00:00
Łukasz Magiera
782b2d68ea
add: fix sharness tests (WIP)
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:19:54 +01:00
tg
8b98cbe0e3
command repo stat: add human flag tests to t0080-repo.sh
...
License: MIT
Signed-off-by: Georgij Tolstov <tolstov.georgij@gmail.com>
2019-03-21 19:05:05 +03:00
Steven Allen
e11bbd7820
Merge pull request #6100 from ipfs/gomod/dockerfile
...
gomod: Update Dockerfile, remove Dockerfile.fast
2019-03-19 15:17:41 -07:00
Jakub Sztandera
60a43f89da
gomod: Update Dockerfile, remove Dockerfile.fast
...
The main Dockerfile supports dependencies caching now, rendering
Dockerfile.fast useless.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-19 21:10:01 +01:00
Steven Allen
417bd243e2
test resolve recursion
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-16 12:42:50 -07:00
Jakub Sztandera
061128d1d3
mk: fix make install by not setting GOBIN
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-06 22:21:14 +01:00
Jakub Sztandera
c21b7f91bc
mk: remove json-to-junit program
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:38:47 +01:00
Jakub Sztandera
88030561c7
gomod: fix import path
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
93c75321fb
make: Replace json-to-junit with gotestsum
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
08062ecfe9
gomod: define sharness testing dependencies
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
54b1969c4b
sharness: eliminate netcat
...
Differences between bsd-netcat and gnu-netcat make it horrible tool
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
0225bd0868
sharness: stop iptb after testing
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
b618b4540d
sharness: update cid bases after multibase update
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00