Stop setting $ENSEMBLE_CHANGE for <name>-relation-changed hooks

Bug #740330 reported by Jim Baker
6
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://lists.ubuntu.com/archives/ensemble/2011-March/000012.html

The last step in implementing the new hook semantics is to stop setting $ENSEMBLE_CHANGE for <name>-relation-changed hooks. This ensures that hook scripts will rely on the actual relation settings to share information, rather than assuming availability of these settings is based on joined vs modified event ordering.

Related branches

Jim Baker (jimbaker)
Changed in ensemble:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jim Baker (jimbaker)
milestone: none → budapest
Jim Baker (jimbaker)
summary: - Stop setting $ENSEMBLE_CHANGED for <name>-relation-changed hooks
+ Stop setting $ENSEMBLE_CHANGE for <name>-relation-changed hooks
description: updated
Jim Baker (jimbaker)
description: updated
Jim Baker (jimbaker)
Changed in ensemble:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.