mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
Fix KojiGitReleaser method arguments.
This commit is contained in:
parent
bb9d9eaf53
commit
cf3258932f
2 changed files with 12 additions and 2 deletions
|
@ -26,6 +26,11 @@ rsync = fedorapeople.org:/srv/repos/dgoodwin/tito/epel-6/x86_64/ fedorapeople.or
|
|||
releaser = tito.release.KojiReleaser
|
||||
autobuild_tags = tag1 tag2
|
||||
|
||||
[test-koji-git]
|
||||
releaser = tito.release.KojiGitReleaser
|
||||
autobuild_tags = tag1 tag2
|
||||
git_url = git://example.com
|
||||
|
||||
[fedora]
|
||||
releaser = tito.release.FedoraGitReleaser
|
||||
branches = master f17 f18 f19 el5 el6
|
||||
|
|
|
@ -1085,8 +1085,13 @@ class KojiGitReleaser(KojiReleaser):
|
|||
self.skip_srpm = True
|
||||
KojiReleaser._koji_release(self)
|
||||
|
||||
def _submit_build(self, executable, koji_opts, tag):
|
||||
""" Submit build to koji. """
|
||||
def _submit_build(self, executable, koji_opts, tag, srpm_location):
|
||||
"""
|
||||
Submit build to koji using the git URL from config. We will ignore
|
||||
srpm_location here.
|
||||
|
||||
NOTE: overrides KojiReleaser._submit_build.
|
||||
"""
|
||||
cmd = "%s %s %s %s/#%s" % \
|
||||
(executable, koji_opts, tag,
|
||||
self.releaser_config.get(self.target, 'git_url'),
|
||||
|
|
Loading…
Add table
Reference in a new issue