allow debuginfo for sidetag repos
Fixes: https://pagure.io/koji/issue/540
This commit is contained in:
parent
b972b572a0
commit
2a621b337c
3 changed files with 19 additions and 8 deletions
|
|
@ -5341,7 +5341,8 @@ class NewRepoTask(BaseTaskHandler):
|
|||
kwargs['with_src'] = True
|
||||
if separate_src:
|
||||
kwargs['with_separate_src'] = True
|
||||
if debuginfo:
|
||||
# generate debuginfo repo if requested or if specified in sidetag's extra
|
||||
if debuginfo or tinfo['extra'].get('with_debuginfo'):
|
||||
kwargs['with_debuginfo'] = True
|
||||
repo_id, event_id = self.session.host.repoInit(tinfo['id'], **kwargs)
|
||||
path = koji.pathinfo.repo(repo_id, tinfo['name'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue