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 6 forks source link

Process grammar and non-grammar dictionary data #331

Open mr-cal opened 1 month ago

mr-cal commented 1 month ago

What needs to get done

Craft-application added support for processing grammar in the organize keyword but it cannot parse a mix of grammar and non-grammar data:

For example, when building for arm64, the following yaml:

organize:
- on amd64 to amd64:
    hello-world.sh: hello-world-amd64.sh
- on amd64 to arm64:
    hello-world.sh: hello-world-arm64.sh
- test-file.in: test-file.out

should be processed to:

organize:
  hello-world.sh: hello-world-arm64.sh
  test-file.in: test-file.out

Why it needs to get done

To make grammar in the organize keyword useable.

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

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

This message was autogenerated