Closed (works as designed)
Project:
Hostmaster (Aegir)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2012 at 20:18 UTC
Updated:
21 Sep 2012 at 10:33 UTC
D.o. now hosts distributions. It should be possible to install a distribution on aegir just by providing a link to the raw build file.
Comments
Comment #1
anarcat commentedActually, you can already do that by providing a link to the makefile, or did you mean the tarball?
Comment #2
lsolesen commentedwhich make file from e.g. commerce kickstart should one link to
Comment #3
steven jones commentedTo build the 7.x-1.x version you'll want to use this URL:
http://drupalcode.org/project/commerce_kickstart.git/blob/refs/heads/7.x...
Comment #4
omega8cc commentedNo, you need to use raw URL (note the blob_plain): http://drupalcode.org/project/commerce_kickstart.git/blob_plain/refs/hea...
Comment #5
steven jones commentedDoh, sorry, of course, thanks omega8cc.
Comment #6
lsolesen commentedSorry about the confusion, but I was talking about the 2.x-branch of kickstart: http://drupalcode.org/project/commerce_kickstart.git/tree/refs/heads/7.x...
Comment #7
steven jones commentedSo in the 7.x-2.x branch you need to use the build-commerce-kickstart.make file:
http://drupalcode.org/project/commerce_kickstart.git/blob_plain/refs/hea...
Comment #8
lsolesen commentedBut that does not work, as the drupal-org-core.make file is included but Aegir did not clone the repository, so it cannot get it.
I just wanted to put the link to a build file into the aegir frontend and build the platform that way.
The Commerce Kickstart v2 project conforms to the newly introduced standards for building a project on D.O., but those build files cannot be used directly to build platforms on Aegir without having to clone the build files on the server directly (as far as I can tell anyways).
Comment #9
steven jones commentedSorry, do you have a link to these standards for building a Drupal.org distribution? seems like no-one else would be able to use the make file if they're all like this.
Comment #10
steven jones commentedComment #11
iaminawe commentedI can confirm this problem with trying to install Commerce Kickstart 2 using Aegir - it seems the include chokes if the D.O make file is not not already there so remote install is not working.
Comment #12
lsolesen commentedHere is the info about making a distribution, which can build on drupal.org
http://drupal.org/developing/distributions/drupalorg
Comment #13
omega8cc commented@lsolesen Do you use Drush 5.x already?
Comment #14
omega8cc commentedAnyway, I believe that it is a bug to use local include in the stub makefile, as it makes it broken for anything other than local build on d.o
The correct stub makefile should use absolute URL to any included makefile, so there is nothing we can do about it on the Aegir end.
I would suggest to open a bug report against every distro following this "new standard".
Comment #15
lsolesen commented@omega I am not using drush 5.x on my barracuda box.
Comment #16
mojzis commented@omega i have a feeling the local filename does have some sense - i.e. when building for tests form local repository ... wouldnt it make more sense to add an extra parameter to drush make, which would allow to specify the download location per run ? (something like if it aint available localy, get it on d.o. / elsewhere ?)
Comment #17
omega8cc commented@mojzis No, it doesn't make any sense. Fix the problem, don't try to create workaround which could add even more complexity and compatibility issues (including backward compatibility). When you are using drush make with local stub makefile, you can edit it to reference local includes, if you wish, but when you are using remote stub makefile, you can't do anything. The stub makefile is useless if it depends on any local include, it is a failed logic, as it breaks the remote drush make completely. It is d.o who could automatically use the local include if it detects that the stub makefile references via absolute URL the file existing on d.o and shouldn't break things for the rest of the world.