settings-view icon indicating copy to clipboard operation
settings-view copied to clipboard

Allow cancellation when installing or updating packages

Open jddxf opened this issue 8 years ago • 1 comments

jddxf avatar Apr 15 '17 08:04 jddxf

I was trying to implement this, but once you hit updateAll actually all updates start at once. For each update one instance of apm is opened. This did not look right and I found this issue: https://github.com/atom/settings-view/issues/756

This also raises the question if it would be ok to abort the apm process, or if that might leave packages in a bad state. So I think cancellation needs to wait until a proper update queue is in place. Maybe with a setting for max simultaneously running apm instances. Then it would be possible to stop starting more updates after the N running updates finished.

Canceling a running update might need changes in apm itself, maybe someone else can tell us more about this?

FalkF avatar Oct 29 '17 12:10 FalkF