I've finally found some time to sort out my Git repos and get them together on one of my servers as a central location to pull from and push to.
It's about the right time to set this up as my slice of the git pie for Ægir development, alongside others such as anarcat's at git.koumbit.net, as Ægir development will eventually switch to using git rather than CVS. In fact, we're still committing to CVS because drupal.org's where the central repos are still stored - generally we're already developing in git. Managing branches is so much easier than throwing patches all over the place and I'm really enjoying having an excellent excuse to hone my knowledge of git (and while I mention it, the Pro Git book, freely available from the website, is the best guide around, in my opinion).
Anyway I've implemented git-web, so you can view the repositories over http at http://git.mig5.net
As I work on features / bug fixes in the Ægir components, I create branches that usually reference the ticket nid from drupal.org. If you're interested in working off any of these branches to test my bad code, you can do a standard git pull using the git:// protocol.
For example, if you want to retrieve my version of the Hosting module, you simply have to do this:
git clone git://git.mig5.net/drupal/modules/hosting
Now you might like to checkout a branch that tracks my work on the 'one vhost > multiple ports' issue and fix it so that it actually works (a real current affair at the time of writing :) )
git checkout -b 570980_vhosts_multiports origin/570980_vhosts_multiports
The repos are (similar to Koumbit's) also synced with the CVS repositories on drupal.org every 30 minutes via git-cvsimport, as well as receiving my pushes directly.
Cheers!

Post new comment