If a platform is built according to best-practices, it will be based on a Drush makefile. While we keep a link to said makefile, it can be difficult to reconstruct a platform, as makefiles are likely to change over time. If we build it from a remote source, it could be lost altogether.

If we copied the makefile used to build a platform into the platform docroot itself, there would be a more permanent record, and would make cloning a platform easier and more reliable (ref.:#906936: Allow creation of a platform using an existing platform's information). Also, if we #1372614: Include platform makefile with site backups, it would make backups more portable, by allowing us to #1372622: Import sites from backups.

Comments

ergonlogic’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
gboudrias’s picture

Some of us include other makefiles in their makefile. Therefore, we would have to keep copies of all the makefiles involved.

I'm not sure how much of an obstacle that is but I thought it was worth mentioning.

ergonlogic’s picture

It's possible this issue should move to the drush_make queue...

I think it would be preferable to keep one makefile that's compiled from the various includes, if any.

helmo’s picture

That would be the Make component in the Drush queue these days...

There already is an issue the relates to this: #1212686: Create a versioned make file when running drush make with option --make-generate

The behaviour for, recursively, included makefiles has not really been discussed there. But the use-case there might be very compatible with the one from this issue.

ergonlogic’s picture

ergonlogic’s picture

Issue summary: View changes

updating with links to related issues

ergonlogic’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
Issue summary: View changes

New features need to be implemented in Aegir 3.x, then we can consider back-porting to Aegir 2.x.