Łukasz Magiera
00590fd293
mk: option to pass custom go executable
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-22 20:04:08 +02:00
Lars Gierth
952f658ada
core: make announced swarm addresses configurable
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-07-31 13:03:09 +02:00
Jeromy
7203c43b60
plugin: create plugin API and loader, add ipld-git plugin
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-12 21:53:59 +02:00
Jeromy
cccc6a94a3
update go-multihash and bubble up changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
Łukasz Magiera
962e1bbc45
Add test init profile
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-06 22:41:47 +02:00
Łukasz Magiera
a2fac218e2
Disable MDNS in server profile, move it out from init.go
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
140de0a83d
Add a bit of doc on init --profile
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
49645f00cf
Implement ipfs init --profile
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
zramsay
096b3232d5
address PR comments; remove commented/dead code
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
zramsay
c5df8f0796
apply the megacheck tool to improve code quality
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Lars Gierth
64ced367ac
gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-05-30 02:26:05 +02:00
Jeromy
b15470d548
bubble up updates from go-multihash changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
Timothy Hobbs
739a62e35e
Refactor: use ctx var consistently in daemon.go
...
License: MIT
Signed-off-by: Timothy Hobbs <timothyhobbs@seznam.cz>
2017-04-15 18:08:27 +02:00
Jakub Sztandera
52a293ae2d
make: fix make install not installing dependencies
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-31 13:52:59 +02:00
Jakub Sztandera
bf23a81bb3
make: fix make install not using ldflags for git hash
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-27 15:19:40 +02:00
Jeromy
295dea221f
Bump default ulimit to 2048
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-24 12:28:40 -07:00
Jakub Sztandera
6546aeade7
fix: multiple govet warnings
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 01:02:50 +01:00
Kevin Atkinson
28921471db
daemon: use fsrepo.IsInitialized to test for initialization
...
Use fsrepo.IsInitialized to test for initialization instead of just
testing if the directory exists.
Also add test cases for '--init' option, including one the creates an
empty directory.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 04:25:57 -04:00
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