Changes

Jump to: navigation, search

Koji Follow

339 bytes added, 10:27, 8 July 2013
Run Notes
= Koji Follow Que Script =
== Build Notes ==
* This script does not automatically solve circular dependency issues (which there are a lot of, especially packages like sub perl modules)
* Start of initial-build
# libA-1.0-1.fc17 is built (Provides: libA.so.1)
# packageB-1.0-1.fc17 has a requires on (BuildRequires: libA,packageC but ) is bootstrapped and temporarily built without itwith its packageC requirement removed (Requires: libA.so.1)# packageC-1.0-1.fc17 has a requires on (BuildRequires: libA,packageB and is built with ) installs libA-1.0-1.fc17,packageB-1.0-1.fc17 and is built (Requires: libA.so.1,packageB)# packageB-1.0-2.fc17 has a requires on packageC and is built with (BuildRequires: libA,packageC) installs libA-1.0-1.fc17,libApackageC-1.0-1.fc17 and is built (Requires: packageClibA.so.1)
=== Building a new library first and the packages that depend on it later ===
* Start of mass-rebuild
# libA-2.0-1.fc18 is built (Provides: libA.so.2)
#* Attempting to build packageB-2.0-2.fc18 or packageC will require packageC-1.0-1.fc17 BuildRequire each other and which requires both will then Require libA.so.1 which will then only finds find libA.so.2 given in the current repodata (this package needs to be bootstrapped again)#* Attempting to build packageC-2.0-1.fc18 will require packageB-1.0-2.fc17 which requires packageC-1.0-1.fc17 which brings us to the same breakage error as shown above
=== Building new packages first and then the following libraries they depend on after ===
* Start of mass-rebuild
# packageB-2.0-2.fc18 has a requires on packageC and is built with (BuildRequires: libA,packageC) installs libA-1.0-1.fc17 which has a requires on libA,packageB which installs libApackageC-1.0-1.fc17 and packageB-1.0-2.fc17 is built (Requires: packageClibA.so.1)# packageC-2.0-1.fc18 has a requires on (BuildRequires: libA,packageB and is built with ) installs libA-1.0-1.fc17,packageB-2.0-12.fc18 which has a requires on packageC which installs packageC-1.0-1.fc17 and is built (Requires: libA.so.1,packageB)
# libA-2.0-1.fc18 is built (Provides: libA.so.2)
#* All packages will now appear to be up to date and current except that the repo is now broken as trying to install packageB or packageC will require libA.so.1 which is not being provided for at all since the updated libA-2.0-1.fc18 only provides libA.so.2 == Run Notes == * Packages are not processed in alphabetical order and the output is not displayed in numerical order* The koji error log is for processing messages and the koji stdout log is for queing messages* You need to add any new package names to a tag before they are built* You need a lot of free space in the current directory that the script is running in* Before running the script, attempt a scratch build of a sample package with the given build tag* You can redirect stderr to stdout and write stdout to a file so that the messages are in order with each other
= Downloads =
</pre>
<b>python ~/kf/koji-follow.py ~/kf/koji-follow.conf > ~/logskf/kfo.log 2> ~/logskf/kfe.log</b>
== latest-follow mode ==
</pre>
== Execution Example == <b>python ~/kf/koji-follow.py ~/kf/koji-follow.conf > ~/logskf/kfo.log 2> ~/logskf/kfe.log</b>
= Example Log Output =
== STDOUT Messages ==
1
edit

Navigation menu