File conflicts between parts should include files with identical contents
Metadata
Current evaluation
Feature request to warn on identical file conflicts during staging. Untriaged, 4 years old, no maintainer response.
Suggested action: needs triage
Reason: The issue has no maintainer response, no labels, and no assignee after 1455 days. The code in craft-parts/collisions.py shows identical-file tolerance is intentional (_file_collides returns True only for different contents), making this a feature request rather than a bug. A maintainer should assess whether a warning for identical conflicts is desirable.
Impact:
20
Quick Win:
14.0
Staleness:
85
Complexity:
30
Confidence:
60
Support Request:
40
Issue body
Currently, when two parts in the same snapcraft.yaml file attempt to stage the same file at the same location, it's an error only if the files have different contents. I think this is dangerous -- at the very least, even if two conflicting files have the same contents, this should generate a warning, if not an outright error. It's unwise to depend on the unpredictability of the contents of two files, which might be identical for months, only to suddenly differ and start throwing build errors.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
20
Quick Win:
14.0
Staleness:
85
Complexity:
30
Confidence:
60
Support Request:
40
|
needs triage | Feature request to warn on identical file conflicts during staging. Untriaged, 4 years old, no maintainer response. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
20
Confidence:
80
Support Request:
5
|
close stale | Snapcraft only errors on file conflicts if contents differ. Author requests warnings or errors for identical files to prevent future build failures. No maintainer response in ~4 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
10
|
close stale | Request to warn or error on file conflicts between snapcraft parts even when contents match, to prevent future build failures. Issue is completely inactive with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
35
Confidence:
70
Support Request:
10
|
close stale | Feature request to warn or error on identical file conflicts between snapcraft parts to prevent future build failures. Unaddressed for ~3.8 years with zero maintainer interaction. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
75
Support Request:
10
|
close stale | Suggests snapcraft should warn or error on file conflicts between parts even when contents are identical, to prevent future build failures. Unaddressed for nearly 4 years with no maintainer interaction. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.