Rob Golding

Technology Consultant
  • Home
  • About Me
  • Curriculum Vitae
  • Contact

The Trials and Tribulations of Django + Git

June 2, 2009

I just finished my last exam today – Web Programming and Scripting – which explains the distinct lack of activity around here in recent times. Thankfully I could end my exam season on a high, as web programming is, well, what I do – so it wasn’t too much of a challenge!

Something strange happens to me every time exams come around. I seem to pick up new projects, and just run with them. This time, I’ve become involved with a small group of people at university, writing a portal-style information system for universities. I suppose most people call this behavior procrastination, but I’m quite deeply in denial about that.

Ever since my post about the Backtrac Backup System, I’ve been really enjoying using Django. Something about it just makes developing for the web, well, exciting. That can only be good, right? I am the designated server administrator for this latest project, mostly due to the fact that I am the only one with a server to administer, and some of the things I’ve learned so far seem worthy of a mention here.  Firstly, we as developers were – how can I put it – stepping on each other toes somewhat. The project at this point had no version control, so we were just editing a bunch of files over SFTP. Obviously, some sort of Source Control Management was in order. I did some research, and decided that Git was a nice, modern alternative to the ever-popular SVN. It also meant that my server was constantly backed up by everyone on the team – but that’s just a bonus!

So, I installed Git, and started a repository. A lot of effort went into learning how the system works, and more importantly, how to make it work for us. Directed Acyclic Graphs thankfully made some sense to me, so I could just about understance the documentation. I wrote some custom hooks, and a C Program to syncronise the web-server. I was happy, and absolutely certain that this was the solution to all our woes. I was mistaken. Git just didn’t work the way I had hoped. The custom hooks were throwing permission errors all over the place, and my development team (read: my friend Rob Miles) was locked out of the repository. We made the decision yesterday to scrap Git, and go back to the previous system of editing the files over SFTP. We are always in constant communication when developing for the project, so it’s not too big a deal, but I feel that I failed as an adminisrator. You see, as an admin your job isn’t just to play with cool toys and loud servers – your primary purpose is to give the users what they need to work, and that is most certainly not what I achieved.

I’m glad I took the time to learn Git – and I’m sure it will help me later in life, in some way or another. It’s just unfortunate that it didn’t work out the way I had hoped for our project.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati
Categories
Life, Technology, University, Web Development
Comments rss
Comments rss
Trackback
Trackback

« Roaming Firefox Profiles Exchange 2007 Autodiscover Issues »

3 Responses to “The Trials and Tribulations of Django + Git”

  1. Panikos says:
    July 30, 2009 at 10:35 am

    I was quite happy with SVN during similar projects. easy to setup, basic usage is straightforward. You also have tortoise svn for windows clients.

    You might also be interested to look at new google wave as a tool of collaborative development

    http://tinyurl.com/mjzn5u

  2. admin says:
    July 30, 2009 at 4:36 pm

    Cheers for the comments.

    A while back I submitted a request to test Google Wave for exactly this reason – to experiment with developing code using ‘Wave’s. I haven’t heard a thing (yet anyway!).

    I’ve been thinking about using SVN for my projects for a while now – as I have no problem with a server/client based SCM system. I’ll definitely give it a go with my next one :)

  3. Panikos says:
    July 31, 2009 at 6:20 pm

    Good to see a fellow *nix user at notts. if you are ever in the mood you might put up a forum (I would do it but I am leaving notts soon so i wouldnt end up maintaining it. free resources on byethost.com for running a forum btw) to go over common problems with running *nix on campus (like your proxy thread).

    Well, I send in a request for a google wave beta account too. Nothing yet but they are not really supposed to go live till september i think.

    As for svn good luck with it but unless you want to get creative i think you wont have any trouble. (this looks straightforward if you want webserver access too: http://www.debuntu.org/2006/05/20/54-how-to-subversion-svn-with-apache2-and-dav)

    although I personally switched to Lighttpd (my VPS resources are now free for real work) instead of Apache and I havent used it in conjuction with SVN yet.

Leave a Reply

Click here to cancel reply.

Pages

  • About Me
  • Curriculum Vitae

RSSFollow Me

Rob Golding
  • I've lost my car under all this white stuff...I'm sure it will turn up soon. 10:57:50 AM February 21 from HTC Peep
  • @BenJenkinson I certainly do! Everyone but Simon and River. 07:32:19 PM February 07 from HTC Peepin reply to BenJenkinson
  • Is it sad that my servers are now all named after firefly characters? 12:58:30 PM February 07 from HTC Peep

Recent Posts

  • Mercurial on University of Nottingham Computer Science Servers
  • Custom Section Numbering in LaTeX
  • Linux-Windows Integration (à la Likewise-Open & Winbind)
  • It Begins…
  • Exchange 2007 Autodiscover Issues

Archives

  • March 2010
  • February 2010
  • December 2009
  • September 2009
  • July 2009
  • June 2009
  • April 2009
  • March 2009
  • January 2009
  • November 2008
  • October 2008
  • September 2008
  • July 2008
  • April 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007

Technorati

Blog Information Profile for robgolding63
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox