Commit Graph

3820 Commits

Author SHA1 Message Date
Jeromy
2c8cb9fc75 bandwidth metering on streams
humanize bandwidth output

instrument conn.Conn for bandwidth metrics

add poll command for continuous bandwidth reporting

move bandwidth tracking onto multiaddr net connections

another mild refactor of recording locations

address concerns from PR

lower mock nodes in race test due to increased goroutines per connection
2015-03-31 19:58:08 -07:00
Jeromy Johnson
be598ad195 Merge pull request #987 from ipfs/feat/pubkey-cache
cache public keys and use better method for fetching
2015-03-31 19:05:25 -07:00
Jeromy
bb1b0d50e0 Address comments from PR 2015-03-31 18:17:58 -07:00
Jeromy
97aeda9ae8 cache public keys and use better method for fetching 2015-03-31 18:17:58 -07:00
Jeromy Johnson
5e3f9f3574 Merge pull request #986 from ipfs/feat/dht-bw-usage
reduce dht bandwidth consumption
2015-03-31 18:15:18 -07:00
Juan Batiz-Benet
9d7603eb3e Merge pull request #926 from ipfs/t0030_remove_expected_failures
t0030: replace some expect_failure with expect_success
2015-03-31 17:52:27 -07:00
Christian Couder
e0c4638496 t0030: replace some expect_failure with expect_success
It looks like some tests that were expected failures
are now always succeeding, so let's mark them as such.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-31 17:26:22 -07:00
Juan Batiz-Benet
79360bbd32 Merge pull request #996 from ipfs/switch-github-repo
Reorged from jbenet/go-ipfs to ipfs/go-ipfs
2015-03-31 15:54:55 -07:00
Ho-Sheng Hsiao
1984274b54 [DOC] Added README.md for generating assets 2015-03-31 14:16:55 -07:00
Ho-Sheng Hsiao
bf22aeec0a Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
Juan Batiz-Benet
a768e5881a Merge pull request #988 from jbenet/feat/fuse-id
set proper UID and GID on fuse filesystems
2015-03-30 15:39:14 -07:00
Jeromy
9715cab58d set proper UID and GID on fuse filesystems 2015-03-30 14:56:42 -07:00
Jeromy
a437240989 reduce dht bandwidth consumption
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-03-30 07:54:17 -07:00
Juan Batiz-Benet
8a533be02f Merge pull request #977 from jbenet/t0051_add_online_tests
t0051: test ipfs object online as well as offline
2015-03-29 14:44:15 -07:00
Juan Batiz-Benet
94b8cd9cc8 Merge pull request #976 from jbenet/t0045_add_online_tests
t0045: test ipfs ls online as well as offline
2015-03-29 14:42:58 -07:00
Christian Couder
327c59f7f0 t0051: test ipfs object online as well as offline
To do that the current tests are move inside a
test_object_cmd() function. This function is then first
called before running the daemon for offline tests
and then after starting the daemon for online tests.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-29 18:32:51 +02:00
Christian Couder
02dfb9f8ea t0045: test ipfs ls online as well as offline
To do that the current tests are move inside a
test_ls_cmd() function. This function is then first
called before running the daemon for offline tests
and then after starting the daemon for online tests.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-29 17:46:27 +02:00
Juan Batiz-Benet
11dc94b50c Merge pull request #965 from MichaelMure/patch-1
Add a basic command line completion for IPFS
2015-03-25 17:42:50 -07:00
Michael Muré
666f457fec Mention the shell command completion in the Readme 2015-03-25 23:50:15 +01:00
Michael Muré
a1ac0b55c0 Add a basic command line completion for IPFS
Does auto-complete for the ipfs commands, subcommands and parameters.

Reported to works for bash and zfs

The completion could be smarter for some parameters (marked as #TODO)
2015-03-25 22:14:44 +01:00
Juan Batiz-Benet
b4da412b8f Merge pull request #958 from jbenet/godeps
godeps update
2015-03-24 15:39:03 -07:00
Juan Batiz-Benet
ba1b196ddb Merge pull request #939 from jbenet/ipns/fuse
refactor ipns fuse to utilize ipnsfs
2015-03-24 15:20:32 -07:00
Jeromy
5440bb0e6d fix WriteAt race condition 2015-03-24 12:23:01 -07:00
Jeromy
13c489eca1 fix context respect through fuse reading 2015-03-24 12:23:01 -07:00
Jeromy
d8bc95f43e invalidate merkledag cache when modifying children 2015-03-24 12:23:01 -07:00
Jeromy
13de031b44 code cleanup and better naming of methods 2015-03-24 12:23:01 -07:00
Jeromy
b9658f0cb2 refactor ipns fuse to utilize ipnsfs 2015-03-24 12:23:01 -07:00
Henry
c5a69db601 updated godeps 2015-03-23 09:51:44 +01:00
Juan Batiz-Benet
a3404f4abf updated goprocess ref 2015-03-23 01:10:07 -07:00
Juan Batiz-Benet
8a1783beb8 .artifact_files for gobuilder 2015-03-22 14:25:28 -07:00
Juan Batiz-Benet
41e93f6d11 Merge pull request #952 from jbenet/tests/pollEndpointErrors
pollEndpoint: improve error output
2015-03-22 11:55:14 -07:00
Juan Batiz-Benet
905f0a5b4c Merge pull request #955 from kkoroviev/fix-fuse-heisenbug
FUSE: Stop treating "no errors" as an error
2015-03-22 11:46:33 -07:00
Konstantin Koroviev
b6c0ade276 FUSE: Stop treating "no errors" as an error 2015-03-22 17:50:20 +02:00
Henry
6350cff7c0 pollEndpoint: improve error output 2015-03-22 14:28:17 +01:00
Juan Batiz-Benet
039526b93c Merge pull request #953 from jbenet/t0090_add_offline_tests
t0090: test ipfs get offline as well as online
2015-03-21 17:50:15 -07:00
Juan Batiz-Benet
3edf4a2f5a Merge pull request #954 from jbenet/add_test_readme_with_coverage
test: add README with sharness test command coverage
2015-03-21 17:34:45 -07:00
Christian Couder
32a2403908 test: add README with sharness test command coverage
See issue #906 (sharness test command coverage) that
discussed this.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-21 09:30:45 +01:00
Christian Couder
c60163183a t0090: test ipfs get offline as well as online
To do that the current tests are move inside a
test_get_cmd() function. This function is then first
called before running the daemon for offline tests
and then after starting the daemon for online tests.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-21 09:14:24 +01:00
Juan Batiz-Benet
1f5aa5d606 Merge pull request #951 from jbenet/feat/lsHeaders
Feat/ls headers
2015-03-20 16:17:45 -07:00
Henry
07008042f1 ipfs ls: added --headers option
- added tests for 'ipfs ls --headers'
- comments from CR (opts)
- sharness: fix ls test whitespace
2015-03-20 15:34:56 -07:00
Juan Batiz-Benet
c0f74b92f9 Merge pull request #946 from kkoroviev/t0060-daemon
t0060-daemon.sh: Add 1 test
2015-03-20 12:25:19 -07:00
Konstantin Koroviev
d70912fff1 t0060-daemon.sh: Add 1 test 2015-03-19 16:38:22 +02:00
Juan Batiz-Benet
59f2f2fe8d Merge pull request #944 from jbenet/dht-bootstrap-tone-down
dht: tone down dht bootstrap
2015-03-19 04:27:44 -07:00
Juan Batiz-Benet
60b18d3ad1 dht: tone down dht bootstrap
move to a less aggressive period. 5m instead of 20s
2015-03-19 04:02:00 -07:00
Juan Batiz-Benet
415aa2c661 Merge pull request #942 from jbenet/fix/pin-init
fix for weird repo init issue
2015-03-18 22:50:18 -07:00
Jeromy
3bf7d5c27e test for pinning semantics 2015-03-18 22:38:57 -07:00
Jeromy
6bf341302c fix for weird repo init issue 2015-03-18 16:11:47 -07:00
Juan Batiz-Benet
e9ee1a36e6 Merge pull request #941 from jbenet/travis-multi-os
travis: enable osx
2015-03-18 02:25:44 -07:00
Juan Batiz-Benet
5b4f4328fd 3nodetest: dont fail because of logs 2015-03-18 02:11:45 -07:00
Juan Batiz-Benet
76451fd9ed travis: enable osx 2015-03-18 01:44:37 -07:00