Many distributions seem not to be initialized correctly with make files
Need to figure out what's going on:
Working distributions:
- Spark
Not working distributions:
- Drupal API
- drupal.org testing
- drupal ladder
- Commerce Kickstart
- Nodestream
- Nodemaker
- Panopoly
Common problems:
- Wrong makefile is chosen
- Many makefiles are different, we should support the standard
- Core project not specified
Comments
Comment #1
decipheredAnother thing to take into account is that a distribution has the ability to have multiple install profiles, in which case there would need to be a way to select the preferred install profile on creation of the sandbox.
Comment #2
patrickd commentedAfter further thinking.. it's not only about multiple profiles, but configuration of the profiles on installation (regarding commerce kickstart: currency, install demo content, etc).
I think the easies way to work around this: don't install anything straight ahead.
Cons: User has to install the profiles hisself and will loose some time
Pros: Full flexibility of profiles and their installation steps will remain
Regarding the loss of time, commerce kickstart manual installation takes about 3 minutes on the server - regarding the complexity of this profile, I think this is okay.
Makefile-selection:
-> drush make simplytest.make
-> drush make build-*.make
-> drush make drupal-org-core.make
-> Move profile files into /profiles
-> drush dl drupal-[coreversion]
-> Move profile files into /profiles
-> drush make drupal-org.make
-> Move profile files into /profiles
Comment #3
decipheredDrupalAPI install profile indexes the entire Drupal 6 and 7 code base and documentation, which can take about 10 minutes, which admittedly is part of the demonstration so not exactly time lost, but iI thought it's worth noting.
Comment #4
patrickd commentedHmm, well I personally don't think that building such complex distribution is a common usecase for simplytest.me ?
Though, I'm open for any other solution, but at the moment I see no better
Comment #5
patrickd commentedImplemented new makefile selection as described in #2
Tested, committed, pushed.
Most errors that occur now, occur because of wrong named or wrong written makefiles in the distribution itself.
Installation now depends on the user, until a better solution is found here.
Comment #6
patrickd commentedTested some distributions, looks pretty good.
If anyone encounters problems with a specific distribution or has a better solution for the letting-users-install-the-distribution-their-self-can-be-quite-annoying-problem please open a separate issue!
thanks
Comment #7
patrickd commentedcleaning up