mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs_maintainer_history: new override syntax
* Allow the regex for RECIPE_MAINTAINER to use either _ or : override syntax to allow processing maintainer changes across the change boundary. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This commit is contained in:
parent
662ca9a4be
commit
ea947724eb
|
@ -37,7 +37,7 @@ MAINTAINERS_INCLUDE_PATH = 'conf/distro/include/maintainers.inc'
|
||||||
"""
|
"""
|
||||||
def get_recipe_maintainer(line, logger):
|
def get_recipe_maintainer(line, logger):
|
||||||
import re
|
import re
|
||||||
regex = re.compile('^RECIPE_MAINTAINER_pn-(?P<pn>.*)\s=\s"(?P<name>.+) <(?P<email>.*)>"$')
|
regex = re.compile('^RECIPE_MAINTAINER[:_]pn-(?P<pn>.*)\s=\s"(?P<name>.+) <(?P<email>.*)>"$')
|
||||||
|
|
||||||
match = regex.search(line)
|
match = regex.search(line)
|
||||||
if match:
|
if match:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user