Uh oh!
There was an error while loading. Please reload this page.
switch to go module - #4116
Conversation
We'll have to rename all import paths (to include Given that master is targeting v24, we probably need to tag the branch with a v24.0.0-alpha.0, otherwise it won't be importable as go modules produces a pseudo version based on the last tag from master (which I think was a v23) |
crazy-max
commented
Mar 24, 2023
That's exactly what I missed 🙈 |
804c0f2 to
9e3954bCompareCodecov Report
Additional details and impacted files@@ Coverage Diff @@## master #4116 +/- ##
=======================================
Coverage 59.03% 59.03% =======================================
Files 287 287 Lines 24767 24767 =======================================
Hits 14620 14620 Misses 9264 9264 Partials 883 883 |
crazy-max
commented
Apr 1, 2023
@thaJeztah Should be good since https://github.com/docker/cli/releases/tag/v24.0.0-beta.1 👀 |
Looks like we are ready to switch to go module for this repo as we are now compatible with Go's conventions (we are SemVer since v23.0.0). Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Thanks, looks hopeful (so far). FWIW; I was discussing this briefly in the maintainers call, and I think the initial response was to "Let's do both Moby and CLI at the same time". I'm personally partial to either (same time, or separately), but before we make the decision and plunge in, we should;
Reason this is important is that we have a very complex dependency tree due to circular dependencies;
A very quick (and limited) overview of this;
Cut down circular dependenciesPerhaps we're able to remove
Looking at docker/cli's dependency on buildkit;Looking at buildkit, this is what it depends on;Slightly more from docker/docker (but those are expected, and "should be ok" for most of them); For buildx;From the above, I wonder if we need to create test-PRs that;
|
thaJeztah
commented
Apr 1, 2023
I moved this back to draft to prevent accidental merges, but let's continue the conversation, and draft a plan (I'm happy to see this part works at least; let's continue with the other parts to know / understand the full impact, and to see how we can move forward) |
rfay
commented
Feb 21, 2024
Super important, would love to see this land. This is critical to the community, so that people can do "normal" building and debugging. |
rfay
commented
Feb 21, 2024
@crazy-max - thanks for this great work. Would you mind rebasing it against current? It's super important to all of us. |
rfay
commented
Mar 1, 2024
Just having a rebased PR would allow those of us who use normal tooling to debug through the cli and study its behavior. thanks! |
chenrui333
commented
Apr 10, 2024
at this point, can one of the maintainers take over it to the new pr or forced update this pr? Thanks! |
follow-up #3387 (comment)
- What I did
Looks like we are ready to switch to go module for this repo as we are now compatible with Go's conventions (we are SemVer since v23.0.0).
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)
cc @thaJeztah@neersighted@corhere@vvoland@rumpl