Adding a scriptlet doesn't mark a part as dirty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari | ||
snapcraft (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
1. Take any snapcraft.yaml with one part, like "qt-app"
2. Run snapcraft prime
3. Add an "install: mkdir -p $SNAPCRAFT_
4. run snapcraft prime
you will see:
Skipping pull qt-app (already ran)
Skipping build qt-app (already ran)
Skipping stage qt-app (already ran)
Skipping prime qt-app (already ran)
-> Your part didn't rebuild, there isn't a "foo" directory in prime/ eitehr.
What should happen:
the qt-app part should be marked as dirty and forced cleaning.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapcraft 2.27.1 [modified: usr/lib/
ProcVersionSign
Uname: Linux 4.4.0-66-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 13 15:09:21 2017
InstallationDate: Installed on 2012-05-28 (1750 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitec
SourcePackage: snapcraft
UpgradeStatus: Upgraded to xenial on 2014-10-31 (864 days ago)
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: bitesize |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in snapcraft: | |
milestone: | none → 2.35 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Fix here: https:/ /github. com/snapcore/ snapcraft/ pull/1618