DescriptionMake the proof API check constraints.
The proof API now uses charmworldlib to check the charm constraints specified
in a bundle (deployer file).
Errors returned from parse_constraints are returned as errors. If
check_constraints indicates the constraints are comma-separated then a
deprecation warning is returned.
The previous API did not allow for warnings, so that mechanism was added.
There are a lot of drive-by cleanups too, mainly in the test. Sorry for the
noise they introduce but I think the code is more consistent and the tests are
improved.
https://code.launchpad.net/~bac/charmworld/check-constraints-commas/+merge/209741
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Make the proof API check constraints. #Patch Set 3 : Make the proof API check constraints. #
MessagesTotal messages: 3
|