Commit Graph

5558 Commits

Author SHA1 Message Date
Mildred Ki'Lya
8f8020e86f merkledag: Remove cached Node.node
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-04 07:48:34 +01:00
Mildred Ki'Lya
b3c9922c7b merkledag: Remove unused AddRecursive and RemoveRecursive
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-04 07:48:34 +01:00
Mildred Ki'Lya
7c11fe57cb Rename Encoded() to EncodeProtobuf()
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 09:01:51 +01:00
Mildred Ki'Lya
1f5b76ac18 Remove GetCachedNode()
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 09:01:51 +01:00
Mildred Ki'Lya
7fc9205709 path/resolver.go: simplify ResolveLinks()
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 09:01:51 +01:00
Mildred Ki'Lya
28bc3ee8ee merkledag: make Link.Node (the node cache) a private field
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 09:01:51 +01:00
Mildred Ki'Lya
67c59d871e Rename Decoded into DecodeProtobuf
This function work only with protocol buffer encoding. To make this clear,
rename the function.

License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 09:01:51 +01:00
Mildred Ki'Lya
3b729b200b merkledag: Make Node.Unmarshal() private
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 08:59:44 +01:00
Mildred Ki'Lya
1f820dc235 path/resolver.go: Handle timeout here
License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 08:59:44 +01:00
Mildred Ki'Lya
5808fe2edd Remove usage of merkledag.Link.Node pointer outside of merkledag
This prepares for inclusion of IPLD where the Node pointer won't be there.

License: MIT
Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2016-03-01 08:59:44 +01:00
Jeromy Johnson
cdddf0ff51 Merge pull request #2403 from noffle/ipfs-files-truncate
makes 'ipfs files write' usage docs clearer
2016-02-29 16:27:55 -08:00
Jeromy Johnson
9ab67a38c4 Merge pull request #2323 from noffle/no_publish_while_mounted
Prevents 'ipfs name publish' when /ipns is mounted.
2016-02-29 16:20:15 -08:00
Stephen Whitmore
f4367f6831 t0031: ensure iptb init happens
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-29 16:05:48 -08:00
Stephen Whitmore
b66e089ec1 trailing whitespace
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-29 16:05:48 -08:00
Stephen Whitmore
b4bd604426 uses iptb exclusively for mount-publish test
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-29 16:05:48 -08:00
Stephen Whitmore
0afbd1857f Prevents 'ipfs name publish' when /ipns is mounted.
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-29 16:05:48 -08:00
Jeromy Johnson
922ad3cde5 Merge pull request #2392 from ipfs/std-err-msg-prereq
sharness: replace POSIX prereq with STD_ERR_MSG
2016-02-29 15:11:17 -08:00
Jeromy Johnson
54ae9daf4b Merge pull request #2412 from ipfs/docs/config-opts-defaults
Added defaults to config opts descriptions
2016-02-29 15:10:43 -08:00
Jeromy Johnson
54426adde8 Merge pull request #2410 from ipfs/docs/resolve-recursive-default
Added `default false` to `resolve --recursive` help text
2016-02-29 15:09:37 -08:00
Jeromy Johnson
1d6e0d88aa Merge pull request #2409 from ipfs/docs/bitswap-unwant-arg
Noted ability to specify multiple keys in `bitswap unwant`
2016-02-29 15:09:08 -08:00
Jeromy Johnson
6cd32b3859 Merge pull request #2417 from Kubuxu/patch-2
Change link to dist to be under IPNS in readme
2016-02-29 14:56:03 -08:00
Jeromy Johnson
58e252c17f Merge pull request #2415 from Kubuxu/fix/make-export
Make Makefile patch to use global gateway actually work
2016-02-29 11:28:21 -08:00
Jeromy Johnson
dede20eab4 Merge pull request #2384 from ipfs/feat/dag-refactor
refactor merkledag fetching methods
2016-02-29 10:04:34 -08:00
Jakub Sztandera
a7085d9830 Change link to dist to be under IPNS
Otherwise there is invalid cert error.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-02-29 16:04:44 +01:00
Jakub Sztandera
07ffab63f4 Make Makefile patch to use global gateway actually work
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-02-27 11:15:55 +01:00
Richard Littauer
34e3ad16de Added defaults to config opts descriptions
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-26 12:46:50 -05:00
Richard Littauer
2a79e0ddd4 Added default false
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-26 12:25:43 -05:00
Richard Littauer
8adf7a3f67 Noted ability to specify multiple keys in bitswap unwant
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-26 12:09:27 -05:00
Stephen Whitmore
4492b8c6ba Makes 'ipfs files write' usage docs clearer.
A couple of notes on --truncate and --offset.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-24 13:32:26 -08:00
Jeromy
ec3959a6af use an option type to simplify concurrency
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-24 11:38:44 -08:00
Jeromy
cba00b900b fixes from review
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-24 10:06:07 -08:00
Jeromy Johnson
d48cd56f94 Merge pull request #2396 from ipfs/fix/readme-instructions
some fixes to the readme install instructions
2016-02-23 17:54:48 -08:00
Jeromy Johnson
ff341c7579 Merge pull request #2398 from ipfs/check-go-version
Check go version
2016-02-23 17:50:29 -08:00
Jeromy Johnson
3988031b79 Merge pull request #2370 from noffle/daemon_plus_plus
Adds arbitrary port support to t0060-daemon.sh
2016-02-23 15:48:49 -08:00
Christian Couder
6c959c8c6f Makefile: add go_check target
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-23 22:35:26 +01:00
Stephen Whitmore
2f64de0d61 Uses preset API_MADDR and GWAY_ADDR globals.
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-23 13:22:58 -08:00
Stephen Whitmore
c342d57347 Updates uses of *_ADDR -> *_MADDR
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-23 13:22:58 -08:00
Stephen Whitmore
31f4ef02c2 Use test_launch_ipfs_daemon
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-23 13:22:58 -08:00
Stephen Whitmore
597d684160 Adds arbitrary port support to t0060-daemon.sh.
Removes all of the hardcoded ports and defaults to non-standard API,
Gateway, and Swarm ports.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-23 13:22:58 -08:00
Christian Couder
40b21bfcfb bin: add check_go_version
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-23 21:26:10 +01:00
Jeromy
e7c8ac1f3e capitalize Ensure
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-23 11:01:56 -08:00
Jeromy Johnson
f630f9d92a Merge pull request #2382 from ipfs/fix/mfs-truncate
fix minor mfs truncate bug
2016-02-23 10:42:06 -08:00
Jeromy
26af36eca1 refer to go install instructions
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-23 10:40:23 -08:00
Jeromy Johnson
7471795793 Merge pull request #2391 from ipfs/files-ls-defaults-to-pathroot
files: make 'files ls' defaults to /
2016-02-23 10:18:50 -08:00
Jeromy Johnson
3f4b684c11 Merge pull request #2394 from ipfs/feat/gx-force-gateway
force gx to use 0.4.0 gateways for now
2016-02-23 10:08:38 -08:00
Jeromy
f89b7c7679 some fixes to the readme install instructions
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-22 19:02:42 -08:00
Jeromy
a36da6b417 force gx to use 0.4.0 gateways for now
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-22 17:47:14 -08:00
Christian Couder
00e03404d8 sharness: replace POSIX prereq with STD_ERR_MSG
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-22 22:13:30 +01:00
Christian Couder
73e76dca56 files: make 'files ls' defaults to /
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-22 19:15:49 +01:00
Jeromy
d2931d70a6 fix test now that dag batches can more properly fail
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-20 16:21:04 -08:00