Scripts to assist in the management of local and remote Drupal 6 and 7 updates via Subversion.
ckieffer/drupal-tools
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Scripts to assist in the management of local and remote Drupal 6 and 7 updates via Subversion. Author: Chad Kieffer, ckieffer at gmail dot com These scripts currently supports one local instance of Drupal 6 and one instance of Drupal 7. Save Drupal core and module updates to a standard directory and run the appropriate script. OVERVIEW drupal_update.sh does the following: Before using the update Drupal core script, be sure that you've set your Subversion repository to ignore local files that you don't want to add (i.e. settings.php, symlinks, etc.). If you don't, the script may add and commit files you don't want in your repo. With that out of the way, here are the scripts and a what they do. 1) Moves the core update package to tmp and unpacks it. 2) Removes the .htaccess and sites/example.sites.php files. 3) Zips the modified core package and unpacks over the local install. 4) SVN adds any new files. 5) Pauses and prompts you to run update.php locally and test. 6) Checks in the modified and new files upon confirmation. 7) Prompts to run SVN update against the remote installation. drupal_module_update.sh does the following: 1) Moves the module update package to either sites/all/modules or sites/yourdomain.com/modules and unpacks it. 2) SVN adds any new files. 3) Pauses and prompts you to run update.php locally and test. 4) Checks in modified and new files upon confirmation. 5) Prompts to run SVN update against the remote installation. CONFIGURATION AND USE 1) Remove the .default extension froma drupal_info.sh 2) Edit drupal_info.sh, add local and remote path information for your Drupal 6 and 7 instance. Add SSH server and username for remote server. 3) Download Drupal core/module updates to $DownloadsPath, then run one of the following: % drupal_update.sh < Update Drupal core installation % drupal_module_update.sh < Update shared or site-specific module ROADMAP - Delete deprecated package files from SVN via svn remove. - Provide Drush integration to initiate update.php, etc. - Cleanup and release a "create new multisite instance" script. - Add theme update/install support. CHANGE LOG 2011-02-11 version 0.8 - Added support for Drupal 7. - Auto-detect version. - Automatically add new files for Drupal core updates. - Fix include of drupal_info.sh to allow aliased script execution to work.
About
Scripts to assist in the management of local and remote Drupal 6 and 7 updates via Subversion.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published