Skip to content

completion: remove generic "os-only" for platforms#6010

Merged
vvoland merged 1 commit intodocker:masterfrom
thaJeztah:tweak_platform_completion
Apr 16, 2025
Merged

completion: remove generic "os-only" for platforms#6010
vvoland merged 1 commit intodocker:masterfrom
thaJeztah:tweak_platform_completion

Conversation

@thaJeztah
Copy link
Member

Using --platform=linux or --platform=windows is not commonly used (or recommended). Let's remove these from the list of suggested platforms.

We should tweak this completion further, and sort the list based on the daemon's platform (putting linux first for a Linux daemon, and windows first on a Windows daemon), possibly with the correct architecture (and os-version) included, but we don't yet provide that information in /_ping.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

Using `--platform=linux` or `--platform=windows` is not commonly
used (or recommended). Let's remove these from the list of suggested
platforms.

We should tweak this completion further, and sort the list based
on the daemon's platform (putting linux first for a Linux daemon,
and windows first on a Windows daemon), possibly with the correct
architecture (and os-version) included, but we don't yet provide
that information in `/_ping`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov-commenter
Copy link

codecov-commenter commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.88%. Comparing base (219d3fe) to head (557d721).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6010   +/-   ##
=======================================
  Coverage   58.88%   58.88%           
=======================================
  Files         357      357           
  Lines       29941    29941           
=======================================
  Hits        17632    17632           
  Misses      11329    11329           
  Partials      980      980           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vvoland vvoland merged commit e04b67f into docker:master Apr 16, 2025
99 checks passed
@thaJeztah thaJeztah deleted the tweak_platform_completion branch April 16, 2025 09:53
@thaJeztah thaJeztah self-assigned this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants