mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-12-04 06:37:28 +01:00
add with_src option
This commit is contained in:
parent
cdb822566e
commit
209846b00b
@ -25,6 +25,9 @@ def tag2distrepo_sme(cbtype, tag, build, user, force=False):
|
||||
latest = tag['extra'].get("tag2distrepo.latest", False)
|
||||
split_debuginfo = tag['extra'].get("tag2distrepo.split_debuginfo", False)
|
||||
skip_missing = tag['extra'].get("tag2distrepo.skip_missing_signatures", False)
|
||||
myarches = tag['arches'].split()
|
||||
if tag['extra'].get('tag2distrepo.with_src', False) == True:
|
||||
myarches.append('src')
|
||||
|
||||
if keys:
|
||||
logger.debug("Ensuring signed RPMs are written out")
|
||||
@ -36,7 +39,7 @@ def tag2distrepo_sme(cbtype, tag, build, user, force=False):
|
||||
|
||||
if tag['extra'].get("tag2distrepo.allow_missing_signatures"):
|
||||
task_opts = {
|
||||
'arch': tag['arches'].split(),
|
||||
'arch': myarches,
|
||||
'comp': None,
|
||||
'delta': [],
|
||||
'event': None,
|
||||
@ -49,7 +52,7 @@ def tag2distrepo_sme(cbtype, tag, build, user, force=False):
|
||||
}
|
||||
else:
|
||||
task_opts = {
|
||||
'arch': tag['arches'].split(),
|
||||
'arch': myarches,
|
||||
'comp': None,
|
||||
'delta': [],
|
||||
'event': None,
|
||||
|
Loading…
Reference in New Issue
Block a user