← Back to issue list

fix: reprime for try

View original Github issue

Metadata

Project
snapcraft
Number
#4347
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged into hotfix/7.5 to fix #4219. Prevents try from masking existing prime directory contents with a newly mounted host directory. Restores legacy unprime behavior. Approved and passed CI.

Suggested action:

No scores available.

Issue body

This solves the case where prime was run before try, where a subsequent run of try would mask the contents of the existing prime directory with a newly mounted one from the host. In legacy we had the concept of `clean --unprime` to solve this. - [ ] 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 `make lint`? - [ ] Have you successfully run `pytest tests/unit`? ----- Fixes #4219

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into hotfix/7.5 to fix #4219. Prevents try from masking existing prime directory contents with a newly mounted host directory. Restores legacy unprime behavior. Approved and passed CI.
qwen3.6-35b-a3b-mtp-q6 Merged fix for reprime during try operations to prevent masking existing prime directory contents. Resolves #4219 by restoring legacy unprime behavior. Integrated into hotfix/7.5.
qwen3.6-35b-a3b-mtp-q6 Merged into hotfix/7.5. Introduces reprime to prevent the try command from masking existing prime directory contents, resolving issue #4219.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4346 fix: reprime for try snapcraft closed Superseded by PR #4347. The pull request addressed a bug where running try after prime masked existing prime directory contents. The maintainer closed it to consolidate the fix into another pull request.
86%