canonical / canonical/craft-application

Process grammar and non-grammar dictionary data

Open
#331 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
29
Avg merge
2d 2h
Merged PRs (30d)
13

Description

### 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:
```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:
```yaml
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.