1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 10:49:24 +08:00

5422 Commits

Author SHA1 Message Date
c89e3c22eb core/commands/pin: refactor 'pin ls'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
b770c881a7 pin/pin: replace isPinned() with isPinnedWithType()
It is more generic to be able to pass a pin type argument.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-18 21:37:44 +01:00
89a6f01be0 Merge pull request #2213 from Luzifer/direct_build
Build ipfs cmd inside docker container
2016-01-17 15:42:16 -05:00
fd5ddcb71b Build ipfs cmd inside docker container
License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2016-01-17 21:27:17 +01:00
aeaae90128 Merge pull request #2210 from ipfs/fix/bootstrapping
fix bootstrapping bug and add real test for bootstrapping
2016-01-17 05:47:29 +01:00
39d0b33507 address CR feedback
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 17:51:08 -08:00
75a63b74d8 Merge pull request #2209 from ipfs/feat/stat-type
make files stat print out node type
2016-01-16 19:38:50 -05:00
52da1e3293 fix bootstrapping bug and add real test for bootstrapping
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 16:05:46 -08:00
f485fa4b1e add type to stat printed output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 10:07:05 -08:00
1957094fe4 add type to stat cmd json output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-16 08:04:17 -08:00
32ceaa61e8 Resolves paths in 'pin rm' without network lookup.
Fixes ipfs/go-ipfs#2155 by turning the hash path arguments into keys
and unpinning directly, rather than running a full core.Resolve on
them. This lets users fail fast when they try to remove pins that
they don't have locally.

Note that this will only work when the path is of the form <hash> or
/ipfs/<hash>. Given e.g. /ipfs/<hash>/foo, foo's key cannot be known
without first resolving <hash>, which may involve talking to the
network.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-16 03:11:36 +01:00
bc49bee623 Implements path.IsJustAKey().
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-16 03:10:28 +01:00
f89a915ca0 Merge pull request #2114 from ipfs/remove-jenkins
ci: remove dead jenkins code
2016-01-15 23:55:20 +01:00
b182e539f0 Merge pull request #2202 from noffle/hidden_files-2145
Lets 'ipfs add' include top-level hidden files
2016-01-15 20:40:52 +01:00
0828d1eb64 Lets 'ipfs add' add hidden files when explicit.
Fixes ipfs/go-ipfs/#2145. The --hidden switch (still) only affects
recursive adding.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-15 11:19:40 -08:00
3d58888d66 Merge pull request #2197 from ipfs/feat/faster-resolve
do resolve operations concurrently
2016-01-15 12:52:48 -05:00
2d9f6a8367 Merge pull request #2137 from Dignifiedquire/app
Fix  appveyor
2016-01-15 12:11:41 -05:00
a8487eecf4 Merge pull request #2206 from ipfs/improve-test-str-contains
test-lib: improve on previous fix
2016-01-15 12:11:09 -05:00
ab73ddbf3e Merge pull request #2195 from ipfs/feature/env-var-docs
Added env var info to init, dameon help
2016-01-15 11:48:50 -05:00
4f06a0d8bd Start fixing appveyor
License: MIT
Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
2016-01-15 17:27:21 +01:00
rht
b1e642a001 Add appveyor conf
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-15 17:27:21 +01:00
14462092f8 test-lib: improve on previous fix
With GNU "grep" \b works but it's safer to use "egrep" which is also
POSIX rather than "grep" as not all the "grep"s out there might support \b.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-15 16:50:16 +01:00
adfe197825 Merge pull request #2204 from ipfs/fix-test-str-contains
Fix test str contains
2016-01-15 08:47:29 -05:00
cd9c9a6525 .gitignore: clean up how 'test/bin' content is ignored
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-15 10:43:29 +01:00
e6201151c6 t0081: fix greping pin type
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-15 10:27:21 +01:00
7e8052ef32 test-lib: fix test_str_contains
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-01-15 09:54:44 +01:00
a28e02be96 Merge pull request #2199 from ipfs/feat/multi-multiaddr-bootstrap
combine multiple bootstrap addrs into single peer info
2016-01-14 20:09:24 -05:00
38a600b3c8 Fixes setuo_commit_msg_hook.sh link. 2016-01-14 12:04:11 -08:00
19b2f893f4 do resolve operations concurrently
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-14 11:03:59 -08:00
1649b44ae0 combine multiple bootstrap addrs into single peer info
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-14 07:18:14 -08:00
c242660da5 Update release-checklist.md with npm publish note
Need to publish to https://github.com/ipfs/npm-go-ipfs

cc @whyrusleeping this did not happen for 0.3.11
2016-01-13 21:26:34 -05:00
6f222711d9 Added env var info to init, dameon help
See #1296

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-13 10:56:34 -05:00
48353a7036 Edited following @chriscool feedback
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-12 16:35:04 -05:00
3c6a40a3a7 remove failed merge tag from pin ls help
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 12:32:21 -08:00
04914ace6e Merge pull request #1381 from ipfs/dev0.4.0
Dev0.4.0
2016-01-12 18:02:07 +01:00
3224ae0917 a small amount of cleanup in mfs dir
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
faec2a3280 cleanup dht cmd output and fix unrecognized events
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
a99ad8a411 add tests for and fix {set/append}-data
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
4dca1f240f better doc strings
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
d4ffc9454f refactor object patch command to work more betterer
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
9aea2c7895 fix shared node reference issue
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
871cc6f1b1 call flush after files rm
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
fd4c4122d0 add test and locking fix
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
f548a404ae just flush dir in mkdir flush, not whole tree
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
e3769dfb5a add flush option to mkdir
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
56982b4b3a do not hold locks for multiple filesystem nodes at the same time
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
3ff880b023 skip searching for child on -r flag
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
4d5af93f43 vendor in new go-datastore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
cb1c5c535c add sharness test for index.html content type
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
a83c3a334f use ServeContent for index.html
One advantage is that it sets the Content-Type header correctly.

License: MIT
Signed-off-by: Etienne Laurin <etienne@atnnn.com>
2016-01-12 08:22:55 -08:00