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?


  • 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. Commented Jul 29, 2011 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.
    Commented Aug 1, 2011 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. Commented Aug 2, 2011 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.
    Commented Aug 2, 2011 at 16:35

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


cd /var/www/your-platform/
git fetch upstream
git merge 7.7

We're now looking at a "git branching model that works" , and "Drupal deployments & workflows with version control, drush_make, and Aegir"


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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