Jorropo
3ab1086f71
chore: migrate go-libipfs to boxo
...
Resolves #9677 , #9676 , #9675 , #9736
2023-03-28 22:05:25 -04:00
Henrique Dias
255e64e49e
chore: migrate from go-ipfs-files to go-libipfs/files ( #9535 )
2023-01-13 14:27:03 +01:00
Jorropo
807b98537d
Revert "fix: ensure hasher is registered when using a hashing function"
...
This has been superseeded by 7d0ea08289 .
This reverts commit 773c246232 .
2022-12-05 15:03:16 +01:00
Jorropo
773c246232
fix: ensure hasher is registered when using a hashing function
...
Fixes #9297
2022-09-26 10:05:26 +02:00
Lucas Molas
9e5d0aaaec
feat(cmds/add): --to-files option automates files cp ( #8927 )
...
* feat(cmds/add): --to-files option as files cp
* tests(to-files): ensure error handling is covered
this adds bunch of tests that guard UX around importing multiple files
into MFS, and the logic around trailing slash to indicate if the MFS
destination if a directory.
If the destination has a trailing slash, we ensure that the directory
exists and is a dir and not a file. this allows us to support
adding multipl files into MFS dir:
ipfs add file1.txt file2.txt --to-files /some/mfs/dir/
* docs: to-files helptext
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-09-21 18:08:36 +02:00
Marcin Rataj
92baa6c039
docs(add): skip binary name in helptext
...
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2022-08-17 03:30:35 +00:00
Marcin Rataj
0080a66639
docs(cli): clarify CID determinism in add command
...
Better 'ipfs add --help' docs, based on feedback from
https://discuss.ipfs.io/t/ipfs-for-publishing-research-data-car-files/14748
2022-08-17 03:30:35 +00:00
Marcin Rataj
82467bc936
refactor: rename to kubo
2022-07-06 18:40:37 +02:00
Marcin Rataj
545571c328
Apply suggestions from code review
...
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-10-11 20:36:06 +02:00
Marcin Rataj
d5ecec332f
docs: ipfs.add: document raw-leaves
...
Closes #8396
2021-09-24 18:39:39 +02:00
Marcin Rataj
090953d298
docs: tweak ipfs cmd help
...
https://github.com/ipfs/go-ipfs/pull/8010#discussion_r600842235
https://github.com/ipfs/go-ipfs/pull/8010#discussion_r600842123
2021-03-30 21:26:32 +02:00
Marcin Rataj
0ff1cf33aa
docs: cosmetic fixes of help text
...
Unfortunately, API docs are genereted from go-ipfs sources
via https://github.com/ipfs/http-api-docs
so it all gets lost when API docs for new version are re-generated.
This re-applies manual fixes from:
https://docs.ipfs.io/reference/http/api/
so the next time http-api-docs are re-generated, those changes stay.
2021-03-24 17:41:14 +01:00
gammazero
7193f950d7
Escape non-printable characters in user output
...
Replaces control characters and non-printable characters with escape sequences, in any fields that are printed by the CLI, which could have been user input.
Output from `ipfs cat` is unchanged.
2020-12-17 18:16:34 -08:00
Fazlul Shahriar
cac753bb18
fix build on Plan 9
...
Fixes #7575
Fixes #7671
2020-09-23 22:27:01 -04:00
Martín Triay
c532cb4d5a
Document add behavior when the daemon is not running
2020-06-27 15:57:18 -03:00
Cornelius Toole
62de9ba9d3
feat(file-ignore): add ignore opts to add cmd
...
- add the `gitignore` or `ignore options to the add command
2020-03-20 09:22:04 -07:00
Steven Allen
bddd8287d4
doc(add): document hash stability
...
fixes #4318
2020-02-11 09:29:30 -08:00
Steven Allen
a53d48059b
fix: migrate from deprecated warning function
2020-01-28 21:20:21 -08:00
Jakub Sztandera
76d2ad404d
Add buzhash to ipfs add docs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-07 19:57:43 +02:00
Steven Allen
5f64b270f8
cmdkit -> cmds
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-10 23:00:20 -07:00
Łukasz Magiera
6ffdce8abf
add: return error from iterator
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-27 18:10:38 +02:00
Łukasz Magiera
aa0704e61a
add: fix wrap with multiple files
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-25 15:23:55 +02:00
Łukasz Magiera
0b9e89ddfe
add: fix adding multiple files
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-04-25 15:03:47 +02: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
a94d3b7ecd
add: gofmt
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-22 00:52:45 +01:00
Łukasz Magiera
9919528505
add: move stdin-name handling to cmds
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-22 00:45:35 +01:00
Łukasz Magiera
964ef0b2e7
unixfs add: remove StdinName
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:20:24 +01:00
Łukasz Magiera
150fa15bd6
add: gofmt
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:19:54 +01:00
Łukasz Magiera
c5b81e918f
coreapi: remove hidden file handling in add
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:17:58 +01:00
Łukasz Magiera
b8bc26a700
WIP almost working ipfs add
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-21 19:17:58 +01:00
Jakub Sztandera
ddd573e580
gomod: use cheggaa/pb from gopkg
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
42e191c017
gx: unrewrite
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01:00
Steven Allen
3fa1bfe1bc
gx: update cmds and flatfs
...
fixes #6028 , fixes crash when writing after closing on flatfs.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 12:17:49 -08:00
Steven Allen
f227862e88
gx: update go-ipfs-cmds, go-bitswap, go-libp2p-kad-dht, and go-mplex
...
Fixes the latest batch of bugs found in RC testing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-27 12:39:24 -08:00
Hector Sanjuan
6972a9aa4d
Gx Bubble. libp2p-6.0.38
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2019-02-27 01:10:59 +00:00
Steven Allen
3c2536dd81
gx: update go-ipfs-cmds
...
fixes #6021
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-25 16:45:43 -07:00
Steven Allen
fea7ae727f
gx: update go-cid
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 20:29:06 -08:00
Steven Allen
f924f57c61
gx: update go-bitswap and go-libp2p-kad-dht
...
* go-bitswap: fix some race conditions.
* go-libp2p-kad-dht: fix a goroutine leak.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 17:19:54 -08:00
Steven Allen
2f17b951c2
gx: update deps
...
* Updates go-ipfs-cmds to try to get the tests to pass on travis.
* While we're at it, fix duplicate gx deps.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 13:12:21 -08:00
Steven Allen
91ca5911be
coreapi: return coreiface.ErrNotSupported when "catting" symlinks.
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 03:48:04 -08:00
Jakub Sztandera
28cf3de0f9
Update protobuf
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-02-18 20:46:22 +01:00
Steven Allen
cf0d4706e2
gx: update libp2p stuff
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-14 14:58:35 -08:00
Steven Allen
e97a60b073
gx: update go-ipfs-files
...
fix compatibility issue with js-ipfs
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-11 10:48:58 -08:00
Łukasz Magiera
648cc40ec3
coreapi: fix import grouping after extracting iface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:57:26 +01:00
Łukasz Magiera
7ed6b518b6
coreapi: update imports to updated interface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:42:32 +01:00
Łukasz Magiera
7c2aa0e9a9
gx: update go-unixfs to propagate archive changes
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 20:58:32 +01:00
Steven Allen
5b6f41a0cf
Merge pull request #5923 from da2x/patch-1
...
Clarify that chunker sizes are in bytes
2019-01-21 17:57:31 +00:00
Kevin Atkinson
b22275fb66
Add global --cid-base option and enable it for most commands.
...
This does it on ther server side for most commands.
This also adds a global --output-cidv1 option.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:32 -05:00
Daniel Aleksandersen
745f82e0f9
Clarify that chunker sizes are in bytes
...
Clarify that the Rabin fingerprint chunker is in bytes, and recommend
using larger chunk sizes than shown in the provided examples.
People are getting confused over chunker sizes and incorrectly assuming
they're in kiB and not bytes.
License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-13 06:13:54 +01:00
Hector Sanjuan
ab270fbaa7
Bubble go-ipfs-cmds 2.0.10
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-01-10 21:31:11 +01:00