Commit Graph

766 Commits

Author SHA1 Message Date
Jeromy
4e168dc323 update go-libp2p-kad-dht with getclosestpeers fix
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-05 23:06:04 -08:00
Jeromy Johnson
d2f41e22fe Merge pull request #3725 from ipfs/feat/better-muxer
feat: remove broken spdy multiplexer and enable multiplex by default as second option
2017-03-02 09:15:16 -08:00
Jakub Sztandera
f5885584d1
cleanup: metrics collection
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:28:34 +01:00
Friedel Ziegelmayer
8b2aa5617d feat: remove broken spdy multiplexer and enable mplex by default
License: MIT
Signed-off-by: Friedel <dignifiedquire@gmail.com>
2017-03-01 23:28:05 -08:00
Jeromy Johnson
7b27f1f840 Merge pull request #3723 from ipfs/fix/daemon/late-gw
daemon: move gateway start to latter
2017-03-01 16:45:14 -08:00
Jakub Sztandera
753066b8cd
daemon: move gateway start to latter
To prevent panic when daemon closes early.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-24 20:09:43 +01:00
Jakub Sztandera
faca4518b3
pnet: integrate PNet
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-22 20:04:56 +01:00
Jeromy
b4eeff2d84 update go-multihash and bubble up deps
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
Jakub Sztandera
f55206d336
make: reimplement commit ref in version
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 02:14:48 +01:00
Jakub Sztandera
cd78168d23
cover: remove Godeps from coverage, add cmd/ipfs to coverage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
f630222580
make: rework makefiles for non-recursive make and add sharness coverage
This commit introduces non-recursive Makefile infrastructure that replaces current Makefile infrastructure.
It also generally cleanups the Makefiles, separates them into nicer sub-modules and centralizes common operations into single definitions.

It allows to depend on any target that is defined in the makefile, this means that for example `gx install` is called once when `make build test_expensive_sharness` is called instead of 4 or 5 times.

It also makes the dependencies much cleaner and allows for reuse of modules. For example sharness coverage collection (WIP) uses sharness target with amended PATH, previously it might have been possible but not without wiring in the coverage collection into sharness make runner code.

Yes, it is more complex but not much more. There are few rules that have to be followed and few complexities added but IMHO it is worth it.

How to NR-make:
1. If make is to generate some file via a target, it MUST be defined in Rules.mk file in the directory of the target.
2. `Rules.mk` file MUST have `include mk/header.mk` statement as the first line and `include mk/footer.mk` statement as the last line (apart from project root `Rules.mk`).
3. It then MUST be included by the closest `Rules.mk` file up the directory tree.
4. Inside a `Rules.mk` special variable accessed as `$(d)` is defined. Its value is current directory, use it so if the `Rules.mk` file is moved in the tree it still works without a problem. Caution: this variable is not available in the recipe part and MUST NOT be used. Use name of the target or prerequisite to extract it if you need it.
5. Make has only one global scope, this means that name conflicts are a thing. Names SHOULD  follow `VAR_NAME_$(d)` convention. There are exceptions from this rule in form of well defined global variables. Examples: General lists `TGT_BIN`, `CLEAN`; General targets: `TEST`, `COVERAGE`; General variables: `GOFLAGS`, `DEPS_GO`.
3. Any rules, definitions or variables that fit some family SHOULD be defined in `mk/$family.mk` file and included from project root `Rules.mk`

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jeromy
0cbbdae1a3 add in option to use nil-routing
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-17 14:27:41 -08:00
Kevin Atkinson
499cdfd76a Fix weird trailing message in default os check.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-01-11 22:22:34 -05:00
Jeromy
58a2c5f815 cmd/ipfs: error out on invalid routing option
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-07 16:51:40 -08:00
Jakub Sztandera
650eeee7cc
Rework tags and flags passing in Makefile
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 17:34:07 +01:00
Jeromy Johnson
a1d2d47a9d Merge pull request #3447 from ipfs/feat/multiplex-experiment
add option to enable go-multiplex experiment
2016-12-04 17:02:49 -08:00
Jeromy
10ddd40f7b add option to enable go-multiplex experiment
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-04 16:29:03 -08:00
Jeromy
1cd7e58c80 ulimit: handle freebsd ulimit code separately from the rest of the unixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-30 10:27:22 -08:00
Jeromy
53d47669da bubble up go-datastore deps
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
Jakub Sztandera
1e3b4aef66
cmd: validate repo/api file and print nicer error messag
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 19:19:37 +01:00
Vasily Kolobkov
b0a51bf1f5 Tune resource limits on BSDs
License: MIT
Signed-off-by: Vasily Kolobkov <polezaivsani@openmailbox.org>
2016-11-11 11:33:50 +02:00
Jeromy Johnson
e91072121d Merge pull request #3352 from ipfs/feat/stream-inspection
allow listing of streams to connected peers
2016-11-05 19:22:45 -07:00
Jeromy
489c99b7e2 no longer hard code gomaxprocs
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-04 10:51:19 -07:00
Jeromy
ec21220907 update go-libp2p
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-03 20:06:32 -07:00
Jeromy Johnson
4b793f9194 Merge pull request #3259 from ipfs/kevina/local-mode
Distinguish between Offline and Local Mode.
2016-11-02 14:04:36 -07:00
Richard Littauer
9843e86258 Changed so only explicit ipfs cli commands are lowercased
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
Richard Littauer
9aaa743a51 docs: decapitalize IPFS where possible
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:54:36 -07:00
Jakub Sztandera
06a5381c2a
feat: make metrics injection log an error instead of warning
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-10-18 18:19:02 +02:00
Jakub Sztandera
de34ef813b
Fix metrics being injected after node initalization
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-10-18 08:59:15 +02:00
Jeromy
affb06d558 run gofmt
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 07:00:38 -07:00
Jeromy
1f9ec4e3ed update to libp2p 4.0.1 and propogate other changes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
Jeromy Johnson
429decc906 Merge pull request #3269 from ipfs/feat/dht-client-mode
add experimental dht client mode flag
2016-10-01 11:38:08 -07:00
Jeromy
91db6f31c2 update floodsub version 0.6.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:33:00 -07:00
Jeromy
009301bf7f hide pubsub behind feature flag
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:25:10 -07:00
Jeromy
a7762da3f8 add note in daemon helptext about new routing type
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:10:20 -07:00
Jeromy
56a8c43aaf add experimental dht client mode flag
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-30 16:10:20 -07:00
Jeromy
e43c770530 update libp2p and dht packages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-25 23:42:14 -07:00
Kevin Atkinson
bf8021302c Distinguish between Offline and Local Mode.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-09-24 22:03:45 -04:00
Jeromy
5457a85cef
Merge branch 'version/0.4.3-rc4'
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-20 19:10:10 -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
0aa136a98e Merge pull request #3206 from ipfs/feat/writable-flag
gateway: fix --writable flag :|
2016-09-14 13:50:32 -04: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
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
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
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
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
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