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

Prepare for v2.8.1 release #3596

Merged
merged 1 commit into from Mar 1, 2022
Merged

Prepare for v2.8.1 release #3596

merged 1 commit into from Mar 1, 2022

Conversation

milosgajdos
Copy link
Member

The previous release caused a bit of a Go modules kerfuffle. Let's get this sorted in the patch release.

@codecov-commenter
Copy link

Codecov Report

Merging #3596 (3f1cba2) into release/2.8 (e4a447d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           release/2.8    #3596   +/-   ##
============================================
  Coverage        58.72%   58.72%           
============================================
  Files              102      102           
  Lines             7104     7104           
============================================
  Hits              4172     4172           
  Misses            2286     2286           
  Partials           646      646           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4a447d...3f1cba2. Read the comment docs.

pre_release = false

preface = """\
The 2.8.1 registry release fixes the Go module issues that have popped up in the v2.8.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include a mention something like "no changes in binary releases" ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisdoherty4
Copy link

chrisdoherty4 commented Feb 24, 2022

Is there any way, as part of this, we can update docs for 2.8.0+incompatible to make clear its borked? Perhaps an addendum to the 2.8.0 release notes or something?

@thaJeztah
Copy link
Member

Is there any way, as part of this, we can update docs for 2.8.0 to make clear its borked? Perhaps an addendum to the 2.8.0 release notes or something?

An addendum could make sense (from a docs perspective) (but we should be clear it's only an issue for consumers of the Go code as dependency, and no issues with the binary itself)

As to making it easier to discover that from a go modules perspective; I know it's possible to "retract" a module (see https://go.dev/ref/mod#go-mod-file-retract), but doing so.. requires the module to be a "module" (having a go.mod, which the v2 branches do not have, and can't have).

I don't think it's possible either to add the retract to the go.mod in the main branch, because:

  • the main branch is a different module (github.com/distribution/distribution vs github.com/docker/distribution) and v3 (which also makes it a different module)
  • the main branch (the "new" module) has no release yet, so may not be looked at for that reason

Perhaps there's other ways to retract a module (through pkg.go.dev?) but I haven't looked into that.

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
@chrisdoherty4
Copy link

chrisdoherty4 commented Feb 24, 2022

So if I understand the history here correctly, the project has evolved from docker/distribution to distribution/distribution where the latter begins at v3 but also supersedes the former that is v2, however v2 doesn't use modules?

I don't think its possible to retract a +incompatible because of its semantics so it might be a documentation effort only.

@chrisdoherty4
Copy link

You can file a request on pkg.go.dev to have the package removed but it doesn't mention removing a version of a package. Might be worth raising an issue anyway to see what they say.

@milosgajdos
Copy link
Member Author

I'm ok with doc addendum.

I'm not sure how long it will take pkg.go.dev to follow up on our potential request and if we can actually remove a version. we can open an issue, but that shouldnt prevent us from progressing with this.

Copy link
Collaborator

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@milosgajdos milosgajdos merged commit 9a0196b into distribution:release/2.8 Mar 1, 2022
@milosgajdos milosgajdos deleted the fix-go-mod-v2.8.1 branch March 1, 2022 11:37
fgutmann pushed a commit to fgutmann/cluster-api that referenced this pull request Apr 5, 2022
The 2.8.0 release had an issue with go.sum when using GOPROXY=direct.
The only change in 2.8.1 is addressing this issue.

See here for more details:
distribution/distribution#3596
fgutmann pushed a commit to fgutmann/cluster-api that referenced this pull request Apr 6, 2022
The 2.8.0 release had an issue with go.sum when using GOPROXY=direct.
The only change in 2.8.1 is addressing this issue.

See here for more details:
distribution/distribution#3596
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.

None yet

5 participants