[PATCH 1/2] settings: Disable Debug Toolbar for all Django<1.7

2016-03-23 Thread Stephen Finucane
The django-debug-toolbar project doesn't support Django 1.6, but the check used to disable this plugin for this version only works for Django 1.6.0 and less. Enable it for all versions of Django < 1.7. Signed-off-by: Stephen Finucane --- patchwork/settings/dev.py | 2

Re: [PATCH] migrations: Optimize 0007 patch comment for psql

2016-03-23 Thread Finucane, Stephen
On 17 Mar 16:04, Andy Doan wrote: > By handling comment copying/deletion via SQL we can make migration take > <3 minutes rather than >30minutes for big instances. The SQL is vendor > specific, so a similar query would need to be added to support MySQL. > > Signed-off-by: Andy Doan

Re: getting meta-data out of patchwork

2016-03-23 Thread Finucane, Stephen
On 23 Mar 09:01, Andy Doan wrote: > On 03/22/2016 10:41 PM, Jeremy Kerr wrote: > >Hi Stephen, > > > >>Is there anyway to get statistics out of patchwork about how long > >>patches sit around, reject/accept rates, and patch sizes? > > > >There's no exposed interface for stats at present, but if

Re: Patch tagging/classification

2016-03-23 Thread Finucane, Stephen
On 22 Mar 16:13, Thomas Petazzoni wrote: > Hello, > > On Tue, 22 Mar 2016 15:09:23 +, Finucane, Stephen wrote: > > > Actually, I stand corrected. Doing the above would require the 'Label' > > model having a many-to-many relationship with both a 'Project' and a > > 'Patch'. There doesn't seem

Re: getting meta-data out of patchwork

2016-03-23 Thread Damien Lespiau
On Wed, Mar 23, 2016 at 09:01:43AM -0500, Andy Doan wrote: > On 03/22/2016 10:41 PM, Jeremy Kerr wrote: > >Hi Stephen, > > > >>Is there anyway to get statistics out of patchwork about how long > >>patches sit around, reject/accept rates, and patch sizes? > > > >There's no exposed interface for

Re: getting meta-data out of patchwork

2016-03-23 Thread Andy Doan
On 03/22/2016 10:41 PM, Jeremy Kerr wrote: Hi Stephen, Is there anyway to get statistics out of patchwork about how long patches sit around, reject/accept rates, and patch sizes? There's no exposed interface for stats at present, but if it's a once-off on patchwork.ozlabs.org I'm happy to do