← Back to issue list

organize and stage keywords together mess up file conflict checking

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1663002
Type
issue
State
open
Author
~mrjogo
Labels
Created
2017-02-08 19:10:07.669717+00:00
Updated
2017-02-13 18:45:19.206009+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The following snapcraft.yaml section gives a file conflict error ("Parts 'part1' and 'part2' have the following file paths in common which have different contents"): parts: part1: plugin: dump source: ./src1 organize: '*': opt/ stage: - -opt/commonfile.txt part2: plugin: dump source: ./src2 organize: '*': opt/ stage: - -opt/commonfile.txt However, when both stage keywords are changed to stage: - -commonfile.txt no errors are given, but commonfile.txt is copied into stage (with the later one overwriting the first). See attachment for full example.

Evaluation history

No evaluation history available.