dd007b236f
misc: fix dist_get failing without failing
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-23 17:57:54 +01:00
2cc5ce45b8
Merge pull request #3777 from ipfs/fix/gateway-status-codes
...
Return 404 Not Found for failed path resolutions
2017-03-22 22:31:54 -07:00
2de21bc018
Merge pull request #3653 from ipfs/kevina/filestore-util
...
Basic Filestore Utilties
2017-03-22 21:41:48 -07:00
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
4e2e537caa
Merge pull request #3809 from ipfs/faster-pin-ls
...
Fix #3783 : Improve IsPinned() lookups for indirect pins
2017-03-22 20:54:51 -07:00
1eddb60f73
filestore util: doc improvement
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 20:56:35 -04:00
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
96269e0256
filestore: Refactor.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 19:55:12 -04:00
81af0347e9
filestore util: change "???..." to "<corrupt key>"
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 19:55:05 -04:00
1cd1efd014
Merge pull request #3798 from ipfs/kevina/nat-discovery-config-v2
...
Add DisableNatPortMap option.
2017-03-22 13:48:02 -07:00
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
1f2e174e6a
filestore: use the same codes in ListRes and CorruptReferenceError.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
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
064bb53884
filestore util: add documentation for 'filestore ls' and 'verify' commands.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
886a6fe166
filestore: be more specific when there is a problem reading the backing file.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
13f617d139
filestore util: allow listing/verifying of individual blocks.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
4bf43047d8
filestore util: basic filestore commands.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
71a7a90f62
Fix #3783 : Improve IsPinned() lookups for indirect pins
...
This avoids revisiting already-searched branches and cut down
the IsPinned() check times considerably when recursive pins
share big underlying DAGs.
A test has been added which double-checks that pinned and unpinned items
lookups respond as expected with shared branches.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-22 20:29:11 +01:00
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
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
62bb7c966d
chekc that size input to newHamtShard is a power of two
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
8d4791c9bb
add more docs on hamt
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
c8af993a8c
iterator technique for unixfs dir listing
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
06fb495df1
fix mfs hamt integration
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
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
d7c0a708d6
Merge pull request #3812 from ipfs/fix/update-paper-link
...
update link to paper in dev.md
2017-03-21 20:13:19 -07:00
7dee31b736
Merge pull request #3493 from ipfs/feat/coreapi-refinements
...
Core API refinements and efficiency improvements
2017-03-21 18:57:47 -07:00
749ba2ffac
update link to paper in dev.md
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-21 18:56:04 -07:00
21072a5f81
Merge pull request #3712 from ipfs/kevina/more-robust-gc
...
More Robust GC
2017-03-21 17:16:37 -07:00
d065593715
Merge pull request #3804 from hoenirvili/multipart-fix
...
test(commands): fix EOF failure with Multipart.Read
2017-03-21 11:01:46 -07:00
3d21c2ff6e
test(commands): fix EOF failure with Multipart.Read
...
License: MIT
Signed-off-by: hoenirvili <hoenirvili@gmail.com>
2017-03-21 11:20:12 +02:00
7d02274661
Merge pull request #3806 from ipfs/lgierth-patch-1
...
commands: improve name and key helptexts
2017-03-20 21:07:44 -07:00
0e68ffaaf0
commands: improve name and key helptexts
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-21 03:42:53 +01:00
d39d9ed60b
gc: address CR comments
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-20 14:46:02 -04:00
f66ca2ff24
gc: continue to use cmds.ChannelMarshaler
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-18 21:30:32 -04:00
da95e9f929
Add DisableNatPortMap option.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-18 18:50:10 -04:00
646dbde318
Merge pull request #3744 from kpcyrd/feat/docker
...
docker: Automatically fix permissions
2017-03-18 13:13:41 -07:00
988b20760f
Merge pull request #3795 from jefft0/fix-CHANGELOG-FilestoreEnabled
...
CHANGELOG: Fix config command for FilestoreEnabled .
2017-03-18 13:12:24 -07:00
ca6b1e870b
CHANGELOG: Fix config command for FilestoreEnabled .
...
License: MIT
Signed-off-by: Jeff Thompson <jefft0@gmail.com>
2017-03-18 01:13:44 -07:00
807ffb9141
commands/dns: return NotFound error for failed resolutions
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-17 04:16:36 +01:00
9e4800d40a
gateway: simplify error responses, switch to 404
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-17 04:10:28 +01:00
ee45b8d32f
coreapi: make the interfaces path centric
...
The new coreiface.Path maps a path to the cid.Cid
resulting from a full path resolution.
The path is internally represented as a go-ipfs/path.Path,
but that doesn't matter to the outside.
Apart from the path-to-CID mapping, it also aims to hold all
resolved segment CIDs of the path. Right now it only exposes
Root(), and only for flat paths a la /ipfs/Qmfoo. In other cases,
the root is nil.
In the future, resolution will internally use
go-ipfs/path.Resolver.ResolvePathComponents and thus always return
the proper resolved segments, via Root(), or a future Segments() func.
- Add coreiface.Path with Cid() and Root().
- Add CoreAPI.ResolvePath() for getting a coreiface.Path.
- All functions now expect and return coreiface.Path.
- Add ParsePath() and ParseCid() for constructing a coreiface.Path.
- Add coreiface.Node and Link which are simply go-ipld-node.Node and Link.
- Add CoreAPI.ResolveNode() for getting a Node from a Path.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-17 03:47:59 +01:00
e260d2fd06
coreapi: smarter way of dealing with the different APIs
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-17 02:35:17 +01:00
6efa429a99
Merge pull request #3787 from ipfs/fix/make/check-path
...
make: readd the path check functionality
2017-03-16 10:59:28 -07:00
183d005b6b
Merge pull request #3782 from ipfs/fix/bloom/put-no-cache
...
fix: remove bloom filter check on Put call in blockstore
2017-03-16 10:00:11 -07:00
beebc85132
version bump, 0.4.8-dev
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-15 19:39:43 -07:00
f76b48dfa0
Ipfs 0.4.7
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
v0.4.7
2017-03-15 18:47:37 -07:00
5ae31f4a2a
make: readd the path check functionality
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-15 13:12:28 +01:00
9c194aa7e2
fix: remove bloom filter check on Put call in blockstore
...
To prevent put we need to have conclusive information if item is
contained in the repo, bloom filter won't give this information.
It only says if it is for sure not contained.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-14 00:57:13 +01:00
174a566ae6
Merge pull request #3778 from ipfs/feat/0.4.7-changelog
...
Ipfs 0.4.7-rc1, Changelog and version bump
v0.4.7-rc1
2017-03-11 13:11:38 -08:00