request: snap disable and enable (vs remove or install)
Bug #1500560 reported by
Victor Mayoral
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
John Lenton |
Bug Description
Hi everyone,
It'll be great if a snap (mainly its services), once installed could be enabled and/or disabled . A simple scenario where this would be useful:
"Imagine i've got two facial recognition algorithms abstracted as snaps the first one's size is 10 MB and the second one is 15 MB. I'd like to have both installed in my device and enable one or the other depending on the scenario (without access to the cloud) thereby i need them both installed but one disabled."
Any chance this gets into snappy at some point?
Many thanks,
Related branches
lp:~chipaca/snappy/activate-package
- Michael Vogt (community): Approve
-
Diff: 507 lines (+289/-32)11 files modifiedcmd/snappy/cmd_activate.go (+60/-0)
daemon/api.go (+12/-0)
daemon/snappy_part_iface_test.go (+2/-2)
po/snappy.pot (+13/-1)
snappy/parts.go (+3/-3)
snappy/set_active.go (+53/-0)
snappy/set_active_test.go (+20/-0)
snappy/snapp.go (+7/-3)
snappy/snapp_test.go (+2/-1)
snappy/systemimage.go (+23/-11)
snappy/systemimage_test.go (+94/-11)
Changed in snappy: | |
status: | Triaged → In Progress |
Changed in snappy: | |
status: | In Progress → Fix Committed |
Changed in snappy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Yes, disabling them is an easy +1 :)