Hi folks,

Is there a public git repository that tracks drupal's cvs repository? I can do this locally but I was just wondering if anybody has already set one up and made it public.

Cheers,

AF

Comments

Matt V.’s picture

I'm just checking out Git myself and I ran across this repository. It's definitely not tracking cvs.drupal.org precisely, since it only includes Drupal versions 5.3 and 5.5. But at least it's apparently someone else interested in the idea.

--
Drupal Theme Developer’s Cheat Sheet | 45 Screencasts to Get You Kicking Ass with Drupal

mikl’s picture

I've actually tried to set up one, since I use Git to manage my Drupal installations.

Git has a cvsimport command, but I have not been able to check out the branch I need (Drupal 5.x)

Perhaps it's a branch in there. I will investigate.

For reference, the command I used to check it out was:
git-cvsimport -v -d:pserver:anonymous@cvs.drupal.org:/cvs/drupal -o upstream drupal

You will probably need to use the following command first to generate a .cvspass file in your home dir that git-cvsimport will use to log in.
cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal login

If you have a CVS account at drupal.org, you should be able to use that as well.

mikl’s picture

I have made a semi-official mirror of Drupal's CVS with Git, on Github.

http://github.com/drupal/drupal/tree/master

You can check out the repository yourself by doing git clone git://github.com/drupal/drupal.git

It updates every hour or so.

The neat thing is that all tags and heads works in Git, so you can check out the DRUPAL-5-7 tag or the DRUPAL-5 branch/head if you so please (I do, because that makes it a lot easier to keep all my Drupal-sites updated.).

Enjoy ;)

Update: I've added a blog post about it: http://mikkel.hoegh.org/blog/2008/a_git_mirror_for_drupal_cvs

Matt V.’s picture

For future reference, I've added a page to the Drupal.org handbooks on Alternative VCS mirrors of cvs.drupal.org. In addition to git, it also lists mirrors for Bazaar and Subversion.

--
Drupal Theme Developer’s Cheat Sheet | 45 Screencasts to Get You Kicking Ass with Drupal

patcon’s picture