Updating drupal modules

Once you have done so, change directories so that you are inside the trunk folder (also the root of the website and run the following): creates a changes set between the historic version (1.1.0) and the latest version (current) and applies those changes to the working copy.We then need to test that merge was successful and everything is working as we suspect. If your satisified, then commit the changes: Now as new versions of Drupal come out you will need to download the latest version and repeat steps 5 and 6.

updating drupal modules-46updating drupal modules-77updating drupal modules-81

The process we are following essentially compares the changes that were made between two version of Drupal and then applies those changes to the trunk of our repository.

Accordingly, we actually need to download two version of Drupal.

Next, add a subfolder to “vendors” either called “acquia” or “drupal” depending which version you are using.

Now, that the repo structure is correct we need to import the historic version of Drupal (that is the version you’re currently running your site on and is out of date).

Drupal: For those of you following along with the vanilla version of Drupal you can download the latest copy from the Drupal homepage and you can find your current version from this page: Download & unpack both versions into a folder somewhere on your hard drive.

Your repository structure needs to look something like this: /trunk /branches /tags /vendors I’ll assume you have trunk folder or something with a similar purpose.This module has stable versions for Drupal 6 & 7 but there’s not one for Drupal 8.However Lucian Hangea (@lhangea) have been porting this module as his project for Google Summer Of Code (GSo C).I recommend using the “New Install”, because this will keep track of changes to the settings and htaccess file which we may want to be aware of.Though choosing Upgrade would work just fine too; the key is to make sure to use the same version each time.In fact, if you’re working on multiple Drupal projects you can have them all share the same base and security updates can be rolled out much easier.