~bac/charmworld/tag-constraints

  • Committer: Tarmac
  • Author(s): Brad Crittenden
  • Date: 2014-03-06 19:36:43 UTC
  • mfrom: (487.2.3 check-constraints-commas)
  • Revision ID: tarmac-20140306193643-4o4kknbe07l9ogoy
Make 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://codereview.appspot.com/69980054/

R=makyo.

Approved by Juju Gui Bot.
Filename Latest Rev Last Changed Committer Comment Size
..
forms 89.1.1 12 years ago Rick Harding Start to work on qa form Diff
jobs 2 13 years ago kapil.foss at gmail add job processors Diff
lib 84.3.2 12 years ago Rick Harding Add back in the auth lib doh Diff
migrations 328.1.4 11 years ago Aaron Bentley Move migrations into charmworld. Diff
scripts 461.1.1 11 years ago Benji York extract the remove server script into a new script Diff
static 1 13 years ago kapil.foss at gmail charmworld pyramid starter Diff
templates 1 13 years ago kapil.foss at gmail charmworld pyramid starter Diff
testing 76.2.11 12 years ago Rick Harding Move the root tests to testing to provide test hel Diff
tests 190.3.1 11 years ago Aaron Bentley Start CharmStore work. Diff
views 72.2.2 12 years ago Rick Harding Update with the views split into grouped python fi Diff
__init__.py 455.1.7 11 years ago Abel Deuring record a server's start time together with the hos 5.2 KB Diff Download File
charmstore.py 418.3.6 11 years ago Brad Crittenden Paramaterize the number of revisions requested by 5.1 KB Diff Download File
globals.py 363.2.20 11 years ago Huw Wilkins Moved tools to own section. 2.1 KB Diff Download File
graph.py 285.1.1 11 years ago Abel Deuring charmworld.views.helpers.interfaces(): Use class C 1.5 KB Diff Download File
health.py 455.1.7 11 years ago Abel Deuring record a server's start time together with the hos 7.7 KB Diff Download File
lp.py 402.2.1 11 years ago Benji York charmworld/charmstore.py: - added a keyword t 931 bytes Diff Download File
models.py 484.1.5 10 years ago Brad Crittenden Fixed copyright years. 67.6 KB Diff Download File
qa_questions.py 473.1.1 10 years ago Brad Crittenden Add two more QA assessment questions. 7.6 KB Diff Download File
reports.py 419.1.1 11 years ago Brad Crittenden Replace all uses of datetime.now(), which is timez 8.1 KB Diff Download File
resources.py 157.1.10 11 years ago Aaron Bentley Fix lint. 246 bytes Diff Download File
routes.py 451.1.1 11 years ago j.c.sackett Ripped out all the old queue stuff. 5 KB Diff Download File
search.py 486.1.2 10 years ago Benji York fix indentation 28.2 KB Diff Download File
teams.py 317.2.15 11 years ago Benji York more import style tweaking 13.9 KB Diff Download File
ubuntusso.py 142.1.1 11 years ago Abel Deuring Copyright noticed added to circa 35 Python and JS 1.7 KB Diff Download File
utils.py 461.1.1 11 years ago Benji York extract the remove server script into a new script 7.4 KB Diff Download File