Skip to content
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

Remove warning message about skipping build targets #469

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

cpuguy83
Copy link
Member

This warning was added in 9a2b35e to try and help reduce confusion if the spec contains targets and therefore we skip loading other targets.

As it turns out, its a bit overzealous if you specfy anything in the targets section:

8 warnings found (use docker --debug to expand):
 - Skipping loading of built-in target "bullseye" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "mariner2" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "azlinux3" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "windowscross" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "bionic" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "focal" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "noble" since it is not in the list of targets in the spec
 - Skipping loading of built-in target "bookworm" since it is not in the list of targets in the spec

This is probably more confusing and will just git bigger as we add support for more things.

This warning was added in 9a2b35e to
try and help reduce confusion if the spec contains targets and therefore
we skip loading other targets.

As it turns out, its a bit overzealous if you specfy anything in the
`targets` section:

    8 warnings found (use docker --debug to expand):
     - Skipping loading of built-in target "bullseye" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "mariner2" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "azlinux3" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "windowscross" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "bionic" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "focal" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "noble" since it is not in the list of targets in the spec
     - Skipping loading of built-in target "bookworm" since it is not in the list of targets in the spec

This is probably more confusing and will just git bigger as we add
support for more things.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 requested a review from a team as a code owner December 10, 2024 19:44
Copy link
Contributor

@DannyBrito DannyBrito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cpuguy83 cpuguy83 merged commit caed08a into Azure:main Dec 10, 2024
9 checks passed
@cpuguy83 cpuguy83 deleted the fix_target_warning branch December 10, 2024 20:51
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.

2 participants