canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
5 stars 7 forks source link

Commands cannot always load projects with advanced grammar #261

Open mr-cal opened 3 months ago

mr-cal commented 3 months ago

What needs to get done

A command cannot parse a project with advanced grammar if no build-for or platform is provided.

Source: https://github.com/canonical/snapcraft/pull/4630#issuecomment-1988210684

As discussed as a team, this may be solved by loading only some items of the project.

Why it needs to get done

To allow applications to apply grammar without requiring the build_for or platform arguments. See an example of the problem in snapcraft's google:ubuntu-24.04-64:tests/spread/core24/grammar:amd64.

syncronize-issues-to-jira[bot] commented 3 months ago

Thank you for reporting us your feedback!

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

This message was autogenerated