Stop setting $ENSEMBLE_CHANGE for <name>-relation-changed hooks
Bug #740330 reported by
Jim Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Jim Baker |
Bug Description
Formula authors have found the existing relation-changed hook semantics are difficult to use correctly. An analysis is presented in this email: https:/
The last step in implementing the new hook semantics is to stop setting $ENSEMBLE_CHANGE for <name>-
Related branches
lp:~jimbaker/pyjuju/new-hook-semantics-4-remove-env-var
- Gustavo Niemeyer: Approve
-
Diff: 462 lines (+169/-186)7 files modifiedensemble/agents/tests/test_unit.py (+30/-26)
ensemble/unit/lifecycle.py (+0/-1)
ensemble/unit/tests/test_lifecycle.py (+0/-6)
examples/mysql/hooks/db-relation-changed (+59/-64)
examples/mysql/metadata.yaml (+1/-1)
examples/wordpress/hooks/db-relation-changed (+78/-87)
examples/wordpress/metadata.yaml (+1/-1)
Changed in ensemble: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Jim Baker (jimbaker) |
milestone: | none → budapest |
summary: |
- Stop setting $ENSEMBLE_CHANGED for <name>-relation-changed hooks + Stop setting $ENSEMBLE_CHANGE for <name>-relation-changed hooks |
description: | updated |
description: | updated |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.