Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5295)

Issue 6001050: Forward-compatibility fixes for Constraints

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by fwereade
Modified:
12 years ago
Reviewers:
mp+101560
Visibility:
Public.

Description

Forward-compatibility fixes for Constraints * Any constraint name can now be registered; no more global registry * Unrecognised constraints are now ignored but persisted when introduced via ConstraintSet.load * Unrecognised traits are now always errors when introduced via ConstraintSet.parse https://code.launchpad.net/~fwereade/juju/constraints-compatibility/+merge/101560 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Forward-compatibility fixes for Constraints #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -79 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M juju/machine/constraints.py View 5 chunks +7 lines, -33 lines 0 comments Download
M juju/machine/tests/test_constraints.py View 5 chunks +18 lines, -46 lines 0 comments Download
M juju/providers/common/tests/test_launch.py View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
fwereade
Please take a look.
12 years ago (2012-04-11 14:08:13 UTC) #1
hazmat
lgtm, thanks
12 years ago (2012-04-11 14:59:53 UTC) #2
fwereade
12 years ago (2012-04-11 15:44:03 UTC) #3
*** Submitted:

Forward-compatibility fixes for Constraints

* Any constraint name can now be registered; no more global registry
* Unrecognised constraints are now ignored but persisted when introduced via
  ConstraintSet.load
* Unrecognised traits are now always errors when introduced via
  ConstraintSet.parse

R=hazmat
CC=
https://codereview.appspot.com/6001050
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b