On Sat, Apr 3, 2010 at 7:59 AM, Tobias Scherbaum <[email protected]> wrote:
> Am Samstag, den 03.04.2010, 15:40 +0100 schrieb Roy Bamford:
>> First, we need some metrics - the first step to controlling anything is
>> to measure it.
>
> So, how do you want to measure those metrics? I for one can't think of a
> useful algorithm which helps to identify understaffed or orphaned areas.
> Sure, one might take a look at the number of packages compared with open
> bugs for example - but in the end that still won't give you some useful
> metrics.
When I was a treecleaner I tended to look at a few things; note that
because we enforce very little in the tree these are basically just a
set of heuristics.
- metadata.xml: how many packages are maintainer-{needed,wanted}.
Does not apply to all herds because some herds fix anything in their
herd.
- date of last commit: Gentoo is fast moving and packages that
haven't had commits since 200{4,5,6} are probably old, unmaintained
and may not even compile or run.
- date of last listed maintainer commit versus last commit:
Basically if the maintainer hasn't touched the ebuild in a while but
someone else (herd members?) have, the metadata.xml is probably out of
date.
The above are all pretty easy to do with the data in the tree. Some
other useful ideas might be:
- compare open bugs for the package, when was the last bug for a
package closed (bugs data kinda sucks for this)
- for a given package in a herd, check the version in the tree
against freshmeat or similar to see how far behind it is (I think
someone wrote something for this already, exherbo?)
- check imlate to see if keywording is behind (is the maintainer
filing stablereqs?)
Metrics do not have to be perfect (they never are...) but they may
shine some light on some areas of the tree that need staff.
-A
>
> If someone has a feeling somewhere helping hands are missing or an area
> is orphaned - that's the best "metrics" we can get.
>
> - Tobias
>
> --
> Praxisbuch Nagios
> http://www.oreilly.de/catalog/pbnagiosger/
>
> https://www.xing.com/profile/Tobias_Scherbaum
>