Commit Graph

12689 Commits

Author SHA1 Message Date
Rod Vagg
9e8b6e5b50
chore: replace go-merkledag walk with go-ipld-prime traversal for dag export (#8506)
* chore: replace go-merkledag walk with go-ipld-prime traversal for dag export

This is "safe" now because we can limit duplicate block loads like
go-merkledag does and won't get trapped taking a long time for complex
DAGs. We can do this while we're using an exhaustive selector (like
ExploreAll here) but will need an alternative strategy when we go for
arbitrary selectors.
2021-10-26 14:07:31 -04:00
Adin Schmahmann
acede6f73c
Examples no longer need go mod replace (#8516)
* chore: bump examples to use v0.10.0
* feat: build examples against released packages instead of using replace directives to refer to the parent repo
* ci: run examples against the latest (unreleased) version of go-ipfs
2021-10-26 11:31:50 -04:00
guseggert
5a61bedef5 test: add sharness test for reading ADLs with FUSE 2021-10-20 11:17:43 -04:00
Adin Schmahmann
3ae4af8268
ci: update ipfs interop tests (#8512)
* ci: update ipfs interop tests

Co-authored-by: Alex Potsides <alex@achingbrain.net>
2021-10-15 18:09:48 +02:00
Steven Allen
852684914a fix: allow the levelds compression level to be unspecified
Otherwise, the user will get a confusing panic. And given that we
support "", we might as well support nil.
2021-10-15 11:44:54 -04:00
Petar Maymounkov
2bb2f64c40
feat(ci): attach release assets from dist.ipfs.io (#8494)
Periodically compare release assets in dist.ipfs.io and github. Any assets found in dist.ipfs.io and not in github are copied over.
2021-10-15 08:38:42 -07:00
Steve Loeppky
8836a62438
Merge pull request #8457 from ipfs/docs/raw-leaves-in-cidv1 2021-10-14 08:42:23 -07:00
Steve Loeppky
c55fda4d6c
Merge pull request #8482 from ipfs/chore/agent-version-suffix-for-docker 2021-10-12 08:35:33 -07:00
Marcin Rataj
545571c328
Apply suggestions from code review
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-10-11 20:36:06 +02:00
arjunraghurama
6f9351a3ca
Added the missing heathcheck for the container (#8429)
* Added heathcheck for the docker container
2021-10-08 11:27:49 -04:00
Marcin Rataj
0b923b7951 chore: update dir-index-html to v1.2.2
https://github.com/ipfs/dir-index-html/releases/tag/1.2.2
2021-10-07 12:42:17 -04:00
Marcin Rataj
8b7432d6e8
chore: go-ipfs-files v0.0.9 (#8488)
Closes #8445
Closes #8406
2021-10-05 23:53:52 +02:00
Gus Eggert
0a4e484b4f
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-04 15:47:01 -04:00
Gus Eggert
eaf464c41b
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-04 15:28:17 -04:00
Petar Maymounkov
f50d43eb0d
add more logging to flaky TestPeersTotal
Cannot reproduce the flakiness at the moment. The report suggests that connections are established on different transports. Adding logging to show what these transports are.
2021-10-04 08:49:39 -07:00
Marcin Rataj
9f1ba46af3
chore: agent-version-suffix in docker image
Docker image already produces custom AgentVersion, this makes it
explicit and easier to reason about.
2021-10-02 02:05:05 +02:00
Gus Eggert
e4a5513045
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-01 17:04:10 -04:00
Gus Eggert
86dc88c126
Update RELEASE_ISSUE_TEMPLATE.md 2021-10-01 17:02:25 -04:00
Steve Loeppky
727df2ceaf
Updating chocolatey to reference go-ipfs 2021-10-01 08:12:47 -07:00
Adin Schmahmann
178a9165db Merge branch 'release' 2021-09-30 18:30:19 -04:00
Adin Schmahmann
64b532fbb1
Merge pull request #8474 from ipfs/release-v0.10.0
Release v0.10.0
2021-09-30 18:17:42 -04:00
Adin Schmahmann
72982d42c9 Release v0.10.0 2021-09-30 17:37:53 -04:00
Adin Schmahmann
163975bd87 chore: update changelog for v0.10.0
(cherry picked from commit 5d2a268cae)
2021-09-30 17:36:41 -04:00
Marcin Rataj
4822023d46 ci: move Docker image build to Actions (#8467)
* ci: move docker image publishing to github

Closes #8330

* chore: remove dockerhub push from circleci

(cherry picked from commit c0f282f00f)
2021-09-30 17:36:40 -04:00
Adin Schmahmann
5d2a268cae chore: update changelog for v0.10.0 2021-09-30 17:17:48 -04:00
Cory Schwartz
84291d172a
add testground plans to bitswap on CI
- Add a basic testground plan for bitswap
   - Showcases how to emit regressions stats from a testplan
- Add CI plumbing to run testplans on push
As a result of this PR, also:
- Created the ipfs/go-ipfs-regressions repo, which defines stats structures for the output of testplans and the input to regression analysis and tests
2021-09-29 13:22:33 -07:00
Marcin Rataj
c0f282f00f
ci: move Docker image build to Actions (#8467)
* ci: move docker image publishing to github

Closes #8330

* chore: remove dockerhub push from circleci
2021-09-28 22:30:36 +02:00
guseggert
9804f9a650 Revert "ci: trigger continuation on tags (#8466)"
This reverts commit 731b4de91c.
2021-09-28 13:52:54 -04:00
Gus Eggert
731b4de91c
ci: trigger continuation on tags (#8466)
When the config was wrapped in a continuation so that params could be
dynamically generated, this broke tag workflows since there was no
explicit tag filter anymore in config.yml. This attempts to fix that.

I may have gotten this wrong, since this is intrinsically hard to
test. We'll see next time we tag something.
2021-09-28 18:25:32 +02:00
Lucas Molas
485a5c291f
fix(cli): object add-link: do not allow blocks over BS limit (#8414)
* fix(cli): object add-link: do not allow blocks over BS limit
* refactor: allow-big-block

- renamed override flag to --allow-big-block
- separate tests for default and override behavior

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-09-28 15:27:15 +02:00
Adin Schmahmann
2f94dd0949 Release v0.10.0-rc2 2021-09-27 18:13:24 -04:00
Adin Schmahmann
680c80a9ff fuse: load unixfs adls as their dagpb substrates
(cherry picked from commit 85e30b9b36)
2021-09-27 18:13:24 -04:00
Marten Seemann
dba304790c enable the legacy mDNS implementation
(cherry picked from commit 2589e1f65e)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
0de095bb29 test: add dag get --ouput-codec test
(cherry picked from commit d576e53c04)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
cc58307398 change ipfs dag get flag name from format to output-codec
(cherry picked from commit 56a2ae92dc)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
0b85d4f28e chore: update go-path
(cherry picked from commit 5471092d85)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
9fe1ea6e01 test: check behavior of loading UnixFS sharded directories with missing shards
(cherry picked from commit 6bf4429082)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
9685afcf32 remove dag put option shortcuts
(cherry picked from commit b83651b220)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
2e8b0bfee7 change names of ipfs dag put flags to make changes clearer
(cherry picked from commit 2920679056)
2021-09-27 18:13:24 -04:00
Marten Seemann
534bd842c1 chore: update go-libp2p to v0.15.0
(cherry picked from commit 4969ed2b17)
2021-09-27 18:13:24 -04:00
Daniel Martí
c1419b525b make json, cbor, and git codecs error on empty input
(cherry picked from commit d6127b062c)
2021-09-27 18:13:24 -04:00
Rod Vagg
b3c3b2b92d feat: dag import --stats (#8237)
* feat: report block count on `dag import`
* fix: clean-up dag import message format
* Only print stats when --stats flag is passed

This applies to both text and json output encoding.

- Stats data is now contained within a Stats datastructure
- Stats are printed after root so that first line of output is the same as previously, even when stats are output using --stats

* fix sharness test

* Add PayloadBytesCount to stats

* Attempt to stabilize flaky tests

* Rename PayloadBytesCount to BlockBytesCount

* Correctly calculate size or imported dag

* Use RawSize of original block for import bytes calc

* test: dag import without --stats

basic regression tests for the default output (text and json)

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
(cherry picked from commit 0057199af4)
2021-09-27 18:13:24 -04:00
Marcin Rataj
f7fd3e57a1 feat: ipfs-webui v2.13.0 (#8430)
Release Notes: https://github.com/ipfs/ipfs-webui/releases/tag/v2.13.0

(cherry picked from commit 6a10c1df81)
2021-09-27 18:13:24 -04:00
Lucas Molas
94bd2981b9 feat(cli): add daemon option --agent-version-suffix (#8419)
* feat(cli): add daemon option --agent-version-suffix
* fix sharness test when commit is empty (release)

(cherry picked from commit 3a84352f18)
2021-09-27 18:13:24 -04:00
Andey Robins
ef5dd4a186 feat: multibase transcode command (#8403)
* Add a transcoder command to multibase

In order to more easily facilitate the conversion
between multibase formats, include a transcode command
to avoid `multibase decode | multibase encode`

* Example code needed go mod tidy

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
(cherry picked from commit c89110920e)
2021-09-27 18:13:24 -04:00
Steven Allen
e3dfc930a2 fix: take the lock while listing peers
(cherry picked from commit 92854db7ae)
2021-09-27 18:13:24 -04:00
Takashi Matsuda
6288f0b5ad feature: 'ipfs swarm peering' command (#8147)
* feat: added swarm peering command supporting add, ls and rm

Co-authored-by: Steven Allen <steven@stebalien.com>
(cherry picked from commit a651045c50)
2021-09-27 18:13:24 -04:00
Lucas Molas
bb49492174 fix(sharness): add extra check in flush=false in files write
(cherry picked from commit cfdfbc3ebc)
2021-09-27 18:13:24 -04:00
guseggert
ce64237f26 ci: drop unit tests make jobs back to 1
This was accidentally bumped up, but it doesn't need to be and slows
things down rather than helps.

(cherry picked from commit ef0428af40)
2021-09-27 18:13:24 -04:00
guseggert
a49ff327dc ci: use dynamic config for CircleCI
When developing against ipfs/go-ipfs, we would like to be able to use
the 2xlarge resource class for faster build and test cycles, but many
external contributers will not have this resource class available to
them. There is no direct way to change the resource class, so this
uses dynamic config to generate a parameters JSON obj which is then
fed into the configuration when the workflow starts, based on the Git
URL of the build.

For repos other than ipfs/go-ipfs, this reverts back to the "medium"
resource class with a Make job parallelism of 3.

(cherry picked from commit b2c3959a4f)
2021-09-27 18:13:24 -04:00