On 17:39 Tue 26 Oct , Tomáš Chvátal wrote: > Hello guys, > I took last few days to rewrite our eshowkw script from bash to python > and enhance its functionality. > > Not all of you are aware of this usefull script from gentoolkit-dev > package, so let me introduce it: > It is script that shows keywords for package and all its versions in > nice table for easy review. If you take look on the output_gcc.log > attachment it shows what it prints out for our gcc package. > > It checks out all versions, identify installed and masked packages, > separate it by slots and detect redundant versions that could be in > theory removed. > > So since I would like to have this script replace current eshowkw one I > want to ask you for kind help on that script and review it and suggest > improvements. > > If the script lack some feature you really want to use also let me know, > maybe it wont be too hard to implement.
Very cool! There is one major regression from the previous implementation: it is twice as slow, at least on my system. You might want to try some profiling to track this down. In addition, I suspect that printing during the ebuild-processing phase (so printing starts earlier) as the previous implementation does would give the impression of speed. -- Thanks, Donnie Donnie Berkholz Sr. Developer, Gentoo Linux Blog: http://dberkholz.wordpress.com
pgpTcpmUj83hf.pgp
Description: PGP signature