Commit Graph

1011 Commits

Author SHA1 Message Date
zramsay
096b3232d5 address PR comments; remove commented/dead code
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
zramsay
c5df8f0796 apply the megacheck tool to improve code quality
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Lars Gierth
64ced367ac gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-05-30 02:26:05 +02:00
Jeromy Johnson
1c9a419e22 Merge pull request #3882 from keremgocen/fix-cmd-key-peerid
WIP: add PeerID lookup
2017-05-25 10:10:47 -07:00
Kevin Atkinson
332a7967f9 filestore: add "--file-order" option to "filestore ls" and "verify"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-23 17:40:20 -04:00
Jeromy Johnson
630f9ae29e Merge pull request #3884 from ipfs/feat/shutdown-cmd
Implement ipfs shutdown command
2017-05-17 22:44:06 -07:00
Jeromy Johnson
0780a4fdb4 Merge pull request #3892 from MichaelMure/keystore_key_rm
Implement ipfs key {rm, rename}
2017-05-17 21:28:36 -07:00
Jeromy
adb555c3eb Implement ipfs shutdown command
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-17 21:27:47 -07:00
Jeromy Johnson
219b41bff8 Merge pull request #3915 from ipfs/kevina/repo-stat-storagemax
Add MaxStorage field to output of "repo stat".
2017-05-15 12:27:42 -07:00
Kevin Atkinson
4bbd00185c adder: add support for specifying the hash function
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-14 17:38:32 -04:00
Michael Muré
cb8d5eb245 Add a test for failure of 'ipfs key rm self'
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-14 21:01:18 +09:00
Kevin Atkinson
0f46a34f59 Add MaxStorage field to output of "repo stat".
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-10 23:41:35 -04:00
Michael Muré
c0a04a06c3 add sharness test for ipfs key rename
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-04 21:56:58 +09:00
Kerem
fca98aea9d add sharness tests
test for `ipfs name publish` using PeerID as key name

License: MIT
Signed-off-by: Kerem Gocen <keremgocen@gmail.com>
2017-05-03 06:19:30 +03:00
Michael Muré
4d4d7b8e08 Implement ipfs key rm
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-01 15:23:17 +09:00
Jeromy
0597a04924 Fix sharding memory growth, and fix resolver for unixfs paths
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 13:48:28 -07:00
Jeromy
b71ef8354e Fix gateway handling of sharded directories
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 13:01:22 -07:00
Kevin Atkinson
8a47786c67 hamt: support using CIDv1 by allowing the prefix to be set
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:41:25 -04:00
Kevin Atkinson
518adec022 adder: add support for using CidV1
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
Jeromy
b15470d548
bubble up updates from go-multihash changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
Jakub Sztandera
dab716ba02
test: fix ulimit tests for 2048 fds
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 20:56:09 +01:00
Jeromy Johnson
ac69697bd9 Merge pull request #3042 from ipfs/feat/hamt-sharding
Implement unixfs sharding
2017-03-23 20:51:52 -07:00
Jeromy
c4c665395a add global config switch for sharding
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-23 16:42:31 -07:00
Jeromy Johnson
2de21bc018 Merge pull request #3653 from ipfs/kevina/filestore-util
Basic Filestore Utilties
2017-03-22 21:41:48 -07:00
Jeromy Johnson
a3fc6f18b6 Merge pull request #3805 from ipfs/kevina/repo-init
daemon: use fsrepo.IsInitialized to test for initialization
2017-03-22 20:55:42 -07:00
Kevin Atkinson
620b52b2aa filestore util: refactor and clean up tests
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 20:50:22 -04:00
Kevin Atkinson
f7efb34e68 filestore util: Add 'filestore dups' command. Enhance tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
033c442d32 filestore util: add tests for verifying and listing filestore blocks.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
28921471db daemon: use fsrepo.IsInitialized to test for initialization
Use fsrepo.IsInitialized to test for initialization instead of just
testing if the directory exists.

Also add test cases for '--init' option, including one the creates an
empty directory.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 04:25:57 -04:00
Jeromy
e8764345d6 fix handling of filestore nodes in mfs during add
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-21 20:19:22 -07:00
Jeromy
06fb495df1 fix mfs hamt integration
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
Jeromy
bb09ffd756 implement an HAMT for unixfs directory sharding
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
Jeromy Johnson
21072a5f81 Merge pull request #3712 from ipfs/kevina/more-robust-gc
More Robust GC
2017-03-21 17:16:37 -07:00
Jeromy Johnson
56bbcc9f16 Merge pull request #3774 from ipfs/feat/docs/80-chars
Add 80 columns mans tests
2017-03-10 14:42:38 -08:00
Jakub Sztandera
5489025210
test: add test for checking if commands mans lengths are shorter than 80
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 19:05:34 +01:00
Jakub Sztandera
2317ced4aa
test: fix commands tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 19:05:34 +01:00
Jakub Sztandera
40cc4dc024
test: add test for ipfs add --quieter
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 14:21:54 +01:00
Jakub Sztandera
66cc2f2e88
fix: ipfs get panic with empty API call
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-09 15:42:15 +01:00
Jeromy Johnson
0d6640434b Merge pull request #3765 from ipfs/test/filestore/more-decriptive
test: fix 'disk_usage' returning number smaller by factor of 512 on BSD and Darvin
2017-03-08 20:16:07 -08:00
Jeromy Johnson
74afd87986 Merge pull request #3760 from ipfs/fix/pin-add-api
fix pin add api break
2017-03-07 16:27:23 -08:00
Jeromy Johnson
eca0d1c734 Merge pull request #3757 from ipfs/fix/get-raw-leaves
make raw leaves work with 'ipfs get'
2017-03-07 15:40:18 -08:00
Jakub Sztandera
bd5b48d0ea
test: added issue number to regression test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:12:52 +01:00
Jakub Sztandera
e2ececa4fa
test: fix sharness disk_usage util
on bsd based systems du returns block count not bytes

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jakub Sztandera
afc0e77320
test: skip not necessary var assigment
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jakub Sztandera
0ccb4e82f8
test: make the repo size check error message better
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jeromy
6a7750d5c2 fix pin add api break
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-07 01:10:46 -08:00
Jeromy
b1588c7162 make raw leaves work with 'ipfs get'
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 20:12:05 -08:00
Jeromy Johnson
e3d483fc7c Merge pull request #3751 from ipfs/feat/sharness/small-clean-p1
test: small cleanup of t0010
2017-03-06 16:43:06 -08:00
Jeromy Johnson
60b94a2c4f Merge pull request #3750 from ipfs/fix/sharness/filestore/format
test: small cleanup to the filestore sharness test
2017-03-06 12:37:28 -08:00
Kevin Atkinson
f338520aa8 gc: add option to stream errors
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00