Container destroyed on snapcraft clean -s pull

Bug #1727445 reported by Sergio Schvezov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Cris Dywan

Bug Description

Destroying the container on a `snapcraft clean` may be debatably ok but destroying it on a `snapcraft clean -s pull`, specially after being instructed to do so with:

```
The 'pull' step of 'osm-ro' is out of date:
The 'python-packages' part property appears to have changed.
In order to continue, please clean that part's 'pull' step by running:
snapcraft clean osm-ro -s pull
```

Is just a major slow down on productivity, more so when running on slow networks.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

This should be a matter of simply not assuming None == 'pull' for that parameter. Refactor suggestions in https://github.com/snapcore/snapcraft/pull/1587 will fix it.

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1727445] Re: Container destroyed on snapcraft clean -s pull

On lun, oct 30, 2017 at 11:25 AM, Kyle Fazzari <email address hidden>
wrote:
> This should be a matter of simply not assuming None == 'pull' for that
> parameter. Refactor suggestions in
> https://github.com/snapcore/snapcraft/pull/1587 will fix it.

This would be good to do. It is a real pain today to work in an
environment like this.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Yeah... about that PR. Someone merged it ignoring my comment ;) .

Revision history for this message
Cris Dywan (kalikiana) wrote :

I'll propose another PR for this. Looking into another unit test for it before I do.

Changed in snapcraft:
assignee: nobody → Christian Dywan (kalikiana)
Revision history for this message
Cris Dywan (kalikiana) wrote :
Changed in snapcraft:
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
milestone: none → 2.35
Changed in snapcraft:
status: Fix Committed → Fix Released
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.