Commit Graph

7026 Commits

Author SHA1 Message Date
Lars Gierth
26770b7ebb
fsrepo: fix musl detection for migrations
The ldd command used for detection doesn't seem to have a
--version flag on Alpine Linux. It would print the expected
output, but instead of stdout, it would print it on stderr.

The musl detection code would only scan stdout for mentions
of "musl", and would thus *not* download the musl version
of the fs-repo-migrations executable.

This manifested in the well-known "fs-repo-migrations: not found"
error, which you get when executing something that was linked
against a different libc than the one present on the system.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-02-17 08:37:26 +01:00
Jeromy Johnson
765fb0f612 Merge pull request #3523 from ipfs/feat/ipv6-bootstrap
bootstrap: add a few /ip6 nodes
2017-02-16 17:00:37 -08:00
Jeromy Johnson
e5def26b92 Merge pull request #3687 from ipfs/feat/sub-obj-dag-get
Feat/sub obj dag get
2017-02-16 15:51:34 -08:00
Jeromy Johnson
8c521b685a Merge pull request #3693 from ipfs/kevina/pin-tests
Add back removed test.
2017-02-16 09:26:44 -08:00
Kevin Atkinson
6867c87bcf Add back removed test.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-02-15 17:35:29 -05:00
Jeromy Johnson
c98e20370d Merge pull request #3691 from ipfs/kevina/pin-tests
Add tests for recursively pinning a dag (i.e. large file).
2017-02-15 14:29:19 -08:00
Kevin Atkinson
4b566ede96 Add tests for recursively pinning a dag (i.e. large file).
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-02-15 16:51:40 -05:00
Jeromy Johnson
24a32bf9e8 Merge pull request #3602 from rht/throughput
Add closed PRs, Issues throughput
2017-02-14 14:33:47 -08:00
Jeromy Johnson
a2f27e1ac2 Merge pull request #3598 from Voker57/feat/frugal-enumerate
Pass cids instead of nodes around in EnumerateChildrenAsync
2017-02-14 14:29:32 -08:00
Iaroslav Gridin
6618932545 Re-enable async children enumerating in FetchGraph
License: MIT
Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
2017-02-14 14:09:40 +02:00
Iaroslav Gridin
08f342e8ba Pass cids instead of nodes around in EnumerateChildrenAsync
License: MIT
Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
2017-02-14 14:09:40 +02:00
Jeromy
cb611c8873 allow for sub-object resolution in dag get
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-13 19:15:17 -08:00
Jeromy
9d8a4afd75 add partial resolving to resolver code
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-02-13 16:25:59 -08:00
Jeromy Johnson
2e116b40eb Merge pull request #3649 from ipfs/deps/update-multihash
update go-multihash and bubble up deps
2017-02-13 10:00:58 -08: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
Jeromy Johnson
4028e89016 Merge pull request #3640 from ipfs/fix/pinset-obj-explosion
Make pinset sharding deterministic
2017-02-12 12:05:32 -08:00
Jeromy Johnson
ac2d7a001d Merge pull request #3684 from ipfs/misc/pull-in-release
Pull in release to master
2017-02-12 11:27:26 -08:00
Jakub Sztandera
3c1382d4dc
Merge remote-tracking branch 'origin/release' into misc/pull-in-release 2017-02-12 20:20:51 +01:00
Jeromy Johnson
79289b6fce Merge pull request #3683 from ipfs/misc/update-version
misc: increase version number to 0.4.6-dev
2017-02-12 11:20:33 -08:00
Jeromy Johnson
755bf3fea5 Merge pull request #3682 from ipfs/release-br/v0.4.5
Merge go-ipfs v0.4.5 release into release branch
2017-02-12 11:16:43 -08:00
Jakub Sztandera
4c20640a04
misc: increase version number to 0.4.6-dev
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 20:08:46 +01:00
Jakub Sztandera
8138536c50 Ipfs release version 0.4.5
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEXOC+rqhs4bQKiCA1h+NN/nLcK2sFAlifnvUACgkQh+NN/nLc
 K2uVHhAAscmiXT8zfKbKY9SRFdKFKArcDKX31DwhKZc2cefiNfFqtkqZylHN7GmJ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hS7G6zWQHCqsqmgfKUlV
 6tkbD9iEOUBwJ0XVCmITW4sgr4/c/x9Ja8Qd5cN8JJR2yIXQTyuWIZZ/qKosWmDg
 sfFG4Fggh0IIaVgNQhBSsTMlPsqQlO8OFXUJoXr9yhsLU/FaIyUYNO3JGNSfqfsQ
 0nWe9lyAPScd6vSRGBk+yhgV5GmTQRHHLt1Xsw2t0iRNm130gqemXyoBRKrYkZU2
 JxDWgXEJ6hkUfq4f07OPPy1GAsy9K4kQhcLrHmsctd5+xtY21acNyWXIlOzbJ5Wq
 Kciafkeq9i7IRMVU/0MvBWTbW1I6zSV/+386y+wjKeFHP6PLJW8OzSLNluZKgV4u
 JWcbV+nWeQbkh/Y7tywkiQxD5d2GkJf2kgE7MG3dCc11Ew8iEWE=
 =JVC3
 -----END PGP SIGNATURE-----

Merge tag 'v0.4.5' into release

Ipfs release version 0.4.5
2017-02-12 20:03:55 +01:00
Jeromy Johnson
e8bbc0be31 Merge pull request #3680 from ipfs/feat/makefile/fix-path-in-shell
make: fix PATH escaping
2017-02-12 11:03:24 -08:00
Jakub Sztandera
1d3e039367
make: fix PATH escaping
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 10:26:39 +01:00
Jeromy Johnson
37209f36ab Merge pull request #3663 from elopio/patch-1
add the snap installation instructions
2017-02-11 17:41:31 -08:00
Jeromy Johnson
e1619bf302 Merge pull request #3504 from ipfs/feat/makefile/refactor
Makefile rework and sharness test coverage
2017-02-11 17:26:10 -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
Jeromy Johnson
14d518683c Merge pull request #3675 from ipfs/gx/publish/0.4.5
gx publish 0.4.5, cleaner
2017-02-11 16:56:49 -08:00
Jakub Sztandera
1a5c21cd0b
mk/golang: fix multiple tags
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:53:54 +01:00
Jeromy
9e6471fe3c gx publish 0.4.5, cleaner
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-11 16:35:46 -08:00
Jakub Sztandera
e5a1097d52
Update gx
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:41 +01:00
Jakub Sztandera
dc128cb470
Make gx less verbose
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:41 +01:00
Jakub Sztandera
545f03e9c3
Jenkins CI
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:41 +01:00
Jakub Sztandera
dd63187826
make: make default rule 'aggregate' in sharness
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
a2e3aa5d78
make: fix standalone sharness run
The comparison was wrong

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
f6d70ab541
circleci: separate script to a file
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
c2d100f0ee
make: run coverage when distclean
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
730896c006
make: do not run coverage file unless clean of coverage targets are run
This reduces flat make time by half

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
5472dac317
make: delete gen-make-dep-chain
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
f77d01a965
make: add dummy makefile in sharness directory
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
a15e9fd8c6
make: revert the config showing error change
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
73a711b2df
make: revert the panic change in pin
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +01:00
Jakub Sztandera
5b4ecae946
cover: do a cross package coverage
Figured out the way to do it much more cheaply, only few % overhead over
normal coverage.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-12 01:18:40 +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 Johnson
9efd4c4db7 Merge pull request #3617 from Zanadar/cleanup/offline
Remove 'FindProviders` from routing mocks
2017-02-11 16:14:37 -08:00
Jeromy Johnson
b1f17bf889 Merge pull request #3674 from ipfs/gx/publish/0.4.5
gx publish 0.4.5
2017-02-11 16:13:41 -08:00
Jeromy
1061481aa5 gx publish 0.4.5
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-11 16:03:48 -08:00
Jeromy Johnson
2cb68b2210 Merge pull request #3673 from ipfs/release-0.4.5
Ipfs 0.4.5
2017-02-11 15:31:13 -08:00
Jeromy
81846eee5f Ipfs 0.4.5
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-11 13:55:38 -08:00