Merge pull request #1183 from lnussel/staging
staging: add exceptions for new 000* product files
This commit is contained in:
commit
02e50005b1
@ -253,6 +253,8 @@ class FreezeCommand(object):
|
||||
# If the package is an internal one (e.g _product)
|
||||
if package.startswith('_'):
|
||||
return None
|
||||
if package.startswith('000'):
|
||||
return None
|
||||
|
||||
# Ignore packages with an origing (i.e. with an origin
|
||||
# different from the current project)
|
||||
|
@ -195,7 +195,7 @@ class StagingAPI(object):
|
||||
for si in ET.parse(root).getroot().findall('sourceinfo'):
|
||||
pkg = si.get('package')
|
||||
# XXX TODO - Test-DVD-x86_64 is hardcoded here
|
||||
if pkg in ret and not pkg.startswith('Test-DVD-'):
|
||||
if pkg in ret and not pkg.startswith('Test-DVD-') and not pkg.startswith('000'):
|
||||
msg = '{} is defined in two projects ({} and {})'
|
||||
if checklinks and pkg in except_pkgs and prj == except_pkgs[pkg]:
|
||||
msg = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user