layerindex-web/layerindex
Paul Eggleton 7343484695 utils: add common function to check out a specific git revision
Checking out a revision in the bitbake/layer repositories is something
we are doing in a few places, so add a checkout_repo() function that
does this, ensuring that we don't get tripped up by any junk files,
and avoids checking out if the repository is already at the desired
revision (thus avoiding the clean operation and e.g. preserving any
.pyc files that aren't stale and would speed things up a little). Note
that we do the clean before checking out in case there are untracked
files that are tracked in the commit we are checking out.

In addition to adding this function, change the existing code that we
use in the update script to check out a layer use the new function.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04 23:57:53 +12:00
..
migrations Implement layer web repo commit URL 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 Save recipe source URLs 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 models: implement layerindex method to get recursive dependencies 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 Save recipe source URLs 2018-05-04 23:57:53 +12:00
update.py Move run_command_interruptible() to utils 2018-05-04 23:57:53 +12:00
urls_branch.py urls*: Use new urlpatterns list syntax 2018-04-24 10:15:47 +12:00
urls.py urls: add required exception parameter for page_not_found 2018-04-24 10:15:47 +12:00
utils.py utils: add common function to check out a specific git revision 2018-05-04 23:57:53 +12:00
views.py Add link to maintenance plan in layer detail 2018-05-04 23:57:53 +12:00