fix: reprime for try
Metadata
Current evaluation
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.
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 (in not the cleanest way)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and superseded by PR #4347. The original fix addressed an issue where running try after prime masked existing directory contents, but the maintainer closed it to pursue an alternative solution in the referenced PR. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by PR #4347. The pull request addressed an issue where running try after prime masked existing directory contents. Closed in favor of a cleaner implementation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4347 fix: reprime for try | snapcraft | merged | 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. |