Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Adam Mercer
Koji Packager
Commits
371b48d3
Verified
Commit
371b48d3
authored
May 15, 2019
by
Adam Mercer
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workaround koji.add_pkg() not passing --owner
need to fix this properly
parent
88770c3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
gwkoji/koji.py
gwkoji/koji.py
+2
-0
gwkoji/packager.py
gwkoji/packager.py
+3
-1
No files found.
gwkoji/koji.py
View file @
371b48d3
...
...
@@ -44,6 +44,8 @@ def list_pkgs(*args, **kwargs):
def
add_pkg
(
*
args
,
**
kwargs
):
# FIXME: this needs to be updated to automatically pass --owner in the
# appropriate place
return
_koji_call
(
'add-pkg'
,
*
args
,
**
kwargs
)
...
...
gwkoji/packager.py
View file @
371b48d3
...
...
@@ -120,7 +120,9 @@ def main():
logger
.
critical
(
"owner not specified"
)
sys
.
exit
(
1
)
try
:
koji
.
add_pkg
(
args
.
owner
,
pkg_name
,
logger
=
logger
)
# FIXME: need to update koji.add_pkg() to pass --owner in the
# appropriate place
koji
.
add_pkg
(
'--owner'
,
args
.
owner
,
pkg_name
,
logger
=
logger
)
except
subprocess
.
CalledProcessError
as
e
:
logger
.
critical
(
"unable to regsiter package: %s"
%
e
)
raise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment