On Sat, Aug 15, 2015 at 09:13:18AM +0200, Miroslav Suchý wrote:
It is first version and I'm sure there will be some false
negatives. The
current logic is:
1. query FAS to get all usernames from packager group who are sponsors
2. for each such user get all bugs from past 365 day for Package Review
component which are assigned to this sponsor
3. give the sponsor some credit when he changed bug status (to whatever
state) as this indicate some work on this bug
4. give the sponsor some credit if he remove FE-NEEDSPONSOR from blocking
bugs as this indicate finishing sponsor work
I think the script should also consider comments to needsponsor bugs as
sponsoring work, even if the bug was not yet assigned to someone. And
IMHO the wording should be a little bit more friendly, e.g. "no recent
sponsor activity" instead of "no sponsor work".
Regards
Till