driver: make buildkitd "config" and "flags" names consistent#2268
driver: make buildkitd "config" and "flags" names consistent#2268tonistiigi merged 2 commits intodocker:masterfrom
Conversation
|
ci failure for docs-upstream workflow is not related: #2269 |
dvdksn
left a comment
There was a problem hiding this comment.
General: should it be --buildkitd-x or --buildkit-x ?
I don't think we would expect buildx to refer to buildkit as anything other than a daemon. So maybe the d can be removed. I think it would make it easier to remember.
Hum I think |
f24343b to
ec4d0ff
Compare
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
ec4d0ff to
56fc68e
Compare
|
Should we keep the old flags as hidden / deprecated for 1 .. 2 releases so that we can print a meaningful error if someone is using these? (didn't fully read through the diff, so perhaps we have something for that). |
d2d74db to
f258de4
Compare
@thaJeztah Yes we keep This is similar to https://github.com/docker/cli/blob/1443014cbd604b460548a7729ec8ec510a5dbc5d/cli/command/container/opts.go#L247-L250 |
|
Ah, thanks! Are we planning to officially deprecate the old one? (in that case, we could consider printing a deprecation warning when used, which can be "non-fatal" for now, but made "fatal" in a future release). |
Fine to keep it imo and I don't think the cli prints such warning atm for |
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
f258de4 to
5a46691
Compare
|
Needs follow-up on https://github.com/crazy-max/docker-setup-buildx-action |
I found it confusing to have
configas driver opt instead ofbuildkitd-configso we are consistent withbuildkitd-flags. Same for variables not aligned across our code base.This is also relevant for #2270