8000 chore(spec.md): Remove YAML 1.1 concern for port syntax by polarathene · Pull Request #491 · compose-spec/compose-spec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(spec.md): Remove YAML 1.1 concern for port syntax #491

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

polarathene
Copy link
@polarathene polarathene commented Apr 19, 2024
8F03

What this PR does / why we need it

YAML 1.2 (published 2009Q3) dropped this number format. Technically still a valid concern if the YAML parser is not 1.2 compliant (third-party implementations?).

I covered history and details in a related PR: docker-mailserver/docker-mailserver#3982

Which issue(s) this PR fixes

I just noticed that this was added to the spec in Jan 2020 with many other changes and no context available. This was an issue with the Python version of Docker Compose AFAIK, but is intentionally avoided with the YAML parser package used in the Go rewrite.

As far as quoting goes, that should only be relevant for ports 0-59 when the YAML parser is not YAML 1.2 compliant?

Feel free to reject 👍 (if otherwise wanting to merge, let me know and I'll sort out that DCO check)

Technically a valid concern if the YAML parser is not 1.2 compliant (published 2009Q3) which dropped this number format.
@github-actions github-actions bot added the stale label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0