Re: Moving udd to django

2011-12-14 Thread Vincent Ladeuil
James Westby jw+deb...@jameswestby.net writes: On Tue, 13 Dec 2011 09:11:36 +0100, Vincent Ladeuil vila+...@canonical.com wrote: 3. It would also allow for starting to move udd to an SOA, or at least make it easier. Not a concern for udd so far. Actually

Re: Moving udd to django

2011-12-14 Thread Vincent Ladeuil
Martin Pool m...@sourcefrog.net writes: I think switching from batch html, handcoded sql and ssh access to higher-level alternatives would be well worth while and Django seems like a good choice. +1 from me, and also on the specific incremental changes. I agree with

Re: Moving udd to django

2011-12-14 Thread James Westby
On Wed, 14 Dec 2011 09:32:28 +0100, Vincent Ladeuil vila+...@canonical.com wrote: True, but I'm not saying your plan is *bad* for udd, quite the contrary. And yes, sharing some service to query launchpad sounds also like a good idea (I think I mention adding pkgme to mass_import and that's

Re: Moving udd to django

2011-12-14 Thread James Westby
On Wed, 14 Dec 2011 09:38:53 +0100, Vincent Ladeuil vila+...@canonical.com wrote: it will be less risky to deploy changes gradually, Only if we have tested these changes before deployment which we can't do for now (don't take my word for it, just look at the lp:udd history). Even my

Re: Moving udd to django

2011-12-14 Thread Robert Collins
On Thu, Dec 15, 2011 at 7:08 AM, James Westby jw+deb...@jameswestby.net wrote: My plan is delete add-import-jobs, and an a POST handler that gets told when there are new packages to scan. 'there is work to do now' is a classic pub-sub situation. Rather than a post handler, I suggest you want

Re: Moving udd to django

2011-12-14 Thread James Westby
On Thu, 15 Dec 2011 08:09:00 +1300, Robert Collins robe...@robertcollins.net wrote: On Thu, Dec 15, 2011 at 7:08 AM, James Westby jw+deb...@jameswestby.net wrote: My plan is delete add-import-jobs, and an a POST handler that gets told when there are new packages to scan. 'there is work