sources: verify deleted files in outdated check (CRAFT-440)
Metadata
Current evaluation
Merged update to outdated source verification that detects and removes deleted files or directories from the part source directory. Approved by two reviewers, passed CI, and modified three files.
Suggested action: —
No scores available.
Issue body
When verifying if a pulled source is outdated, also check for files
or directories that might have been deleted from the source directory.
If this is the case, also remove the files or directories from the
part source directory.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged update to outdated source verification that detects and removes deleted files or directories from the part source directory. Approved by two reviewers, passed CI, and modified three files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updates source outdated verification to detect and remove deleted files or directories from the part source directory. Resolves CRAFT-440. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #132 sources: revert updating deleted files in outdated check (CRAFT-532) | craft-parts | merged | Merged to revert commit 5d56713, which incorrectly removed build artifacts and user-created files during source migration. Disables deleted file synchronization to preserve artifacts, replacing PR #129. Users must repull if local sources are deleted. |