Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Release v0.10.0 #8475

Merged
merged 36 commits into from
Sep 30, 2021
Merged

Merge Release v0.10.0 #8475

merged 36 commits into from
Sep 30, 2021

Conversation

aschmahmann
Copy link
Contributor

No description provided.

aschmahmann and others added 30 commits August 20, 2021 10:41
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 4e132af)
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 a35dd2e)
and also about the ugly config semantics

(cherry picked from commit ae09459)
(cherry picked from commit 74633ca)
* test the examples in CI
* combine the two examples into a single one

(cherry picked from commit c9cc09f)
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/[email protected] requires
	github.com/ipfs/[email protected]: missing go.sum entry; to add it:
	go mod download github.com/ipfs/go-bitswap
go: github.com/ipfs/[email protected] requires
	github.com/ipfs/[email protected]: 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/[email protected]/internal/qtls
```

(cherry picked from commit cb189c7)
…leanup

- 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 04d1369)
* chore: update IPFS Desktop testing steps

Co-authored-by: Marcin Rataj <[email protected]>
(cherry picked from commit 65d570c)
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 b2c3959)
This was accidentally bumped up, but it doesn't need to be and slows
things down rather than helps.

(cherry picked from commit ef0428a)
* feat: added swarm peering command supporting add, ls and rm

Co-authored-by: Steven Allen <[email protected]>
(cherry picked from commit a651045)
* 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 <[email protected]>
(cherry picked from commit c891109)
* feat(cli): add daemon option --agent-version-suffix
* fix sharness test when commit is empty (release)

(cherry picked from commit 3a84352)
* 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 <[email protected]>
Co-authored-by: Marcin Rataj <[email protected]>
(cherry picked from commit 0057199)
(cherry picked from commit 4969ed2)
(cherry picked from commit b83651b)
(cherry picked from commit 5471092)
(cherry picked from commit d576e53)
aschmahmann and others added 6 commits September 27, 2021 18:13
* ci: move docker image publishing to github

Closes #8330

* chore: remove dockerhub push from circleci

(cherry picked from commit c0f282f)
(cherry picked from commit 5d2a268)
@aschmahmann aschmahmann merged commit 178a916 into master Sep 30, 2021
@BigLep BigLep linked an issue Sep 30, 2021 that may be closed by this pull request
62 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release v0.10