Unfortunately, all times we have a big list to keyword or stabilize, repoman complains about missing packages. So, in this post I will give you the solution to avoid this problem.
First, please download the batch-stabilize-pretend script from my overlay.
I’m not a python programmer but I was able to edit the script made by Paweł Hajdan. I just deleted the bugzilla commit part, and I make the script able to print repoman full if the list is not complete.
This script works only with >=www-client/pybugz-0.10 and you need to have >=sys-apps/portage-2.1.11.63
Now, to check if repoman will complain about your list, you need to do:
./batch-stabilize-pretend.py --arch amd64 --repo /home/ago/gentoo-x86 -i /tmp/yourlist
where:
- batch-stabilize-pretend.py is the script (obviously);
- amd64 is the arch that you want to check. You will use ~amd64 for the keywordreq;
- /home/ago/gentoo-x86 is the local copy of the CVS;
- /tmp/yourlist is the list which contains the packages;
Few useful notes:
If you want to check on some arches, you can use a simple for:
for i in amd64 x86 sparc ppc ; do
./batch-stabilize-pretend.py --arch "${i}" --repo /home/ago/gentoo-x86 -i /tmp/yourlist
done
The script will run ekeyword, so it will touch your local CVS copy of gentoo-x86. If this is not your intention, please make another copy and work there or don’t forget to run cvs up -C.
Before doing this work, you need to run cvs up in the root of your gentoo-x86 local CVS.
The list must be structured in this mode:
# bug #445900
=app-portage/eix-0.27.4
=www-client/pybugz-0.9.3
=dev-vcs/cvs-1.12.12-r6
#and so on..