mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs_maintainer_history: check out layer branch before looking for maintainers.inc
The revision that happens to be checked out at the moment could be anything and might not actually have a maintainers.inc, so check out the proper branch before looking for it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
0d19f49dd7
commit
c74e4bd4d9
|
@ -69,6 +69,8 @@ def get_commit_info(info, logger):
|
|||
|
||||
|
||||
def maintainers_inc_history(options, logger, maintplan, layerbranch, repodir, layerdir):
|
||||
utils.checkout_layer_branch(layerbranch, repodir, logger=logger)
|
||||
|
||||
maintainers_full_path = os.path.join(layerdir, MAINTAINERS_INCLUDE_PATH)
|
||||
if not os.path.exists(maintainers_full_path):
|
||||
logger.warning('Maintainer style is maintainers.inc for plan %s but no maintainers.inc exists in for %s' % (maintplan, layerbranch))
|
||||
|
|
Loading…
Reference in New Issue
Block a user