drush
Intro
Due to popular request, I've decided to quickly document how we at UNT Web support use squid as a proxy caching server for drush. The main goal was to speed up module updates, and reduce the load on drupal.org and UNT's internet connection. The instructions are based on my memory, and are for Debian, so there may be gaps here and there depending on your experience/OS.Squid Setup
Installation was super-simple. (gotta love apt)- apt-get install squid3
I recently had to update a number of drupal installations, some of them quite old. Here is a bash "few-liner" to migrate an install to CVS, making it much easier to update in the future.
cd your_drupal_dir
# replace DRUPAL-6-12 with the appropriate version tag
cvs -z6 -d :pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout \
-r DRUPAL-6-12 new_drupal
rm -rf new_drupal/sites
mkdir old_drupal
for i in `ls drupal`; do mv $i old_drupal; mv drupal/$i .; done
# if you have drush
drush updatedb
# make sure everything's working, then rm -rf old_drupal
Standard disclaimers apply, hope this helps some people!