Automate some of the step needed for a review
Automatiser quelques unes des étapes pour la revue d'un paquet RPM
One month ago I was presenting a small script to automate to a certain point R review.
Since then, I have quickly been working on re-factoring the code to make it hopefully cleaner and more flexible.
The script works really simply, give it a src.rpm or a url and it will download the src.rpm, download the sources of the package, compare the sha1sum with upstream, install the srpm, build it locally and if the local build worked, start a scratch build on koji and run rpmlint on the generated rpm.
This is made for any package, but according to the name of the package more functionality can be added. I already added the function specific for R reviews, but I would like to know if person from PHP-Pear/Pcl or from Perl would also be interesting to add their own method in this script.
Again the goal is not to replace to reviewer but more to make his task easier also by automating some of the mandatory steps (such as the local build, the sha1sum of the srpm vs the upstream sources or running rpmling). It is not meant to replace a human reviewer but more to assist him.
The script is available at: http://pingou.fedorapeople.org/reviewHelper.py
Let me know if you find it interesting.