Jeromy
c49dcffce2
Allow for gc during adds
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
be09205310
fixify tests
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
b2b415b57d
fix some tests
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
d64f1494a3
enfastify mfs
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
1efbc79223
use mfs for adds
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
4fdfbc7d32
compute add size in background to not stall add operation
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
dc2e343a99
add option to disable flushing files structure on writes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
a961b1f7ac
ipfs files ls without -l is faster
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
rht
743f3edcbb
strings.Split -> path.SplitList
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-12 08:22:55 -08:00
rht
ffd859232d
Replace strings.Join(elms, "/") with path.Join(elms)
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
bf955f3560
add closenotify and large timeout to gateway
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
efac042e82
rework editor creation and finalization
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
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