Proposal: Avoid cleaning the entire pull step if only the `stage-packages` key is changed

The re-pulling of the part source tree is really wasting time and unnecessary if only the stage-packages key’s value has changed.

Well, until you create a project where stage-packages are required IN ORDER to pull. Such projects exist, and there’s no way for the snapcraft CLI to know, so we do the safest thing we can. You might consider splitting the stage-packages into another part that uses the nil plugin.

1 Like