Checking out modules from CVS

Keep up-to-date with rapidly changing modules by checking them out from Drupal's CVS repository.

Checking out a module from CVS
Rather than just downloading a tarball, you can use CVS to checkout modules from http://cvs.drupal.org. Navigate to the folder where you want to store the module and check out a the module:

cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib \
checkout -d modulename -r revisiontag contributions/modules/modulename

So if you want to check out, for example, cck-5.x-1.7.tar.gz, the command would be:

cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib \
checkout -d cck -r DRUPAL-5--1-7 contributions/modules/cck

If you want to simplify that process, create /usr/local/bin/drupalModuleCheckout with the contents:

#/bin/bash
cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib \
checkout -d $1 -r DRUPAL-$2 contributions/modules/$1

Make it executable

chmod ugo+x /usr/local/bin/drupalModuleCheckout

You can then download a module with:

drupalModuleCheckout modulename revisiontag

Recent Updates

  • 2 months 1 week ago
  • 2 months 1 week ago
  • 2 months 2 weeks ago
    php 8.x
  • 2 months 2 weeks ago
    10.6.7
  • 2 months 2 weeks ago
    Drop Centos 5/6 stuff