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

Possibly misleading error message when getting rock build plan #68

Open
SuperAlpaca27 opened this issue Oct 23, 2024 · 1 comment
Open
Labels
bug Something isn't working Triaged

Comments

@SuperAlpaca27
Copy link

SuperAlpaca27 commented Oct 23, 2024

Running the following

from craft_platforms.rock import get_rock_build_plan

base = "bare"
build_base = None
print(get_rock_build_plan(base=base, platforms={"amd64": None}, build_base=build_base))

yields ValueError: Invalid base string 'bare'. Format should be '<distribution>@<series>'

It should probably say something like "build-base required for 'bare' base" or similar.

craft-platforms version is 0.3.0 here

@tigarmo tigarmo added bug Something isn't working Triaged labels Oct 23, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3612.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Triaged
Projects
None yet
Development

No branches or pull requests

2 participants