← Back to issue list

Improve output when different parts list the same file

View original Github issue

Metadata

Project
rockcraft
Number
#190
Type
issue
State
open
Author
arturo-seijas
Labels
—
Created
Updated
Closed
—

Current evaluation

Collision diagnostics need clearer part, file, and conflict-type details; craft-parts now reports parts and files, but still groups content and permission clashes together.

Suggested action: needs triage

Reason: The issue has no labels, assignee, comments, or maintainer response. Current craft-parts code constructs detailed output naming both parts and conflicting files, but still reports only “different contents or permissions”; upstream triage is needed to decide whether that partially satisfies the request or whether conflict types should be distinguished.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 11 Complexity: 48 Confidence: 86 Actionability: 58

Issue body

Hi! I've just came across this error and I though it would be useful to the user to have a more detailed output listing the affected parts, the affected files and whether it's a permissions or contents clash. ``` Failed to stage: parts list the same file with different contents or permissions. craft-providers error: Failed to execute pack in instance. ``` Thank you

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 11
Complexity: 48
Confidence: 86
Actionability: 58
needs triage Collision diagnostics need clearer part, file, and conflict-type details; craft-parts now reports parts and files, but still groups content and permission clashes together.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 14
Complexity: 20
Confidence: 60
Actionability: 60
needs triage Request to improve error message when parts list the same file with different contents or permissions. Open 1318 days with no maintainer response.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 28
Staleness: 75
Complexity: 30
Confidence: 70
Support Request: 0
keep open Request to improve error output when parts list the same file with different contents/permissions. The PartFilesConflict error in craft-parts already includes part names and conflicting file list, but does not distinguish between permissions vs contents clashes. No maintainer response; issue is 1299 days old with 0 comments.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 20
Confidence: 85
Support Request: 10
needs triage Feature request to improve error output when parts list the same file, showing affected parts, files, and clash type. Unlabelled and unassessed by maintainers.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 80
Support Request: 5
needs triage Feature request to enhance error messaging for file conflicts between parts, showing affected parts, files, and clash type. Unlabelled and inactive for over three years.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-parts#305 (confidence 92%)

    Commit b93c135d made collision detection permission-aware and is reflected in the current PartFilesConflict reporting, although it does not separately label content and permission clashes.

Related issues

No related issues found above the similarity threshold.