Drupal through CVS

In the same vein as Wordpress through Subversion I thought it might save me some hassle to run Drupal through CVS, which should/could save me from hassle when I have to upgrade and copy a load of files into the 'active' version's directory.

So... I reckon all I need to do is :

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -r DRUPAL-5 -d drupal-CVS-5 drupal

Which will plonk drupal into a directory called 'drupal-CVS-5'.

Should get a chance to move over to using this tomorrow, hopefully. At the moment applying security fixes are a pain - I'm hoping the ability to do 'cvs update' to apply them will make life far better.

Technorati Tags:

I hate to disappoint you, but...

I thought I'd discovered the same great solution, but without the equivalent of svn:externals, it only makes things worse. You'll see what I mean when you try and do your first update.

I'm thinking config-manager looks like the way to go. Still have to try it, though...

SR

config-manager

Hi,

Thanks for the link about config-manager; I'll have to look into that.

How would svn:externals help? From a keeping modules up to date point of view, or something else?

I've done my first 'cvs update' and it patched a few random files; and I've now switched this site over to reading the 'cvs' version... so time will tell.

Re: config-manager

svn:externals (with an svn repo) lets you check out all the plugin / modules that you need in the same svn tree. And running svn update in the root will update them, too.

ah, yes

So far, I'm mostly 'bothered' with the core bit of drupal - I don't think I use all that many modules.... although I should check to see what updates there are for the ones I have installed.

At the moment, I think I'll rely on the drupal security announcements to keep me up to date wrt modules.

From memory, you can have an 'externals' like behaviour with CVS... but you'd obviously have to check out each module individually...

experimentation

I'm experimenting with a bzr tree for drupal (produced with the help of config-manager: https://code.edge.launchpad.net/~stefanor/drupal/sr

My problem is that while I follow drupal's security announcements, I maintain a few drupal sites. Updating each one individually is a pain, and I usually screw something up.

OTOH, Wordpress uses svn, and I can update sites in seconds, reliably.

Alias support in CVS requires server-side settings, AFAIK (I'm not a CVS-god)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
We don't take kindly to automated nonsensible adverts around here.