Drush is so slick. Learning the basics is easy and well worth it if you manage multiple sites (and you have shell access, of course). But does anyone know how to prevent it from overwriting .htaccess? We always configure the url rewrite rules and have to go in to each updated site's file and re-edit it whenever there's a core update like what just happened. Not a huge problem, but it sort of spoils the fun of drush.
Bob,
Version control is your answer. I use SVN and I make sure any changes on the site are committed before upgrading. After the upgrade I do:
rm .htaccess svn up (.htaccess file with changes is restored to site from repository) svn commit
VoilĂ ! Everything is cool.
Shai
Shai Gluskin
On Aug 13, 2010, at 6:17 PM, Bob Morse bob@morsemedia.net wrote:
Drush is so slick. Learning the basics is easy and well worth it if you manage multiple sites (and you have shell access, of course). But does anyone know how to prevent it from overwriting .htaccess? We always configure the url rewrite rules and have to go in to each updated site's file and re-edit it whenever there's a core update like what just happened. Not a huge problem, but it sort of spoils the fun of drush. -- [ Drupal support list | http://lists.drupal.org/ ]
Oh, thanks! Of course. Should be using version control anyway. Started on that path, got distracted.
On 8/13/10 4:03 PM, Shai Gluskin wrote:
Bob,
Version control is your answer. I use SVN and I make sure any changes on the site are committed before upgrading. After the upgrade I do:
rm .htaccess svn up (.htaccess file with changes is restored to site from repository) svn commit
VoilĂ ! Everything is cool.
Shai
Shai Gluskin
On Aug 13, 2010, at 6:17 PM, Bob Morsebob@morsemedia.net wrote:
Drush is so slick. Learning the basics is easy and well worth it if you manage multiple sites (and you have shell access, of course). But does anyone know how to prevent it from overwriting .htaccess? We always configure the url rewrite rules and have to go in to each updated site's file and re-edit it whenever there's a core update like what just happened. Not a huge problem, but it sort of spoils the fun of drush. -- [ Drupal support list | http://lists.drupal.org/ ]