On Wed, Sep 09, 2015 at 01:07:16PM +0200, Orestis Ioannou wrote:
> On Tue, 18 Aug 2015 14:27:52 +0200 Enrico Zini <enr...@debian.org> wrote:
> > in view of making contributors.debian.org a useful tool for the MIA
> > team, I'd like to experiment with having a view that shows a list of all
> > people with a debian.org account who have not had any visible
> > contributions in the last X years.
> 
> I am interested in implementing this. I have two questions before starting:
> 
> - this should only be visible for DDs ?
> - have you thought of caching this information somewhere since doing the
> query at each request might be costly (performance wise)? And maybe
> running the query once a day or so?

I accidentally implemented it right after Debconf, as I needed to give a
talk about contributors.debian.org for Froscon and I decided that rather
than say in a slide that this could happen in the future, it would have
looked nicer to say in the slide that this had already happened:

   https://contributors.debian.org/contributors/mia

It could use improvements, as you say, ot make performance better. For
example, caching the results of the request to nm.debian.org, maybe just
using Django's cache framework: 
https://docs.djangoproject.com/en/1.8/topics/cache/

The cache framework can also be applied to just the view, and it'll take
care of expiration and everything.

Would you like to give that a try?


Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to