Posted by Summit on February 25, 2013 at 10:23am
7 followers
Jump to:
| Project: | Drupal Commons |
| Version: | 7.x-3.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
I have a working version from the beginning of februari through a drush make file.
I noticed patches on other moduels than commons where done trough the proces.
Can I just update my non-commons modules to the latest versions or do I need to do again a drush make process?
I do not know if commons has some dependencies and patches which are not yet in those modules dev's?
Thanks a lot in advance for your reply!
Greetings, Martijn
Comments
#1
Hi Martijn,
I would go through the Drush make process as some of the modules need to be at a particular stage or with a specific patch to work with commons.
Cheers
Tom
#2
I do it as follows (bearing in mind that updating through drush does not work as per http://drupal.org/node/1911552):
1) drush up to see what updates are available
2) go to the notes of the dev version of DC and click the version number of the module to be updated
3) download it from relevant page and upload to commons modules contrib folder with FTP
4) run necessary db updates
Not sure if this is more cumbersome than running a drush make process but so far this has worked perfectly for me.
#3
Hi, @blacklabel_tom and Gerben Zaagsma isn't it as easy as:
#Remove old commons-7.x-3.x folder#Download
git clone --recursive --branch 7.x-3.x http://git.drupal.org/project/commons.git
cd commons
# Using drush make for generate the profile and download it into ../commons-7.x-3.x
drush make --working-copy build-commons.make ../commons-7.x-3.x
#profit! now in the commons-7.x-3.x folder do you have a complete version of Drupal Commons ready for be installed
#Install commons-7.x-3.x by copy it through ftp to the right location.
Greetings, Martijn
#4
Winning!
#5
Hi,
Drush make seems to be broken. What now worked for me was based on: http://drupal.org/node/1911552#comment-7258186
#Remove old commons-7.x-3.x folder#Download
git clone --recursive --branch 7.x-3.x http://git.drupal.org/project/commons.git
cd commons
# Using drush dl for generate the profile and download it into commons stable version
drush dl commons
greetings, Martijn
I do not now how to get the .dev with this dl though...
greetings, Martijn
#6
Hi,
this worked perfectly:
#Remove old commons-7.x-3.x folder#Download
drush dl commons-7.x-3.x-dev
Voila in the folder you are in commons dev is downloaded.
greetings,
Martijn
#7
Remember to run update.php or drush updb after to run any database changes!
Cheers
Tom
#8
Hi @blacklabel_tom, does dl has drush make inside?
Because you earlier stated that drush make was needed, see: http://drupal.org/node/1926658#comment-7105884
greetings, Martijn
#9
Hi Martijn,
When I drush dl commons I only get the make files, but I have only ever done it into a clean directory.
I don't know if drush dl commons into a directory where commons already exists will go ahead and download the whole codebase.
Either way a database update will be needed as there could be database updates that come with the updated files.
Cheers
Tom
#10
Use drush, put commons in a new directory, exclude the folder: sites and the files: robots.txt, .htacces and whatever files you modified and overwrite the original folder. Do the the site.com/update.php part and cross your fingers :)
You should have a backup for both the database and files.