canonical / rockcraft

Tool to create OCI Images using the language from Snapcraft and Charmcraft.
GNU General Public License v3.0
37 stars 44 forks source link

validation errors are too cryptic and often don’t provide a good enough message #589

Closed sergiusens closed 4 months ago

sergiusens commented 5 months ago

Bug Description

e.g.: log bug: rockcraft init --profile flask-framework, add a slice to the commented stage-packages, then save and rockcraft extend-extensions - see the error message("cannot mix packages and slices"). It's ugly and it should break like that it’s an issue with expand-extensions specifically

To Reproduce

expand-extensions with bad input

Environment

NA

rockcraft.yaml

NA

Relevant log output

NA
syncronize-issues-to-jira[bot] commented 5 months ago

Thank you for reporting us your feedback!

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

This message was autogenerated