Skip to content

Conversation

@thaJeztah
Copy link
Member

The reference/docker package was a fork of github.com/distribution/distribution, which could not easily be used as a direct dependency, as it brought many other dependencies with it.

The "reference' package has now moved to a separate repository, which means we can replace the local fork, and use the upstream implementation again.

The "reference" package was moved to a separate module, which was extracted from distribution/distribution@b9b1940

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

The reference/docker package was a fork of github.com/distribution/distribution,
which could not easily be used as a direct dependency, as it brought many other
dependencies with it.

The "reference' package has now moved to a separate repository, which means
we can replace the local fork, and use the upstream implementation again.

The new module was extracted from the distribution repository at commit:
distribution/distribution@b9b1940

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah changed the title replace reference/docker for github.com/distribution/reference module replace reference/docker for github.com/distribution/reference v0.5.0 Aug 31, 2023
@thaJeztah thaJeztah marked this pull request as ready for review August 31, 2023 13:56
@thaJeztah
Copy link
Member Author

thaJeztah commented Aug 31, 2023

A first (v0.5.0) release of the module was done, so this should be ready for prime-time now. Given that the module is (see git move) an exact copy of the old code, we could even consider including this in release branches (but we could consider leaving out the "Deprecated:" comments).

/cc @dmcgowan @dims

edit: forgot that containerd didn't have the latest changes; there are some diffs, so worth looking at when deciding

@k8s-ci-robot k8s-ci-robot requested review from dims and dmcgowan August 31, 2023 13:59
@dims
Copy link
Member

dims commented Aug 31, 2023

By +1 from me. Will check if any reviewers have picked this up or not in a few days.

@dmcgowan
Copy link
Member

+1 for taking this in

edit: forgot that containerd didn't have the latest changes; there are some diffs, so worth looking at when deciding

@thaJeztah I didn't see any recent changes, at least functional, just test and repository management changes. You have specific changes in mind we would need to consider?

@dmcgowan
Copy link
Member

We can keep the deprecated markers for this PR, but think we could just ditch the package entirely for v2

@thaJeztah
Copy link
Member Author

I didn't see any recent changes, at least functional,

Yes, correct, there should be no functional changes

But I wrote "clean move", and then realise: no, I'm lying!". Didn't want to sweep those changes under the rug 😅

@dmcgowan dmcgowan merged commit b11439f into containerd:main Sep 5, 2023
@thaJeztah thaJeztah deleted the replace_reference branch September 5, 2023 15:32
@thaJeztah thaJeztah added cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch dependencies Pull requests that update a dependency file labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants