A Git mirror for Drupal CVS
Tuesday, February 50th, 2008
For some weeks, I have on-and-off been trying to create my own mirror of cvs.drupal.org in Git, and now it seems I’ve finally succeeded.
I have set it up with Gitweb and everything, and it seems to have complete fidelity with regards to the original data. It has all the branches/heads and tags that Drupal has, meaning that you can use checkouts from this reppository to keep your Drupal installations up-to-date.
Here’s the links:
Repository (git clone this):
I am currently working on a cron job to keep it up to date. I’ll set it up to update from cvs.drupal.org every 6 hours or so. I think that’s sensible, but if you have a better opinion, feel free to post it below.
I do hope that this could get to be an official thing, hosted at git.drupal.org and everything, but for now, I just hope that you guys won’t wreck my server by hitting Gitweb like there’s no tomorrow :)
For those interested, here’s the command to create such a repository, though a fair warning should be in order: _It takes hours to do_ and probably generates a fair bit of load on cvs.drupal.org, so unless you have a solid reason to do so, you should just clone my repository with Git!
With no further ado, the command:
git-cvsimport -v -d:pserver:firstname.lastname@example.org:/cvs/drupal -o upstream drupal
If this fails, you will probably need to do a CVS login first, like this:
cvs -d:pserver:anonymous:email@example.com:/cvs/drupal login
If you have a Drupal CVS account, you should be able to use that as well.
Since my server is kinda hard to get to, I’ve started pushing the aforementioned repository to Github instead. I’ve changed the URLs above.
My name is Mikkel Høgh, I've worked with web tech for the last 20 years. These days, I work with e-commerce in Central Switzerland.