parts: don't copy metadata if already at destination
Metadata
Current evaluation
Merged PR #3767 in commit 0481c9bab, skipping metadata-asset copies when the source is already at the expected destination.
Resolution: closed resolved
Reason: PR #3767 was merged as commit 0481c9bab through merge commit c06e4df03. It avoids redundant metadata copies when files are already at their expected destination.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When preparing metadata assets, don't attempt to copy files if they
are already where the system expects it to be.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3767 in commit 0481c9bab, skipping metadata-asset copies when the source is already at the expected destination. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #3767 by cmatsuoka merged into snapcraft main (merge commit c06e4df0, commit 0481c9b), skipping shutil.copy of metadata assets already at the expected destination. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3767 in commit c06e4df03, avoiding redundant metadata asset copies when the source is already at the destination. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged into main in #3767 via 0481c9b, skipping metadata file copies when the source is already at the expected destination. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into main. Optimizes metadata asset preparation by skipping redundant file copies when already at the destination. Approved by a maintainer, passed CI checks, and increased unit test coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged optimization that skips copying metadata assets when they are already at the destination. Integrated into main, the change streamlines asset preparation and increased unit test coverage by 0.01%. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.