layerindex-web/layerindex
Paul Eggleton 87fe124ad7 update_layer: fix handling of database errors
If a database error occurs when we save a recipe (e.g. because a
database-level constraint is voilated) it will mess up the transaction.
Unfortunately that means we need to break out of updating the entire
layer rather than catching the error, because if we do catch it we just
get errors on every update after the initial error; failing early and
giving up on the transaction is a little better in terms of not filling
up the update logs with further useless errors.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-01-09 17:10:45 +13:00
..
migrations update_layer.py: Save and show recipe dependencies 2017-12-18 09:01:29 +13:00
static Indicate if layer has YP Compatible certification 2017-09-27 15:26:24 +13:00
templatetags Support (and require) Python 3 2016-06-12 11:33:08 +12:00
tools layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py admin: fix dependency display and search 2017-12-21 16:14:17 +13:00
bulkchange.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
context_processors.py Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
forms.py layerindex: add "No update" status to LayerItem 2017-03-14 15:19:53 +13:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py update_layer.py: Save and show recipe dependencies 2017-12-18 09:01:29 +13:00
querysethelper.py querysethelper: fix searching 2017-10-31 09:58:30 +13:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Don't show "Starting bitbake server" in update log 2017-09-27 14:48:41 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py templates/layerindex/classes.html: Add bbclass search 2017-11-07 16:54:46 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
tasks.py Asynchronous email notifications, task execution 2017-09-01 16:59:43 +12:00
update_layer.py update_layer: fix handling of database errors 2018-01-09 17:10:45 +13:00
update.py update: allow preserving temp directory 2017-10-03 11:42:51 +13:00
urls_branch.py templates/layerindex/classes.html: Add bbclass search 2017-11-07 16:54:46 +13:00
urls.py templates/layerindex/classes.html: Add bbclass search 2017-11-07 16:54:46 +13:00
utils.py Don't show "Starting bitbake server" in update log 2017-09-27 14:48:41 +13:00
views.py update_layer.py: Save and show recipe dependencies 2017-12-18 09:01:29 +13:00