prime syntax for wildcard regression
Bug #1981327 reported by
Ondrej Kubik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Claudio Matsuoka |
Bug Description
version: snapcraft 7.0.11.
Wildcard syntax for priming stage requires parentis
Following syntax would work for SN 6.x and would correctly remove part's content during priming
prime:
- -*
With SN 7.x this throw error that prime part contains files which were not staged
Following syntax has to used
prime:
- -'*'
Changed in snapcraft: | |
assignee: | nobody → Claudio Matsuoka (cmatsuoka) |
tags: | added: craft-1188 |
Changed in snapcraft: | |
importance: | Undecided → High |
To post a comment you must log in.
The reported scenario fails with the following error message:
Failed to filter files: inconsistent 'stage' and 'prime' filesets.
The following files have been excluded in the 'stage' fileset, but included by the 'prime' fileset: {'*'}.
Make sure that the files included in 'prime' are also included in 'stage'.