My typical morning with Moodle development
(1) make coffee – unfortunately this does not work as Linux command yet on my machine. I should find some time to implement http://tldp.org/HOWTO/Coffee.html
(2) Start-up Vimperator and triage my email inbox, using a variant of GTD method.
(3) Connect to Moodle developers and Moodle commits Jabber rooms
(4) $ cd public_html/moodle-head
(5) $ git fetch
Download the recent commits from our git mirror of the main CVS repository.
(6) $ gitk master..origin
This gives me an overview on what happened in the code since the last time I merged.
(7) $ git checkout master && git pull
Fast-forward my local master branch so it contains the recent commits.
(8) $ git checkout fix/somebug-MDL-xxxxx
I love branching. I do every development (even a simple bug fix) on a separate branch.
(9) $git cvsexportcommit -c -p -u -v <hash>
Once the fix is committed on my branch, I export it to CVS. Thanks to my set-up everything happens really quickly. If the fix is done on a stable branch I have to move the merged-status tag manually yet in the CVS checkout, which is a bit annoying. Once we move to git (note not “If we moved to git” :-p) thing will become even easier.



February 25th, 2010 at 13:04
[New Post] My typical morning with Moodle development – via @twitoaster http://blog.mudrak.name/2010/02/my-typic...
via Twitoaster
February 25th, 2010 at 14:00
RT @mudrd8mz: [New Post] My typical morning with Moodle development – via @twitoaster http://blog.mudrak.name/2010/02/my-typic...
via Twitoaster
February 25th, 2010 at 16:31
Hi David,
I don’t understand any of the technical mumbo jumbo but thanks for telling us a bit about your work for moodle. I do however get GTD! Without it I probably would have burnt out by now
See you soon,
Stephan
February 25th, 2010 at 23:15
Might not be interesting to you, but I’m not a fan of tig and instead prefer a cli interface to browse in a similar way and have looked at tig: http://git.wiki.kernel.org/index.php/Tig
February 25th, 2010 at 23:15
Not a fan of gitk even.
February 26th, 2010 at 02:36
It may not work depending on how often you get urgent emails but I find I get a lot more done if I don’t check my email until lunchtime. It gives you a few hours to focus on a single task (fixing a bug, updating a document) before getting drawn into replying to emails, answering questions in forums etc.
I obviously didn’t do this today which is why I’m posting on here at 9:30am.