layerindex-web/layerindex
Paul Eggleton 3fa8a75a2f update: fix handling of moves outside of a layer
If a file is moved (renamed) to a path outside of the layer, e.g.
another layer within a multi-layer repository, then we need to treat it
as a delete. Up until now we were updating the path and continuing, and
then the recipe was also picked up as an add in the other layer, leading
to duplicate recipe entries. I'd noticed these duplicates before but up
until now I'd thought that they were due to another bug we already
fixed, apparently not.

In order to remove these erroneous duplicate entries in existing
databases I have also added a layerindex/tools/fixup_duplicates.py
script. I've also made the -r/--reload option delete them as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-07-19 15:12:45 +02:00
..
migrations Add site-wide notice support 2018-07-09 13:50:15 +02:00
static rrs: Set of UI improvments 2018-05-04 23:57:51 +12:00
templatetags templatetags/addurlparameter: remove unused reference 2018-04-24 10:15:47 +12:00
tools update: fix handling of moves outside of a layer 2018-07-19 15:12:45 +02:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
bulkchange.py bulkchange.py: use oe.recipeutils code to patch recipes 2018-05-01 10:10:01 +12:00
context_processors.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
forms.py Implement layer web repo commit URL 2018-05-04 23:57:53 +12:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py recipeparse: don't error out on missing layer recommends 2018-07-09 13:50:15 +02:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py restviews: add additional layer view with extra nested fields 2018-02-07 11:27:48 +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: fix handling of moves outside of a layer 2018-07-19 15:12:45 +02:00
update.py update.py: check whether branch existed when nocheckout 2018-07-09 13:46:08 +02:00
urls_branch.py Add CSV export for layer recipes 2018-05-07 15:30:04 +12:00
urls.py Drop old raw recipe export code 2018-05-07 12:01:12 +12:00
utils.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
views.py settings: allow disabling layer publishing emails 2018-07-09 13:50:15 +02:00