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
fecfb76cdf
pin: Remove double bookkeeping of refcount keys
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
d6a61529ca
pin: Remove dead code
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
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
c4d2988c11
blocks/set: Remove now-unused NewDBWrapperSet
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
6c0e42b87d
pin: Remove code shadowing pins as datastore keys
...
These secondary copies were never actually queried, and didn't contain
the indirect refcounts so they couldn't become the authoritative
source anyway as is. New goal is to move pinning into IPFS objects.
A migration will be needed to remove the old data from the datastore.
This can happen at any time after this commit.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
d586a3a05a
pin: unexport NewIndirectPin, it's not useful and not used elsewhere
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
5b96d4d6b8
sharness: fusermount -u
is the documented way to unmount FUSE on Linux
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
a3de9bf3a0
sharness: Use sed in a cross-platform safe way
...
OS X sed is documented as "-i SUFFIX", GNU sed as "-iSUFFIX". The one
consistent case seems to be "-iSUFFIX", where suffix cannot empty (or
OS X will parse the next argument as the suffix).
This used to leave around files named `refsout=` on Linux, and was
just confusing.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
c0ec377269
pin: Guard against callers causing refcount underflow
...
This used to lead to large refcount numbers, causing Flush to create a
lot of IPFS objects, and merkledag to consume tens of gigabytes of
RAM.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:17:17 -08:00
694abdeea3
update version
...
License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2016-01-12 08:17:17 -08:00
7070b4d878
Merge pull request #2188 from Dignifiedquire/feat/webui-update
...
feat: Update to the latest version of the webui
v0.3.11
2016-01-12 17:10:24 +01:00
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
b7d35e3af5
IPFS Versions 0.3.11 release
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 06:35:24 -08:00
dc4f5afaac
Merge pull request #2064 from ipfs/ipfs-volume
...
Docker image volume fix and Sharness tests
2016-01-10 20:55:12 +01:00
3916e73eca
force use of ipv4 in test
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-10 11:40:22 -08:00
1fbbd1de15
Add and use a DOCKER prereq
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-10 20:19:23 +01:00
d356ed0d53
sharness: add t0300-docker-image.sh
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-10 20:19:23 +01:00
29ec4c06e4
test/ipfs-test-lib: add docker support
...
We have to do something special for CircleCI in docker_exec()
because "docker exec" doesn't work on CircleCi:
https://circleci.com/docs/docker#docker-exec
We indeed get "Unsupported: Exec is not supported by the lxc
driver" with CircleCi, when using "docker exec".
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-10 20:19:23 +01:00
1c403c0380
CircleCI: add docker service
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-10 20:19:23 +01:00
06a5135e5e
Travis-CI: add docker service
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-10 20:19:23 +01:00
a226704b2d
change Dockerfile order to create VOLUME under user ipfs
...
License: MIT
Signed-off-by: Christian Kniep <christian@qnib.org>
2016-01-10 20:19:23 +01:00
453d30ae9b
Merge pull request #2159 from ipfs/feature/shutdown
...
Added a shutdown note to daemon description
2016-01-10 20:11:32 +01:00
ae01a23181
Merge pull request #2157 from ipfs/feature/object-data-quotes
...
Added quotes around command in long desc
2016-01-10 20:10:56 +01:00
c414029063
Merge pull request #2176 from yuvallanger/fix-typo
...
Fix typo.
2016-01-08 11:40:18 +01:00
7fb8fecea0
Fix typo.
...
License: MIT
Signed-off-by: Yuval Langer <yuval.langer@gmail.com>
2016-01-08 07:57:52 +02:00
dec4a72da1
Added a shutdown note to daemon dsec
...
Cf https://github.com/ipfs/support/issues/5
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-07 13:12:54 -05:00
4a5ad2e26a
Merge pull request #2163 from ReadmeCritic/master
...
Update README URLs based on HTTP redirects
2016-01-05 19:27:57 +01:00
3f7d11f598
Merge pull request #2116 from Kubuxu/fix/#2059
...
namesys: Make paths with multiple segemnts work. Fixes #2059
2016-01-05 18:55:09 +01:00
bcfb3d7224
Included more namesys tests.
...
Fixed some issues with trailing slashes.
License: MIT
Signed-off-by: Jakub (Kubuxu) Sztandera <kubuxu@gmail.com>
2016-01-05 18:13:43 +01:00
8457e08e68
Update README URLs based on HTTP redirects
...
License: MIT
Signed-off-by: d. khamsing <dkhamsing8@gmail.com>
2016-01-05 09:06:51 -08:00
85774b89d3
namesys: Make paths with multiple segemnts work. Fixes #2059
...
Also fixes non-recursive resolve erring instead showing one step.
The patch of core/commands/resolve.go could be done better but I don't
know how to get access to ErrResolveRecursion.
It allows for dnslinks into sub-segments. So for example hosting
multiple blogs
on just domains from one pubkey.
Fixes #2059
Add tests and fix case when dnslinks references dnslink
License: MIT
Signed-off-by: Jakub (Kubuxu) Sztandera <kubuxu@gmail.com>
2016-01-05 13:46:33 +01:00
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
4ba3a754ae
Merge pull request #2147 from ipfs/reenable-ipns-test
...
reenable ipns sharness test now that iptb is fixed
v0.3.11-rc1
2016-01-02 12:39:33 +01:00
742663919c
Merge pull request #2144 from ipfs/fix/quick-start
...
fix typos in quick start doc
2016-01-02 04:53:24 +01:00
ba33de36e3
reenable ipns sharness test now that iptb is fixed
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-01 19:38:18 -08:00
543f527bca
fix typos in quick start doc
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-01 18:15:29 -08:00
65785e0a57
Merge pull request #2058 from ipfs/fix/external-exec
...
run external commands client side
2015-12-30 20:34:35 +01:00
7fe0dadcd9
add a test
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-30 11:08:09 -08:00
0dd3735a45
run external commands client side
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-30 11:08:09 -08:00
8d48163ea0
Merge pull request #2032 from ipfs/fix/close-notify
...
fix close notify
2015-12-29 08:13:41 -08:00
3e38e0d98c
Merge pull request #2130 from hcs64/AddrFilters-err-typo
...
fix typo in AddrFilters error message
2015-12-28 12:52:55 -08:00
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
8711c6635d
make opt skip map a global
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-28 05:47:33 -08:00
de702ead33
add sharness test to verify requests look good
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-28 05:01:06 -08:00
41b89d2fb9
fix closenotify by not sending empty file set
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-28 04:18:56 -08:00
cfb1a69184
cleanup http client code
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-12-28 04:18:56 -08:00
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
2f9c894b6d
Merge pull request #2037 from ipfs/header-version-check
...
Move api version check to header
2015-12-28 04:10:03 -08:00
aabf80723d
Move api version string to repo config
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-12-28 03:48:50 -08:00