-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
switch to go module #4116
base: master
Are you sure you want to change the base?
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) |
That's exactly what I missed 🙈 |
804c0f2
to
9e3954b
Compare
Codecov 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 |
@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;
|
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) |
Super important, would love to see this land. This is critical to the community, so that people can do "normal" building and debugging. |
@crazy-max - thanks for this great work. Would you mind rebasing it against current? It's super important to all of us. |
Just having a rebased PR would allow those of us who use normal tooling to debug through the cli and study its behavior. thanks! |
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