Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

We've started developing a platform to deploy sites with using Drupal 7.2. The platform is managed in git. However, as we do not touch core, what is the best place to managed core?

Should core also be in git on its own repo? Or should the dev team update core as they develop the platforms, and push core with the platform?

Thanks!

share|improve this question
1  
Are you also using Drush Make? There is a 'classic' blog post about aegir and drush make at mig5.net/content/…, and a lot has been written about it since then. –  marcvangend Jul 29 '11 at 21:05
    
@marcvangend: Thank you for that link, I will have to examine drush make some more. So does this mean that for every time there is a update to the platform, it is pulled from git as a new platform? And site is then migrated to it? And after a while, the old platform can be deleted? –  KM. Aug 1 '11 at 23:05
    
I must admit that I'm also in the process of figuring out my ideal workflow, but yes, as far as I currently understand, that is the idea. –  marcvangend Aug 2 '11 at 0:50
    
Mm ... seems like that would get messy with several builds of platforms, especially when you have to migrate say 50+ sites ... no ... ? –  KM. Aug 2 '11 at 16:35
add comment

3 Answers 3

Our current (simplified) practice at work:

  • Pull down the drupal core git repo http://drupalcode.org/project/drupal.git/
  • Add upstream to your local project that tracks the above repo
  • When a new version of drupal is released, fetch the drupal repo and merge the appropriate tag

e.g.

cd /var/www/your-platform/
git fetch upstream
git merge 7.7
share|improve this answer
add comment

Note that you can automate away a lot of the pain of the 'migrate to new platform' model in Aegir ( see http://mig5.net/node/342 ).

And you can batch-migrate sites from the frontend by using the 'Migrate' task in the platform (not site) node to also speed things up from the frontend if your sites all sharing the one platform.

Yes, old platforms can accumulate with no sites on them. However these can be deleted with the 'Delete' task in the frontend, and I hope to expand on automating that from the CLI too soon.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.