Commit Graph

6504 Commits

Author SHA1 Message Date
Jeromy
fb05a5fbb8 trying to debug random test failures
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-19 19:37:03 -07:00
Jeromy Johnson
f23cd5c84c Merge pull request #3189 from ipfs/feat/metrics/interface
metrics: introduce go-metrics-interface
2016-09-19 18:02:14 -07:00
Jeromy Johnson
3857ded22e Merge pull request #3236 from ipfs/docs/manual/gx-with-u
readme: add `-u` to gx install commands in manual build instructions
2016-09-19 17:55:32 -07:00
Jakub Sztandera
56004ca6c2
readme: add -u to gx install commands in manual build instructions
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-19 16:59:51 +02:00
Jeromy Johnson
73cd8b3e98 Merge pull request #3222 from ipfs/kevina/add-no-pin-lock
Adder: Don't hold the PinLock when not pinning.
2016-09-14 18:49:08 -04:00
Kevin Atkinson
7bf30c3111 Adder: Don't hold the PinLock when not pinning.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-09-14 16:55:39 -04:00
Jeromy Johnson
98fdffab9a Merge pull request #3006 from ipfs/feature/edit-issue-reporting-guides
Edit issue reporting guides
2016-09-14 15:57:26 -04:00
Jeromy Johnson
0aa136a98e Merge pull request #3206 from ipfs/feat/writable-flag
gateway: fix --writable flag :|
2016-09-14 13:50:32 -04:00
Jeromy Johnson
85da76a4ee Merge pull request #3217 from ipfs/fix/package-json
gx: fix dvcsimport path in package.json
2016-09-13 10:26:56 -04:00
Jakub Sztandera
7398543a81
gx: fix dvcsimport path in package.json
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 15:10:19 +02:00
Jakub Sztandera
9cbeffa376
metrics: do explicit metrics injection
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:29 +02:00
Jakub Sztandera
c7d89662a1
metrics: do not run bloom fillrate collector when metrics are inactive
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:10 +02:00
Jakub Sztandera
a5899a4fb9
deps: update go-metrics-interface and -prometheus to 0.1.2
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:10 +02:00
Jakub Sztandera
7faa32459a
metrics: fix peer number metric in offline mode
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:10 +02:00
Jakub Sztandera
5f0be2eaa9
blockstore: add Bloom fill ratio metric
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:10 +02:00
Jakub Sztandera
95dca1ecdf
blockstore: update bbloom
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:09 +02:00
Jakub Sztandera
d1237f1c90
blockstore: change order of newARCCachedBS parmaeters
so the context is first one

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:09 +02:00
Jakub Sztandera
66a031f17c
blockstore: move ARC cache below the bloom cache
ARC cache is influenced by requests and bloom isn't
This means that if bloom is able to remove some requests caching them in
ARC is pointless.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:09 +02:00
Jakub Sztandera
3251c29f15
metrics: add hit counter for ARC and bloom caches
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:09 +02:00
Jakub Sztandera
a2bb6e8edf
metrics: update prometheus
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-13 14:00:09 +02:00
Jeromy Johnson
3722e90501 Merge pull request #3210 from ipfs/deps/libp2p/3.5.1
Update libp2p to have fixed spdystream dep
2016-09-12 17:56:25 -04:00
Jeromy Johnson
87517b74e1 Merge pull request #3097 from ipfs/test/unixfs/reader-cover
test: 80% coverage of unixfs/io [WIP]
2016-09-12 17:34:35 -04:00
Jeromy
1de17e2233 Update libp2p to 3.5.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 14:26:55 -07:00
Jeromy Johnson
19fd0c63f0 Merge pull request #3201 from kulla/readme-sudo
README.md: Add sudo to install commands.
2016-09-12 16:27:16 -04:00
Jeromy
1bb6a842c5 Update libp2p to have fixed spdystream dep
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 07:47:04 -07:00
Jakub Sztandera
0750c873c1
test: add dirbuilder tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 14:22:49 +02:00
Jakub Sztandera
a547d88094
test: add unixfs/reader tests for WriteTo and size
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
86942c8969
test: add metadata node testcase to dagreader.go
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
b699e71c0b
test: add invialid protobuf data testcase to dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
8ccaf5bbfa
test: add test for bad node types in dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
707f466713
test: add reverse relative seeking test to dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
cd22fb1085
test: add relative seek test to dagreader
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
91f2765ff0
test: add absolute seek test
move tests to different file

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
452a1d28a3
test: refactor some utities out of mod package
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:55 +02:00
Jakub Sztandera
4f1a861bed
test: use mdag/test.Mock() instead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:17 +02:00
Jakub Sztandera
02f6bd63ba
test: add basic dagreader test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-09-12 13:12:16 +02:00
Lars Gierth
fc8e6de6a9 gateway: fix --writable flag :|
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-09-11 21:09:09 +02:00
Jeromy Johnson
0e2b4eb4eb Merge pull request #3204 from geoah/chore/extract-thirdparies
Extract thirdparty/loggables and thirdparty/peerset
2016-09-10 23:44:26 -04:00
George Antoniadis
89d8ca5798 Extract peerset, update peer, peerset, secio, libp2p
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:22:17 +01:00
George Antoniadis
5e72b94a5a Extract thirdparty/loggables
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:15:31 +01:00
Jeromy Johnson
679af2051c Merge pull request #3203 from ipfs/fix/dht-newstream-proto
dht: add missing protocol ID to newStream call
2016-09-10 16:09:54 -04:00
Jeromy
fddfb74020 dht: add missing protocol ID to newStream call
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-10 12:57:12 -07:00
Stephan Kulla
d00097f57c README.md: Add sudo to install commands.
Most users will need `sudo` to run the installation script successfully.

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-10 12:40:54 +02:00
Jeromy Johnson
e30576dfee Merge pull request #3194 from kulla/install-sh-refactoring
Refactoring install.sh
2016-09-09 18:17:12 -04:00
Jeromy Johnson
1a5994a01d Merge pull request #3198 from geoah/chore/extract-key
Extract blocks/key to ipfs/go-key
2016-09-09 14:06:22 -04:00
Jeromy Johnson
5f933be1ec Merge pull request #3132 from ipfs/feat/versioned-protos
use correct protocol names for ipfs services
2016-09-09 13:38:57 -04:00
George Antoniadis
6859b8ccd8 Extract key and datastore
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-09 15:52:25 +01:00
Jeromy Johnson
3babf40e74 Merge pull request #3187 from ipfs/feat/cidv0
Rework go-ipfs to use content IDs version 0
2016-09-09 10:14:39 -04:00
Stephan Kulla
465e4b9f75 install.sh: Remove -t parameter from mv command.
Return to the old definition of the mv command since there is no `-t`
parameter in `mv` of BSD. Cf.
https://www.freebsd.org/cgi/man.cgi?query=mv&sektion=1

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-08 16:55:07 +02:00
Jeromy Johnson
531b89abc9 Merge pull request #3143 from ipfs/feat/bs/rename-hashonread
blockstore: rename RuntimeHashing to HashOnRead
2016-09-08 09:30:03 -04:00