Merge lp://staging/~bjornt/charms/precise/landscape-client/extra-meta-data into lp://staging/~charmers/charms/precise/landscape-client/trunk
Proposed by
David Britton
Status: | Merged |
---|---|
Approved by: | Marco Ceppi |
Approved revision: | 21 |
Merged at revision: | 20 |
Proposed branch: | lp://staging/~bjornt/charms/precise/landscape-client/extra-meta-data |
Merge into: | lp://staging/~charmers/charms/precise/landscape-client/trunk |
Diff against target: |
37 lines (+10/-8) 2 files modified
hooks/container-relation-joined (+9/-7) revision (+1/-1) |
To merge this branch: | bzr merge lp://staging/~bjornt/charms/precise/landscape-client/extra-meta-data |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Ceppi (community) | Approve | ||
Review via email:
|
Description of the change
Write each juju info to a separate file in the meta-data.d directory when communicating on the container relationship.
To post a comment you must log in.
Hi Björn, Thanks for submitting this merge! As far as the changes you have submitted, they look good. However, I have some concern about what this will do to currently deployed landscape-client charms. With this change you've modified the way meta-data is stored (moving it from juju-info file to meta-data.d directory). When users run upgrade-charm the old data will not be created which produces an inconsistency and potential breakage for users currently deploying this charm.
Ideally, a corner case should be added to upgrade-charm hook which checks for the existence of the old juju-info and convert it to the newer format. Could you confirm that the current changes won't break backwards compatibility with this new file structure? If so could you please resubmit with changes necessary to "upgrade" older clients to the newer format?