layerindex-web/layerindex
Paul Eggleton 48c0839482 Allow blanking out field values in bulk change
If you're moving a short description value from DESCRIPTION to SUMMARY
then part of that is setting DESCRIPTION to blank, however that wasn't
possible - the code was assuming that a null value meant "keep the
original value". Change the logic so that the value in the bulk change
object is always set and is compared to the original value to see if it
is different. This provides less safety against bulk change data going
stale in the face of the metadata being updated, but without using an
additional "magic" field value that's the price we have to pay, and it's
unlikely to bother too many people I would imagine.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-05-30 16:01:42 +12:00
..
fixtures Add support for handling multiple branches 2013-03-05 20:37:48 +00:00
migrations Display recipe blacklist information 2016-05-24 14:22:58 +01:00
static Display recipe blacklist information 2016-05-24 14:22:58 +01:00
templatetags Improve pagination for recipe list 2013-02-19 18:28:48 +00:00
tools tools/import_layer: fix errors in maintainer scraping code 2014-06-12 11:24:25 +01:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py admin: enable adding layer branches 2013-11-04 10:57:51 +00:00
bulkchange.py Allow blanking out field values in bulk change 2016-05-30 16:01:42 +12:00
context_processors.py Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
forms.py Allow blanking out field values in bulk change 2016-05-30 16:01:42 +12:00
models.py Allow blanking out field values in bulk change 2016-05-30 16:01:42 +12:00
querysethelper.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
recipedesc.py Add support for importing OE-Classic recipes 2013-09-05 00:31:22 +01:00
recipeparse.py recipeparse.py: handle old BBFILES append method in layer.conf 2015-06-17 18:36:37 +01:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
update.py Display recipe blacklist information 2016-05-24 14:22:58 +01:00
urls_branch.py Navigation improvements 2013-09-05 00:31:23 +01:00
urls.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
utils.py Ensure logger is passed into runcmd function or use sys.stderr.write 2013-09-05 00:31:23 +01:00
views.py Allow blanking out field values in bulk change 2016-05-30 16:01:42 +12:00