Simplify use of formula versioning
Bug #720314 reported by
Jim Baker
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
Manually updating the revision element in metadata.yaml is too error prone, especially in a typical test-edit loop.
Some options that have been discussed:
- Use the timestamp when doing a deploy from a local repository.
- Allow for use of bzr to manage this; this would be similar to our existing support in the agents.
These options presumably can be combined in some way.
Related branches
lp://qastaging/~fwereade/pyjuju/always-upgrade-local
- Kapil Thangavelu (community): Approve
- Gustavo Niemeyer: Approve
- Diff: 0 lines
Changed in juju: | |
status: | New → In Progress |
assignee: | nobody → William Reade (fwereade) |
milestone: | none → eureka |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Current plan is to make use of the newly-separated revision data (lp:867877) to, on upgrade, set a local charm's revision to max(local-revision, deployed-revision) + 1; thereby forcing an upgrade even if nothing has changed (mildly wasteful of machine resources) but ensuring nobody suffers repeated null upgrades while developing (hideously wasteful of developer resources).