Allow users to install the livepatch snap from their choice of channel
Bug #1786396 reported by
Barry Price
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Livepatch Charm |
Fix Released
|
Medium
|
Barry Price |
Bug Description
Currently the charm hardcodes "channel: stable" via metadata.yaml
Let's expose this via config.yaml instead (it can still default to 'stable').
This will allow users to install the canonical-livepatch snap from e.g. the beta or edge channels, if they wish to do so.
Related branches
~barryprice/charm-canonical-livepatch/+git/canonical-livepatch-charm:master
Merged
into
~livepatch-charmers/charm-canonical-livepatch:master
at
revision 63ca2055d547a03342b20bc73c4782c9c21261a0
- Stuart Bishop (community): Approve
- Paul Collins: Approve (lgtm)
-
Diff: 70 lines (+42/-7)2 files modifiedreactive/canonical_livepatch.py (+7/-7)
tests/99-autogen (+35/-0)
~barryprice/charm-canonical-livepatch/+git/canonical-livepatch-charm:master
Merged
into
~livepatch-charmers/charm-canonical-livepatch:master
at
revision c485af705c8cc76da9f5e77a19636ae9e3b1f6df
- Stuart Bishop (community): Approve
-
Diff: 36 lines (+13/-2)1 file modifiedreactive/canonical_livepatch.py (+13/-2)
~barryprice/charm-canonical-livepatch/+git/canonical-livepatch-charm:master
Merged
into
~livepatch-charmers/charm-canonical-livepatch:master
at
revision 20825b0ff773abe7e2728e765fbd171b6e8f3ebe
- Stuart Bishop (community): Approve
-
Diff: 126 lines (+31/-27)6 files modifiedMakefile (+1/-0)
config.yaml (+6/-0)
icon.svg (+8/-17)
layer.yaml (+0/-4)
metadata.yaml (+1/-1)
reactive/canonical_livepatch.py (+15/-5)
Changed in canonical-livepatch-charm: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in canonical-livepatch-charm: | |
assignee: | nobody → Barry Price (barryprice) |
status: | Triaged → In Progress |
Changed in canonical-livepatch-charm: | |
status: | In Progress → Fix Committed |
Changed in canonical-livepatch-charm: | |
status: | In Progress → Fix Committed |
Changed in canonical-livepatch-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Channel selection is available in canonical livepatch #23:
https:/ /jujucharms. com/canonical- livepatch/ 23
However, this is missing the logic to change channel post-install (i.e. you can install from a user-defined channel, but can't change it).
Should have a fix ready soon, at which point we'll release /24 and this can be properly closed.