Skip to content

inform rather than warn on version obsolescence#640

Closed
rseymour wants to merge 1 commit intocompose-spec:mainfrom
rseymour:infoversion
Closed

inform rather than warn on version obsolescence#640
rseymour wants to merge 1 commit intocompose-spec:mainfrom
rseymour:infoversion

Conversation

@rseymour
Copy link
Copy Markdown

docker compose warning on the version being obsolete has caused a lot of grief. Here is one simple solution to the issue.

@ndeloof
Copy link
Copy Markdown
Collaborator

ndeloof commented Jun 18, 2024

docker compose warning on the version being obsolete has caused a lot of grief

no issue has been reported regarding this, so I don't think so

Here is one simple solution to the issue.

:-1 this would basically let user continue setting version and expect this has some effect, which brings confusion. Compose spec was announced in 2020 with version made obsolete, it's time to move forward

@glours
Copy link
Copy Markdown
Collaborator

glours commented Jun 18, 2024

I agree with @ndeloof, if we keep this as a simple message users will continue to use it and being confused when they will open issues about the file version v2 vs v3, and even sometimes with the Compose binary version itself.
A warning message make it clear, it supposes you'll take action on your side if you don't want to be bother by the message again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants