layerindex-web/layerindex
Robert Yang 7728c0f84f update.py: check whether branch existed when nocheckout
Fixed:
Assume there is no master branch in hello layer:
$ update.py -l hello -b master
INFO: Skipping update of layer hello - branch master doesn't exist

This is correct since hello layer doesn't have master branch, but when --nocheckout:
$ update.py -l hello -b master  --nocheckout
[snip]
INFO: Sorting layers for branch mater:
WARNING: Cannot find required collections on branch master:
WARNING: hello: LAYERDEPENDS: <snip>

This is incorrect, this patch fixed the problem, now it skips it since the
branch doesn't exists when --nocheckout.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-07-09 13:46:08 +02:00
..
migrations Implement patch tracking 2018-05-04 23:57:53 +12: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 Implement layer web repo commit URL 2018-05-04 23:57:53 +12:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Implement patch tracking 2018-05-04 23:57:53 +12:00
bulkchange.py bulkchange.py: use oe.recipeutils code to patch recipes 2018-05-01 10:10:01 +12:00
context_processors.py Add a link from the Tools drop-down to the RRS if enabled 2018-05-04 23:57:53 +12: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 rrs: default python2/3 environments for new maintenance plan layer branches 2018-05-04 23:57:53 +12: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 utils: add common function to check out a specific git revision 2018-05-04 23:57:53 +12: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.py: check whether branch existed when nocheckout 2018-07-09 13:46:08 +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 utils.py: fix checkout_repo when no HEAD 2018-07-09 13:46:08 +02:00
views.py Add CSV export for layer recipes 2018-05-07 15:30:04 +12:00