← Back to issue list

fix: create plug and layout files during pack

View original Github issue

Metadata

Project
snapcraft
Number
#6199
Type
pull request
State
merged
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Merged in PR #6199 as 611e80513, pre-creating plug and layout files while packing core26+ snaps and closing #6122.

Resolution: closed resolved

Reason: PR #6199 was approved and merged as commit 611e80513. It implements SNAPCRAFT-1330 by creating content-plug and layout mount targets during packing for core26+ and bare-base snaps, resolving #6122.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Pre-create the directories and files for plugs and layouts during the pack step if packing on core26+. Closes #6122. SNAPCRAFT-1330 --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in PR #6199 as 611e80513, pre-creating plug and layout files while packing core26+ snaps and closing #6122.
stealth/space-bunny-alpha — closed resolved PR #6199 merged as 611e80513, pre-creating content plug mount targets and layout source files during pack for core26+/bare-base snaps. Follow-up PR #6222 (333ac0e0b) limited precreation to content plugs.
stealth/space-bunny-alpha — closed resolved Merged PR #6199 as 611e80513, fixing #6122 by precreating plug targets and layout sources during packing for core26+ and bare-base snaps.
stealth/space-bunny-alpha — closed resolved PR #6199 by bepri merged (commit 611e80513), pre-creating content plug and layout mount target directories/files during pack for core26+/bare bases, closing #6122. Follow-up PR #6222 (333ac0e0b) narrowed it to content plugs only.
stealth/space-bunny-alpha — closed resolved Merged as commit 611e80513, fixing #6122 by creating plug and layout directories and files during packing for core26+ bases.
qwen/qwen3.6-35b-a3b — — Merged. Resolves #6122 by pre-creating plug and layout directories and files during the pack step for core26+ bases. Approved by three reviewers following CI validation and minor review adjustments.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Pre-creates plug and layout directories and files during the pack step for core26+. Closes #6122 and addresses SNAPCRAFT-1330. Reviewer approved a cleanup commit removing redundant code prior to merge.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#6122 (confidence 100%)

    The missing plug and layout mount targets reported in this issue were fixed by PR #6199.

  • Related To: canonical/snapcraft#6222 (confidence 94%)

    Follow-up PR #6222 refined the implementation to pre-create only content-plug targets, merged as 333ac0e0b.

Related issues

No related issues found above the similarity threshold.