I've polluted two threads just recently with this, so I'll start a fresh one before they deviate too much more from their original topics.

(A bit of) background information: currently we use simple PHP scripts for www.inkscape.org, Planet for planet.inkscape.org and MediaWiki for wiki.inkscape.org.  Plans have been underway for moving www.inkscape.org and probably wiki.inkscape.org to Drupal (and possibly also merging inkscapeforum.com into it as well).  However, with the (renewal?) of discussion of an extensions repository, I suggested Django for the framework to use for it.  Then I thought about the migration of www. and wiki. and thought that Django would really be a better solution than Drupal.  (Not sure about the forum yet, having looked at it now I think it's probably best kept as it is rather than migrated to anything.)

On Tue, Dec 1, 2009 at 9:02 AM, Chris Mohler <cr33dog@...400...> wrote:
On Mon, Nov 30, 2009 at 12:02 PM, Joshua Facemyer <jfacemyer@...400...> wrote:
> On 11/29/2009 10:22 AM, Chris Morgan wrote:
>> It would take a bit longer than Drupal to get started
>> for just basic content and all (is there anyone else in the community
>> familiar with Django?

Yes and no - I've used Django with Turbogears, but only for playing
around/learning.  I'll be digging more into it this week during my off
time though - it's very nice so far.

> Would the extension repo idea be able to be worked into this, then?  I
> mean, I know it would, but would we want to do that?

I spent quite some time yesterday trying to get Django installed on a
Sourceforge hosting account - it was not pretty :(  In short, it would
be messy (install a local Python along with dependencies for Django,
then run the whole mess through fcgi - and I'm not entirely sure it's
possible after all).
The extension repository is the main thing that I proposed Django for - the main website and wiki were something I thought of a bit later.
Our website is currently hosted with OSUOSL and I checked with them and they say Django would be fine to set up and use.  (There are Python/Django-friendly hosts and there are the rest of the hosts - most of them.  I personally am just about to move my own sites to WebFaction so that I get decent Django support... and also an added bonus of version control with Bazaar, Mercurial or Git as I feel like it :-) )

And while I'm rambling on - what about trying Turbogears as a
framework?  Sourceforge is moving to it (though I doubt that they will
be using the default cherrypy server).  At any rate, I will be playing
around with Django and probably TG this week to prototype the
extension repo.  Whether or not the extension repo becomes an addon to
the main site, I'm happy to help.
I looked at TurboGears as well when evaluating web application frameworks, and I came to the conclusion that TurboGears just wasn't as pretty, fast, efficient or powerful (you may be interested in this benchmark of frameworks; Django is consistently at the top of the Python ones (compare the left-most column of Django with TurboGears, not the other more optimised ones) and at the top or near the top of all of the results.  And Drupal is definitely slower than Django.)


On Mon, Nov 30, 2009 at 11:32 PM, Joshua Facemyer <jfacemyer@...400...> wrote:
On 11/29/2009 10:22 AM, Chris Morgan wrote:
It would take a bit longer than Drupal to get started
for just basic content and all (is there anyone else in the community
familiar with Django?

I don't, but I'd be happy to help where I can.

What needs to be done to set up an initial site and get it into a bzr repo?  That way, those who are interested in helping can get familiar with it and possibly start building.
We'll see about that; it should be easy enough.  I've been wondering about where we want to have it though; formerly we've had a repository on SourceForge and a post-commit hook (I think, possibly also it was just a regular synchronisation?) to push the content to the OSUOSL server.  It seems to me it'd make sense to host the actual repository on the OSUOSL server.  Git is installed there, could we use that?  Or would we want to put it into a Bazaar repository and thus need to put Bazaar on it if it isn't?  Or perhaps there's some other way we could mirror it?  Anyone with expert knowledge in this area?
 
As for content migration, how would this be done (especially considering the wiki)?  I assume the content files could easily be parsed to work with Django.
I think this is the biggest thing in Django's favour over Drupal.  With Drupal, we'd need to migrate the main site content in quite a messy way, whereas with Django there's no need really to change how it is at all (it's file-based, you can work with that easily in Django).  For the Wiki it would have to be turned into HTML for Drupal - and most people in the Inkscape community don't like working in HTML, they find the Wiki format much simpler.  With py-wikimarkup we should be able to continue to use the Wiki content as it is; as for the database schema, I have no idea what that's like with MediaWiki; we may be able to work with it as is, we might need to migrate it in some way).  Personally I think I'd be a proponent of the following workflow for the wiki.inkscape.org and www.inkscape.org:
planet.inkscape.org could be replaced quickly with Feedjack (or more likely the newer continuation of it django-planet).  The hardest step would probably be making sure we keep the old content and migrating it.

Long emails like this are always fragmented.  I hope you get what you were looking for out of it in the way of information as to what I'm proposing.

Please think and give opinions :-)


Chris Morgan <chris.morganiser@...400...>


I'm good at making two things: mistakes and enemies.