Changed stage-snaps property does not make pull step dirty

Bug #1824473 reported by 林博仁(Buo-ren, Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Bug reproduction instructions:

  1. `git clone --branch=bug-stage-snaps-dirtiness https://github.com/Lin-Buo-Ren/snapcraft-bug-poc.git && cd snapcraft-bug-poc`
  2. Run `snapcraft stage ccache`
  3. Uncomment the commented lines in snap/snapcraft.yaml
  4. Run `snapcraft stage ccache` again

  Expected behavior:

      Snapcraft considers ccache part's `pull` step changed and redo the pull step

  Current behavior:

      Snapcraft only considered ccache part's `stage` step changed, then crashed due to the stage snap isn't pull and build yet.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.