Jeromy
d8ee7dffc3
improves memory usage of add
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Andrew Chin
b6f28dad1b
Add a --pin option to ipfs add (allowing --pin=false)
...
Implements a solution for #1908
This PR replaces #1909
License: MIT
Signed-off-by: Andrew Chin <achin@eminence32.net>
2016-01-12 08:22:55 -08:00
rht
86901aff3c
Move parts of ipfs add into core/coreunix
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
38fab91013
address comments from CR
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
6faa70ee59
implement ipfs files command
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
78a8088410
Refactor ipnsfs into a more generic and well tested mfs
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
c6ee2058d9
comments from CR
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
45d4b1a8bc
fixup datastore interfaces
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Tommi Virtanen
b76581d6c7
fsrepo: Refactor to extract datastore internals
...
License: MIT
Signed-off-by: Tommi Virtanen <tv@eagain.net>
2016-01-12 08:22:55 -08:00
Tommi Virtanen
4a33683443
core tests: Stop assuming internals of Config
...
License: MIT
Signed-off-by: Tommi Virtanen <tv@eagain.net>
2016-01-12 08:22:55 -08:00
Jeromy
b12ee40aba
implement mark and sweep GC
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
dont GC blocks used by pinner
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
comment GC algo
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
add lock to blockstore to prevent GC from eating wanted blocks
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
improve FetchGraph
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
separate interfaces for blockstore and GCBlockstore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
reintroduce indirect pinning, add enumerateChildren dag method
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:21:13 -08:00
Juan Batiz-Benet
27f34b4311
renamed {R,}Lock -> {Pin,GC}Lock
...
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2016-01-12 08:21:13 -08:00
Jeromy
7b675e870c
lock blockstore for pin add
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:21:13 -08:00
Jeromy
1a03d5e37a
move locking out of GC branch
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:21:13 -08:00
Jeromy
b9e5cfaa15
merkledag FetchGraph and EnumerateChildren
...
This commit improves (fixes) the FetchGraph call for recursively
fetching every descendant node of a given merkledag node. This operation
should be the simplest way of ensuring that you have replicated a dag
locally.
This commit also implements a method in the merkledag package called
EnumerateChildren, this method is used to get a set of the keys of every
descendant node of the given node. All keys found are noted in the
passed in KeySet, which may in the future be implemented on disk to
avoid excessive memory consumption.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:21:13 -08:00
Tommi Virtanen
96e45c7457
Use uint64 for indirect pin refcounts
...
Platform-dependent behavior is not nice, and negative refcounts are
not very useful.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
Tommi Virtanen
c9ce2e724a
Simplify Pinner interface by folding ManualPinner into Pinner
...
Pinner had method GetManual that returned a ManualPinner, so every
Pinner had to implement ManualPinner anyway.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
dignifiedquire
ab61ef2024
feat: Update to the latest version of the webui
...
License: MIT
Signed-off-by: Friedel Ziegelmayer <dignfiedquire@gmail.com>
2016-01-12 16:41:58 +01:00
Richard Littauer
fd69205eac
Added quotes around command in long desc
...
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-04 16:13:06 -05:00
Jeromy Johnson
8d48163ea0
Merge pull request #2032 from ipfs/fix/close-notify
...
fix close notify
2015-12-29 08:13:41 -08:00
Adam Gashlin
31788f634f
fix typo in AddrFilters error message
...
License: MIT
Signed-off-by: Adam Gashlin <agashlin@gmail.com>
2015-12-28 10:55:32 -05:00
Jeromy
8ad1141436
fixup panic catching in http handler funcs
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-28 04:18:56 -08:00
Dominic Della Valle
a6eb32b77c
Fix path parsing for add command
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2015-12-22 10:59:17 -05:00
Jeromy
bfff3fa390
Add patch too
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-13 15:12:29 -08:00
Jeromy
f3f3d5c91b
add 'get' to the allowed gateway commands
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-13 14:56:31 -08:00
Juan Benet
0f39687fb6
Merge pull request #2019 from ipfs/Dignifiedquire-fix/access-controll-headers
...
Dignifiedquire fix/access controll headers
2015-12-09 00:55:06 -08:00
Juan Benet
d58053b241
Merge pull request #1961 from ipfs/feat/external-bins
...
initial support for commands to use external binaries
2015-12-06 21:34:09 -08:00
Jeromy
96a0726759
address CR feedback
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-06 15:20:18 -08:00
Juan Benet
4fd28444ac
Merge pull request #1981 from sahib/master
...
--help: Add a note on using IPFS_PATH to the footer of the helptext.
2015-12-02 09:04:55 -08:00
Juan Benet
1c53aea2d2
Merge pull request #2000 from nham/object_put_newline
...
Add newline to end of `ipfs object put` text output.
2015-12-02 03:40:27 -08:00
Chris P
aa5532e5bf
--help: Add a note on using IPFS_PATH to the footer of the helptext.
...
License: MIT
Signed-off-by: Chris P. <sahib@online.de>
2015-12-02 11:46:09 +01:00
Juan Benet
7d0d1afb42
Merge pull request #2001 from ipfs/version-commit
...
gateway: /version tests, add CurrentCommit
2015-12-01 07:30:23 -08:00
Juan Benet
34efa3b8ea
Merge pull request #2010 from ipfs/hotfix/auto-gc
...
Fix maybeGC trigger condition
2015-12-01 07:26:24 -08:00
Jeromy
bdc1b27c51
hard code things
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-30 14:43:37 -08:00
Nick Hamann
d49a15f566
Add newline to end of the output for a few commands.
...
Commands affected:
- ipfs object put
- ipfs tar add
- ipfs resolve
- ipfs name resolve
License: MIT
Signed-off-by: Nick Hamann <nick@wabbo.org>
2015-11-29 11:50:48 -06:00
rht
4a1043b207
Remove the err brake from PeriodicGC
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-11-28 07:52:23 +07:00
rht
7e46762342
Fix maybeGC trigger condition
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-11-27 11:31:11 +07:00
Lars Gierth
9d0c3f5cb0
diag: make commit consistent with version command
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-26 02:46:51 +01:00
Lars Gierth
9beebc9779
commands: enable version for API
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-26 02:46:41 +01:00
Lars Gierth
3e03ae8f77
gateway: add CurrentCommit to /version
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-25 02:51:05 +01:00
Lars Gierth
8ab0ddfe44
gateway: add tests for /version
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-25 02:51:05 +01:00
Lars Gierth
ebf9511d63
commands: fix description of --api
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-23 20:35:02 +01:00
Jeromy
7681b66fee
initial support for commands to use external binaries
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-16 09:17:11 -08:00
Lars Gierth
021ef43418
gateway: add path prefix for directory listings
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-11-16 07:00:57 +01:00
rht
48a33ffb67
Add fixed period repo GC + test
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-11-10 14:03:29 +07:00
Juan Benet
0b3e0373d5
Merge pull request #1914 from ipfs/fix/log-hang
...
fix webui log hanging bug
2015-11-08 23:50:31 +00:00
Jeromy
2f5563b3c0
fix log hanging issue, and implement close-notify for commands
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-05 15:57:28 -08:00
Jeromy
94bdce63a7
vendor logging lib update
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-05 15:57:21 -08:00
Jeromy
7811983901
add option to version command to print repo version
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-03 12:19:12 -08:00
Jeromy
c7fb7ce17d
cache ipns entries to speed things up a little
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-02 12:53:08 -08:00