Jeromy
96e98a8e13
add sharness test for log endpoint
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:02 -07:00
rht
18f5fcea28
golint util/, thirdparty/
...
and exchange/bitswap/testutils.go
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
Juan Batiz-Benet
c73d0e0b56
Merge pull request #1346 from ipfs/tk/ls-trailing-tabs
...
core/commands/ls: Remove trailing tabs
2015-06-16 16:42:13 -07:00
Christian Couder
408a818b4a
ipfs-test-lib: use test_seq from sharness
...
As Sharness now includes test_seq we can remove
our implementation.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-14 11:21:32 +02:00
Christian Couder
0befe2bf88
install-sharness.sh: update sharness
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-13 22:40:34 +02:00
Christian Couder
ac9f441f1f
sharness/Makefile: force sharness version check
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-13 22:39:37 +02:00
Christian Couder
3101df56fa
install-sharness.sh: implement updates
...
We want to be able to update Sharness to benefit from
new features.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-13 22:36:47 +02:00
W. Trevor King
15135e10df
core/commands/ls: Remove trailing tabs
...
Since 607468a9 (beautify 'ipfs ls' and 'ipfs object links', #833 )
we've had these. That pull request was about text/tabwriter [1] and
elastic tabstops [2], but we don't need a column separator at the end
of each line.
[1]: https://golang.org/pkg/text/tabwriter/
[2]: http://nickgravgaard.com/elastic-tabstops/index.html
Licence: MIT
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-06-09 06:23:44 -07:00
Jeromy
c214210354
add some basic testing for object patch
2015-06-08 10:19:26 -07:00
Christian Couder
14a3315dc7
sharness/test-lib: use go-sleep to sleep
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-07 10:29:08 +02:00
Christian Couder
fd449af227
test/Makefile: build go-sleep
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-07 10:28:13 +02:00
Christian Couder
59cac0a161
test-lib: use test_seq()
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-03 23:53:24 +02:00
Christian Couder
3c2e0ba586
ipfs-test-lib: implement test_seq()
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-06-03 23:51:50 +02:00
Juan Batiz-Benet
898863d632
Merge pull request #1323 from ipfs/revert-godeps-update
...
Revert "godeps: update everything to master"
2015-06-03 14:26:16 -07:00
Jeromy
db98e77de9
add a test for issue repro
2015-06-03 08:41:25 -07:00
rht
9bdc1d6060
Test repeat in 10 sec: increase check frequency tenfold
2015-06-03 16:49:03 +07:00
Jeromy
ef294431d4
move util.Key into its own package under blocks
2015-06-01 16:10:08 -07:00
Juan Batiz-Benet
0f7f8ead04
disable constantly failing iptb tests
...
the iptb tests are failing all the time on travis. It's possible
this is still a port problem, and it may be something else.
Regardless, right now they're just adding noise.
2015-05-31 16:05:31 -07:00
Juan Batiz-Benet
109a618aca
iptb sharness tests: randomize ports
...
Otherwise they clash with each other if running on the same machine
2015-05-31 14:59:03 -07:00
Juan Batiz-Benet
b5bd29a5d7
Merge pull request #1290 from ipfs/feat/bitswap-speed
...
move findproviders out of critical path
2015-05-31 14:30:27 -07:00
rht
f5d5095b1b
Add newline to 'ipfs init' error message
2015-05-30 13:40:38 +07:00
rht
17d71c49ce
Add test for no repo error message
2015-05-30 13:13:27 +07:00
Jeromy
f574cd4b80
Move findproviders out of main block request path
...
This PR moves the addition of new blocks to our wantlist (and their
subsequent broadcast to the network) outside of the clientWorker loop.
This allows blocks to more quickly propogate to peers we are already
connected to, where before we had to wait for the previous findProviders
call in clientworker to complete before we could notify our partners of
the next blocks that we want. I then changed the naming of the
clientWorker and related variables to be a bit more appropriate to the
model. Although the clientWorker (now named providerConnector) feels a
bit awkward and should probably be changed.
fix test assumption
2015-05-29 18:28:36 -07:00
Juan Batiz-Benet
ecdf14962c
Merge pull request #1294 from rht/cleanup-tour
...
Cleanup tour
2015-05-29 16:59:17 -07:00
Henry
37b32a6587
sharness/daemon: improve error detection
2015-05-29 14:20:07 +02:00
Henry
dba455a59d
sharness/t0060-daemon: don't reuse expect/actual names
2015-05-28 18:01:50 +02:00
rht
3547f7ae33
Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)'
2015-05-26 23:18:04 +07:00
Christian Couder
ee3092f882
t0040: test ipfs add with stdin
...
Let's test 'ipfs add' with stdin input too.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-23 21:02:24 +02:00
Jeromy
cc905539ae
trying to debug permissions failure
2015-05-21 17:24:38 -07:00
Jeromy
60ac59139c
fix offline full path resolution bug
2015-05-21 14:45:30 -07:00
Jeromy
8ea502f1b3
clean up and fix init permissions handling
2015-05-20 09:46:09 -07:00
W. Trevor King
e4447b3c96
core/commands/publish: Fix published message
...
Previously we had a confusing situation, with:
* single-arg doc: published name <name> to <value>
* double-arg doc: published name <value> to <name>
* implementation: Published name <name> to <value>
Now we have the uniform:
Published to <name>: <value>
With the following goals:
1. It's clear that we're writing <value> to <name>'s IPNS slot in the
DHT.
2. We preserve the order of arguments from the command-line
invocation:
$ ipfs name publish <name> <value>
Published to <name>: <value>
2015-05-20 08:40:44 -07:00
Christian Couder
863f386251
t0040: add tests for ipfs cat with stdin
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-19 21:28:17 +02:00
rht
1e38f71a38
Add gofmt check
2015-05-19 06:11:15 +07:00
Juan Batiz-Benet
c946dbede3
sharness: randomize swarm address too.
...
This may take care of the daemon clashing on travis.
2015-05-10 08:28:35 -04:00
Juan Batiz-Benet
6dd8aeb00a
config set: allow arbitrary json input
...
This commit allows arbitrary json input to set.
It also tests this with sharness.
2015-05-10 08:28:35 -04:00
Henry
f640ba0089
core: add context.Context param to core.Resolve()
...
commands/object: remove objectData() and objectLinks() helpers
resolver: added context parameters
sharness: $HASH carried the \r from the http protocol with
sharness: write curl output to individual files
http gw: break PUT handler until PR#1191
2015-05-08 03:14:32 +02:00
Jeromy Johnson
95f01537a3
correct the blocksize calculation for link blocks
...
update hash for bigfile
2015-05-06 01:04:15 -07:00
Jeromy
9cf8c5cbc9
update iptb dependency and use different ports for each iptb cluster
...
update iptb dependency again, and pick different ports for each iptb cluster
try and fix godeps crap
2015-05-04 19:45:44 -07:00
Juan Batiz-Benet
cc5f6bb306
Merge pull request #1156 from ipfs/maintenance
...
Godeps maintenance
2015-04-29 12:28:03 -07:00
Vitor Baptista
5d1a25bbb9
core/commands: pin ls: display types by default
...
If you want to get only the hashes (i.e. the previous behaviour), you can use
the `--quiet` flag.
2015-04-28 19:15:15 +01:00
Henry
7a6febbe38
godeps: following up on PR #1098 to drop the facebookgo code
...
I want to follow this up with a thorough execution of my x/tool/cmd/eg experiments (https://github.com/ipfs/go-ipfs/compare/errRampage )
2015-04-28 13:42:23 +02:00
Juan Batiz-Benet
29c6a53e43
Merge pull request #1139 from AtnNn/flags
...
Improve command line parsing
2015-04-27 16:21:39 -07:00
Etienne Laurin
f168539030
Improve command line parsing
2015-04-27 17:19:38 +00:00
Jeromy
6da12b5398
address comments from CR
2015-04-26 22:32:12 -07:00
Jeromy
2c1c48a165
Add iptb sharness test for multi-ipns name resolution
2015-04-26 22:32:12 -07:00
Jeromy
3d80b9d27d
refactored ipns records to point to paths
...
Also changed the ipns dns resolution to use the "dnslink" format
2015-04-26 22:32:12 -07:00
Christian Couder
cfcc7c6839
test/Makefile: add bin/iptb into BINS
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-04-26 17:28:31 +02:00
Christian Couder
ad67f18dc8
t0130: small improvements
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-04-26 17:26:51 +02:00
Jeromy
89ff6dfdaa
add clone of 3node test using iptb instead of docker
...
rename directory and update vendored dep
cleanup
2015-04-22 21:25:52 -07:00