----- "Kamil Paral" kparal@redhat.com wrote:
Solution #2: Re-implement "search for latest" strategy I have been playing with koji command and it seems to be able to list all the history of builds with particular tag, not just the latest build. You can try it yourself: $ koji list-tag-history --package=PackageKit $ koji list-tagged dist-f12-updates PackageKit Therefore we can re-implement/add a new method to our library that would not just provide the latest build of a package, but all of them from the history. Then we would pick the one that suits us most. The API clearly offers this capabilities.
Oh and this has one more advantage James mentioned on IRC: We can then run the test again anytime in the future and it should still give relevant results (as long as packages are stored on koji). So we can re-run the testing from some reason after a week and get good results (it will correctly find the previous builds).