Hi,
Once in a while comes back the question: "is <insert nick here>
around ?"
Normally followed by: "I have opened and pinged him several time on
<bugzilla #/email/irc/insert what I missed here>".
And there the hunt for the last trace of activity starts. Some days ago
someone on the list was asking if there wasn't such a program that would
help identifying if someone has been active recently.
Well, I gave this a try.
http://ambre.pingoured.fr/cgit/fedora-misc.git/tree/fedora_active_user.py
(download via git clone
http://ambre.pingoured.fr/cgit/fedora-misc.git/ )
This checks for the last activity on
- FAS ➙ return the last time the user logged in on a Fedora web-app:
wiki, fas, bodhi (requires FAS auth)
- koji ➙ last build...
- bugzilla ➙ this takes a while as it retrieves all the bugs on which
the given email is either CC or Assigned and then check them all to
return the date of the last comment by this user.
- bodhi ➙ well this is not done yet (and I expect we will have similar
results as before) but the patch which will allow it should make it to
the next release
- mailing lists ➙ For this I use gmane which allow to search for email
coming from an email address. I used a define set of mailing list, this
can of course be extended.
output:
./fedora_active_user.py --user pingou --email=pingou(a)pingoured.fr --nobz
Last login in FAS:
FAS password for pingou:
pingou 2011-12-05 22:07:35.996974+00:00
Last action on koji:
Fri Nov 11 14:35:20 2011 package list entry created:
python-straight-plugin in dist-f11 by pkgdb [still active]
Last action on Bodhi:
Not yet implemented
Last email on mailing list:
2011-12-03 gmane.linux.redhat.fedora.devel
2009-11-04 gmane.linux.redhat.fedora.artwork
2011-08-10 gmane.linux.redhat.fedora.epel.devel
2011-10-13 gmane.linux.redhat.fedora.extras.packaging
2011-12-01 gmane.linux.redhat.fedora.infrastructure
Hope this helps and feel free to give suggestions,
It might be interesting to run this script across every single user
in the Fedora accounts system, and proactively identify any users
whom have not done anything in Fedora for a period longer than say
6-9 months.
Daniel
--
|: