Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
N
Nuovo sito - PHP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Gruppo Web
  • Nuovo sito - PHP
  • Wiki
  • update drupal

update drupal

Last edited by Riccardo Padovani Jul 16, 2014
Page history

We use Drush to update our Drupal installation and plugins.

Updating the core

Drush discharges all files that aren't in a standard Drupal installation, so after an update, use git checkout to restore previous version of our files:

  • script/backup.sh
  • script/scrub.sql
  • script/sql_scrub_dump.sh
  • composer.json
  • composer.lock
  • composer.phar
  • humans.txt

After the update of the core, tag the commit with number of the release, and push also the tag

Updating plugins

Do a separate commit for every plugin. Every plugin is in a subfolder of sites/all/modules

Use drush

Enter in the root of the www-test repo and use:

drush up

Clone repository
  • developer installation
  • Home
  • server installation
  • update composer
  • update drupal