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

deciphered’s picture

Another 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.

patrickd’s picture

After 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:

  • Is there a simplytest.make ?
    -> drush make simplytest.make
  • Is there a build-*.make ?
    -> drush make build-*.make
  • Is there a drupal-org-core.make ?
    -> drush make drupal-org-core.make
    -> Move profile files into /profiles
  • Is there a drupal-org.make ?
    -> drush dl drupal-[coreversion]
    -> Move profile files into /profiles
    -> drush make drupal-org.make
  • No makefile / no matching makefile ?
    -> Move profile files into /profiles
deciphered’s picture

DrupalAPI 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.

patrickd’s picture

Hmm, 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

patrickd’s picture

Implemented 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.

patrickd’s picture

Status: Active » Fixed

Tested 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

patrickd’s picture

Status: Fixed » Closed (fixed)

cleaning up