Commit Graph

12675 Commits

Author SHA1 Message Date
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
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
Gus Eggert
7f3600cb08 chore: update IPFS Desktop testing steps (#8393)
* chore: update IPFS Desktop testing steps

Co-authored-by: Marcin Rataj <lidel@lidel.org>
(cherry picked from commit 65d570c6cb)
2021-09-27 18:13:24 -04:00
@RubenKelevra
63213c3e58 add more buttons; remove some sections covered in the docs; general cleanup
- added dynamic buttons for packages/downloads which shows the latest version where possible
- dynamic next milestone buttons
- reordered to have package managers and docker on top, manual downloads afterwards
- remove the docker and the cli section, since they are covered equally in the docs + button links
- added more sections to the navigation, to find stuff easier
- dynamic go requirement version button
- some social media buttons
- general cleanup

(cherry picked from commit 04d1369a63)
2021-09-27 18:13:24 -04:00
Jesse Bouwman
3906e6f349 go mod tidy ipfs library example
The code example for using IPFS as a library doesn't run unless indirect dependencies are updated:

```
$ go version
go version go1.17 linux/amd64
$ uname -a
Linux home 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
$ go run main.go
go: github.com/ipfs/go-ipfs@v0.9.1 requires
	github.com/ipfs/go-bitswap@v0.4.0: missing go.sum entry; to add it:
	go mod download github.com/ipfs/go-bitswap
go: github.com/ipfs/go-ipfs@v0.9.1 requires
	github.com/ipfs/go-bitswap@v0.4.0: missing go.sum entry; to add it:
	go mod download github.com/ipfs/go-bitswap
```

Remedied by:

```
$ go mod tidy
$ go run main.go
-- Getting an IPFS node running --
Spawning node on a temporary repo
    ...
```

Also, require go version 1.16, otherwise, example can fail under go
1.15 with errors like:

```
go build github.com/lucas-clemente/quic-go/internal/qtls:
    build constraints exclude all Go files in
    /home/jbouwman/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.23.0/internal/qtls
```

(cherry picked from commit cb189c7b78)
2021-09-27 18:13:24 -04:00
Petar Maymounkov
f00f7d2464 Cosmetic fixups in examples (#8325)
* test the examples in CI
* combine the two examples into a single one

(cherry picked from commit c9cc09f6f7)
2021-09-27 18:13:24 -04:00
Max
60fdf22cc8 perf: use performance-enhancing FUSE mount options
(cherry picked from commit 7b160fbb76)
2021-09-27 18:13:24 -04:00
guseggert
8516395059 fix: fix bifrost typo in comment
(cherry picked from commit 74633ca8a9)
2021-09-27 18:13:24 -04:00
guseggert
630e5e578e ci: publish Docker images for bifrost-* branches
(cherry picked from commit 3e49bb16b4)
2021-09-27 18:13:24 -04:00
guseggert
810a1749e0 chore: add comments to peerlog plugin about being unsupported
and also about the ugly config semantics

(cherry picked from commit ae09459e39)
2021-09-27 18:13:24 -04:00
guseggert
8f623139c2 test: add unit tests for peerlog config parsing
(cherry picked from commit c3ac1b4282)
2021-09-27 18:13:24 -04:00
guseggert
63dd43b8cd ci: preload peerlog plugin, disable by default
This preloads the peerlog plugin in the ipfs binary, but keeps it
disabled by default. To enabled it, set Enabled=true in its config.

The motivation is to simplify building and deploying gateways, and for
them to use binaries that are more similar to release bins.

(cherry picked from commit a35dd2ea0d)
2021-09-27 18:13:24 -04:00
Steven Allen
0884f2dd70 fix(mkreleaselog): specify the parent commit when diffing
Specifically, if you specify a commit, you get only that commit. This
means you get _nothing_ if you specify a merge commit.

Now, we specify to diff between a commit and it's (merge) parent.

(cherry picked from commit 4e132af3ef)
2021-09-27 18:13:24 -04:00
Adin Schmahmann
85e30b9b36 fuse: load unixfs adls as their dagpb substrates 2021-09-27 17:50:44 -04:00
Marten Seemann
2589e1f65e enable the legacy mDNS implementation 2021-09-27 17:50:00 -04:00