Commit Graph

7954 Commits

Author SHA1 Message Date
Jakub Sztandera
3ff35ab47a Increase timeout in t0060
Resolves #2684

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-13 19:46:09 +02:00
Richard Littauer
4489021fff Show Synopsis in long help
I think that this is useful, even though it is also shown in the Arguments and Options section below. What do you think, @noffle?

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 14:09:16 -04:00
Richard Littauer
efc18a3e65 Updated synopsis for ping
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 13:48:19 -04:00
Richard Littauer
b01c3f5039 Also added to Root
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 12:08:40 -04:00
Richard Littauer
f52050de80 Added Default false to all remaining options
Specifically, to `repo`, `resolve`, `swarm`, and `version`. Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 12:02:47 -04:00
Richard Littauer
254620d3a2 Added Default to ping, cleaned up logic
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 11:46:38 -04:00
Richard Littauer
f6a1be68ab pin ls: Remove count option, add Default to quiet
'count' is never referenced in the code, and adds nothing when run with `ipfs pin ls` currently. I have removed it; add it again when there is actual logic to reflect. Also, added a Default(false) to quiet.

Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 11:41:19 -04:00
Richard Littauer
c68aa06c5d Added Default logic to object object and patch
Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 11:35:18 -04:00
kpcyrd
c2a3e3169d Set Cache-Control immutable
Given that /ipfs/ resources never change, we can easily benefit from this
new cache control extension.

Support for this is about to land in Firefox 49:

https://bugzilla.mozilla.org/show_bug.cgi?id=1267474

For more details, there is a good blogpost about this here:

https://bitsup.blogspot.de/2016/05/cache-control-immutable.html

This header is ignored by clients that don't support it.

License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2016-05-12 12:16:42 +02:00
Richard Littauer
fedf553be3 Added a note about the default values
The /ipfs and /ipns paths can be overridden by the options; this wasn't
in the help text for the options, but should be somewhere. Long help
seemed appropriate.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 17:21:00 -04:00
Richard Littauer
ba36b860dd Added Default logic to ls cmd
See #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 17:13:16 -04:00
Richard Littauer
26375df590 Added Default logic to get cmd
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:47:55 -04:00
Richard Littauer
158eddcd7f Capitalize print statements, add period to external
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:20:15 -04:00
Richard Littauer
1fa63c437b Added Default to dns cmd
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:14:16 -04:00
Richard Littauer
8aa3e51e78 Added Default to diag cmd
Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:10:53 -04:00
Richard Littauer
e83d0b15a8 Added Default to config cmd
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:05:44 -04:00
Richard Littauer
7fee408b6b Added Default to commands cmd
Part of #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:03:35 -04:00
Jeromy Johnson
a2bcec40ba Merge pull request #2653 from ipfs/feature/add-defaults-to-init
Added Default logic to `ipfs init`
2016-05-11 08:56:59 -07:00
Jeromy Johnson
732bd7807d Merge pull request #2655 from ipfs/feature/contribute-tests-section
Moved Tests up in Contribute.md
2016-05-11 08:56:04 -07:00
Jeromy Johnson
d58aff0680 Merge pull request #2658 from ipfs/feat/update-libp2p
update libp2p with go-multiaddr and go-stream-muxer updates
2016-05-10 22:21:06 -07:00
Jeromy
ef360a0a2a make circle.yml use make deps instead of trying to be smart
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-10 16:39:28 -07:00
Jeromy
6359dc9d5e update libp2p with go-multiaddr and go-stream-muxer updates
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-10 16:06:28 -07:00
Richard Littauer
b620817703 Added section about tests to run locally
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 18:07:32 -04:00
Richard Littauer
4b92c33882 Add bin to gitignore
Because these files are mussing up my clean history, and I think they change every time I run make install.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 17:59:55 -04:00
Richard Littauer
eaae8bf24c Added Default(false) to verbose for active and dht cmds
This required no change of the code. I also changed the message from `debug` to `extra`, which I think is closer to the truth. Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 16:52:24 -04:00
Richard Littauer
f33a3a0904 Moved Tests up in Contribute.md
This should be more prominent. We also need a much better description of how to run tests - rigt now, we are dependant on Travis for the majority of testing, I believe. If there was a clear guide here on how to run the appropriate tests for each kind of PR, that would be fantastic.

We also really ought to have a section asking people to add all of the tests that they can think of.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 16:44:48 -04:00
Richard Littauer
d3cbf0eeb9 Added Default logic to ipfs init
Related to #2484

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 16:42:11 -04:00
Jeromy Johnson
665cd85699 Merge pull request #2646 from ipfs/feat/bitswap-reuse-stream
allow bitswap to read multiple messages per stream
2016-05-10 09:06:52 -07:00
Richard Littauer
f419f3aba6 Fixed tests
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-10 10:39:53 -04:00
Jeromy Johnson
1a6f8c68fd Merge pull request #2584 from ipfs/fix/build-process
add a dist_get script for getting bins from dist.ipfs.io
2016-05-09 13:46:27 -07:00
Jeromy
db5d730fb9 bump gx version to 0.7.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 13:19:14 -07:00
Jeromy
1e31839cc2 use repo level bins in test Makefile
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 12:48:06 -07:00
Jeromy
f2aa10914f fix travis.yml
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 11:26:51 -07:00
Jeromy Johnson
2c8fdab197 Merge pull request #2638 from ipfs/t0170-misc-fixes
t0170 misc fixes
2016-05-09 11:26:13 -07:00
Jeromy Johnson
a45cbad091 Merge pull request #2644 from RichardLitt/feature/update-sh-link
Update shell link to allow wget
2016-05-09 10:58:11 -07:00
Jeromy
5f624efe73 fix up dist_get script
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
3c7fad8af1 address some CR feedback
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
06a8a5bdb6 use gx-go 1.2.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
4a0882701a update dist_get script to be more cross platform
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
4b6828ebfe stricter makefile targets
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
cd11a487cc debugging travisCI
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
284bb1866f add a dist_get script for getting bins from dist.ipfs.io
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Richard Littauer
f6e88d7404 Linted object diff help text
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-09 11:06:53 -04:00
Richard Littauer
0f21dcb39c Update shell link to allow wget
The link to the commit file shell link should be to the raw file. That makes it easier for peopel to wget it without caring about using GitHubs interface. Perhaps this should also be hosted on IPFS

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-09 10:44:57 -04:00
Jeromy Johnson
00f9ce6c48 Merge pull request #2639 from ipfs/silence-docker-check
test-lib: make checking for docker silent
2016-05-07 11:51:39 -07:00
Christian Couder
c54c0456b7 test-lib: make checking for docker silent
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-07 13:14:11 +02:00
Christian Couder
e8bc591fe5 t0170: remove useless 'echo' and add '&&'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-07 09:38:44 +02:00
Christian Couder
01bf209c31 t0170: put startup_cluster() call outside test_expect_success
startup_cluster() already contains some test_expect_success, so
it should not be inside one.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-05-07 09:37:04 +02:00
Jeromy Johnson
f4a5bf504b Merge pull request #2637 from ipfs/feature/2636-marshal-log-ls
Marshal log ls better
2016-05-06 19:42:37 -07:00
Richard Littauer
23108aaa5d Marshal log ls better
This uses a stringList to output each log command as an item in an array in an object called Strings, instead of using the MessageOutput func.

This closes #2636.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-06 19:31:57 -04:00