Open main menu

CDOT Wiki β

Changes

Koji Follow

1,992 bytes added, 16:51, 5 March 2013
no edit summary
== Notes ==
 
* This script does not automatically solve circular dependency issues (which there are a lot of, especially packages like sub perl modules)
* This script does not automatically solve bootstrapping or library.so name bump requires issues (which happens often during a completely new tag rebuild)
* This script does not attempt to solve any package build failure issues
* This script can be run in 2 modes: "mass-rebuild" and "latest-follow" and ques builds in order based on their "creation_ts" value
** mass-rebuild mode will attempt to compile a complete list of packages that were built for a given tag and then que them in the given order
** latest-follow mode will perform a "list-tagged --latest" and que each unbuilt package in the given order
 
== Example mass-rebuild config file and program execution ==
 
<b>~/koji-follow.conf</b>
 
<pre>
primary_url = "http://koji.fedoraproject.org"
primary_arch = "x86_64"
#secondary_url = "http://arm.koji.fedoraproject.org"
#secondary_arch = "armhfp"
 
#primary_url = "http://arm.koji.fedoraproject.org"
#primary_arch = "armhfp"
secondary_url = "http://japan.proximity.on.ca"
secondary_arch = "armv6hl"
 
client_cert = os.path.expanduser("~/.fedora.cert")
server_cert = os.path.expanduser("~/.fedora-server-ca.cert")
 
target_arch = "arm"
tag_name = "f18"
que_limit = 80
 
excl_list = ["glibc","kernel","koji","redhat-rpm-config","rpm","yum"]
check_tag = "all"
retry_build = "all"
</pre>
 
<b>python ~/koji-follow.py ~/koji-follow.conf > ~/logs/kfo.log 2> ~/logs/kfe.log</b>
 
== Example mass-rebuild config file and program execution ==
 
<b>~/koji-follow.conf</b>
 
<pre>
primary_url = "http://koji.fedoraproject.org"
primary_arch = "x86_64"
#secondary_url = "http://arm.koji.fedoraproject.org"
#secondary_arch = "armhfp"
 
#primary_url = "http://arm.koji.fedoraproject.org"
#primary_arch = "armhfp"
secondary_url = "http://japan.proximity.on.ca"
secondary_arch = "armv6hl"
 
client_cert = os.path.expanduser("~/.fedora.cert")
server_cert = os.path.expanduser("~/.fedora-server-ca.cert")
 
target_arch = "arm"
tag_name = "f18"
que_limit = 80
 
excl_list = ["glibc","kernel","koji","redhat-rpm-config","rpm","yum"]
check_tag = "latest"
retry_build = "failed"
</pre>
 
<b>python ~/koji-follow.py ~/koji-follow.conf > ~/logs/kfo.log 2> ~/logs/kfe.log</b>
1
edit