meta: fix content slot to set content when using source key
Metadata
Current evaluation
Merged fix ensuring content slot correctly sets content when using the source key. Added unit tests. Approved and passed CI checks.
Suggested action: —
No scores available.
Issue body
If using the 'source' key, the content key was lost. Fix
and add accompanying unit tests.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix ensuring content slot correctly sets content when using the source key. Added unit tests. Approved and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for a bug where the content key was lost when using the source key in the meta content slot. Includes accompanying unit tests. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix resolving a bug where the content key was lost when using the source key in meta. Includes accompanying unit tests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2934 meta: fix for missing content slot's 'content' property | snapcraft | merged | Merged fix for missing 'content' property initialization in content slots from snapcraft.yaml. Includes updated tests for explicit content coverage. Approved, passed CI, and achieved 100% diff coverage. |