Hello!
Is it possible to mash repositories from tags without using some bash magic around mash tool?
I've installed koji-1.10.1-10.fc24.noarch on my Fedora 24 and can't find anything related to mashing in koji help --all
Hello!
For quite a while koji is broken on CentOS 7
it fails when I try to regen-repo with error:
[kojiadmin@koji ~]$ koji --debug regen-repo dist-centos6-build
successfully connected to hub
Regenerating repo for tag dist-centos6-build
Watching tasks (this may be safely interrupted)...
5 newRepo (dist-centos6-build): free
Traceback (most recent call last):
File "/bin/koji", line 6733, in <module>
rv = locals()[command].__call__(options, session, args)
File "/bin/koji", line 6506, in handle_regen_repo
return watch_tasks(session, [task_id], quiet=options.quiet)
File "/bin/koji", line 456, in watch_tasks
changed = task.update()
File "/bin/koji", line 361, in update
self.info = self.session.getTaskInfo(self.id, request=True)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1577,
in __call__
return self.__func(self.__name,args,opts)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1952,
in _callMethod
iter(arg)
TypeError: 'int' object is not iterable
applying the patch found in
https://lists.fedoraproject.org/pipermail/buildsys/2015-January/004484.html
resolves the issue.
but this patch is more than 1 year old.
Could someone please fix this stuff?
steps to reproduce:
git clone https://github.com/kostyrevaa/ansible-koji-infra.git
cd ansible-koji-infra/
./bootstrap-ansible.sh
vagrant up
vagrant ssh
sudo -i
su - kojiadmin
koji moshimoshi
koji add-tag dist-centos6
koji add-tag --parent dist-centos6 --arches "x86_64" dist-centos6-build
koji add-external-repo -t dist-centos6-build dist-centos6-repo
http://mirror.yandex.ru/centos/6/os/\$arch/
koji add-external-repo -t dist-centos6-build dist-epel6-repo
http://mirror.yandex.ru/epel/6/\$arch/
koji add-target dist-centos6 dist-centos6-build
koji add-group dist-centos6-build build
koji add-group dist-centos6-build srpm-build
koji add-group-pkg dist-centos6-build build bash bzip2 coreutils cpio
diffutils findutils gawk gcc grep sed gcc-c++ gzip info patch
redhat-rpm-config rpm-build shadow-utils tar unzip util-linux-ng which
make
koji add-group-pkg dist-centos6-build srpm-build bash gnupg make
redhat-rpm-config rpm-build shadow-utils wget rpmdevtools
koji regen-repo dist-centos6-build
P.S. the very same sequence of commands runs smoothly on CentOS 6.8
Thanks!