-
Notifications
You must be signed in to change notification settings - Fork 114
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
introduce gw_priority #731
base: main
Are you sure you want to change the base?
Conversation
cc @robmry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thank you! I was about to have a look at this one ... but only got as far as realising I should've updated compose-spec's schema/compose-spec.json
in compose-spec/compose-spec#552, I'll raise a new PR for that. (Also for EnableIPv4
in compose-spec/compose-spec#551, but that's not merged yet.)
LGTM - although perhaps it's worth adding to full-example.yml
/ full-struct_test.go
?
@robmry we use a bot to sync schema changes made in compose-go into the spec |
Ah, got it! Thank you. |
Signed-off-by: Nicolas De Loof <[email protected]>
adding support for this in docker/compose is a bit challenging as we can't get API 1.48 from any tag, and depending on |
I expect we'll create a 28.x branch from master, with a release candidate label, in the next week or two ... but it'd be good to find the problems sooner rather than later. Would it be possible to give it an early run in a PR that's not mergeable until the tag's available? |
@robmry I've tried to setup a test branch to build with docker/docker@master and check things work as expected, but hen I get some weird dependency downgrades that break everything:
I guess this is because last know tag on docker/docker@master is |
Oh, I see - thank you. |
Oh! go modules pseudo-version-halucination striking again! So the official recommendation from the Go folks is to just willy-nilly tag some commits as In the end, go module should not hallucinate versions for anything untagged, and consider it “you want YOLO? here you go!” But the ugly workaround to achieve that without them changing, is to add a replace;
Or using go mod edit -replace=github.com/docker/docker=github.com/docker/docker@master After you added the replace, you can run go mod tidy And git diff
diff --git a/go.mod b/go.mod
index c5d2118..6e8bffc 100644
--- a/go.mod
+++ b/go.mod
@@ -26,3 +26,5 @@ require (
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
golang.org/x/sys v0.1.0 // indirect
)
+
+replace github.com/docker/docker => github.com/docker/docker v27.0.2-0.20250123194108-433e9a50ce7b+incompatible |
implement compose-spec/compose-spec#552