← 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. 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged fix that pre-creates plug and layout directories and files during the pack step for core26+. Resolves #6122. Redundant code was removed per reviewer feedback before final merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#6222 fix: only precreate content plug targets snapcraft merged Merged a fix preventing errors during plug target precreation for specific formats like private plugs. Approved by two reviewers and integrated with 29 additions and 6 deletions across two files, resolving the reported issue.
72%