lp:~jcsackett/charmworld/fix-enqueue-sort-failure

Created by j.c.sackett and last modified
Get this branch:
bzr branch lp:~jcsackett/charmworld/fix-enqueue-sort-failure
Only j.c.sackett can upload to this branch. If you are j.c.sackett please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
j.c.sackett
Project:
charmworld
Status:
Merged

Recent revisions

481. By j.c.sackett

Shut up, lint.

480. By j.c.sackett

db_charms doesn't need to sort, and mongo doesn't like no index sorts.

479. By Benji York

Add a very useful hint about relation ordering.

Approved by Juju Gui Bot.

478. By j.c.sackett

Improves the trigger_tests function with logging, and corrects an error in url construction.

Approved by Juju Gui Bot, Curtis Hovey.

477. By Brad Crittenden

Clear queues at ingest startup.

Bundles seem to get stuck when the job entries are locked and the ingest
process dies, such as happens when charm attributes are set or the charm gets
updated.

To avoid having the queues littered with items that never go away, which is
disconcerting to the casual viewer of /heartbeat, this branch introduces a new
--clear option to the queueing process which is used by the worker on the
first invocation

This branch also addresses a few other issues by being more defensive in the
face of charms and bundles that are non-standard in a number of ways.

* Handle the lack of 'bundles.yaml' gracefully.

* Handle SVG files with float placement values.

* Handle charms with no files. The only instance I've seen of this occurring
  is with a charm that is private in Launchpad, so I cannot assess how it
  happens.

https://codereview.appspot.com/51010046/

R=rharding.

Approved by Juju Gui Bot.

476. By Brad Crittenden

Properly proof bundles with inheritance.

- Use the existing get_flattened_deployment to realize the inheritance.
- Update to new version of charm-tools.
- Specify version for charmworldlib rather than grabbing the latest from pypi.
- Add work-around to forking charm-tools to allow proofing on localhost during
  ingest.

QA:

In one terminal:
% make run

In another:
% bin/ingest-queued --prefix=~bac

Ensure that ~bac/charms/bundle/complicated/bundle ingests A-OK.

https://codereview.appspot.com/51650043/

R=rharding. Fixes: https://bugs.launchpad.net/bugs/1263112.

Approved by Juju Gui Bot.

475. By j.c.sackett

Automatically trigger builds for new charms and new revisions of existing charms.

Approved by Juju Gui Bot, Curtis Hovey.

474. By Brad Crittenden

Add two more questions to QA assessment.

https://codereview.appspot.com/49030044/

R=bac.

Approved by Juju Gui Bot.

473. By Brad Crittenden

Fix a bug that killed the worker.

Fixed 'wait_seconds' and added missing tests.
Added stanzas for logging that are required until the production overrides in
the charm are brought in.

QA: run 'bin/ingest-queued --limit=10 --debug --run-forever' and see that it
waits before proceeding.

https://codereview.appspot.com/48540043/

R=rharding.

Approved by Juju Gui Bot.

472. By Benji York

Add docs for setting up ES and Nagios

Also fixed a branch URL in the docs that was no longer valid.

Approved by Juju Gui Bot.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:charmworld
This branch contains Public information 
Everyone can see this information.

Subscribers