Closed (fixed)
Project:
Drush
Component:
Make
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2012 at 07:26 UTC
Updated:
5 Jun 2012 at 18:31 UTC
Jump to comment: Most recent file
If I specify something like this
projects[foo][location] = http://example.com/fserver
in my make file, to include a project foo from our Feature Server, drush always fails with this error:
Non-existent project type on project foo
drush dl however works fine:
drush dl --source=http://example.com/fserver foo
Drush make seems to be seriously broken when it concerns projects coming from other locations than d.o. The same make file works perfectly with Drush 4 and drush_make.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drush-1520802.patch | 1.51 KB | jonhattan |
Comments
Comment #1
jhedstromWhen specifying non-d.o. sources, you must specify the project type:
Comment #2
cyberwolf commented@jhedstrom, this wasn't the case with Drush 4 + Drush Make. Is there a particular reason why that is obligatory now? A non-d.o. source like a Feature Server also provides the necessary project type information, so why not fetch it from there just like it is done from d.o.?
Comment #3
jhedstrom@Cyperwolf if this was possible in 4.x, it certainly wasn't intended to be removed, and I'd be happy to add back the functionality. I'll look into this shortly, but we'd need a stable non-d.o. feature server to test against, or a unit test against the intended functionality.
Comment #4
cyberwolf commentedThere might be some fserver to test against in the list at http://groups.drupal.org/node/50278.
Comment #5
kalabroDrush Make stopped work with module Feature Server 6.x-1.1, which is stable. The #1 comment didn't help.
Comment #6
jonhattanfrom commands/make/README.txt:
Attached patch fixes it but we still need a public feature server that works for documentation and tests.
I've tested several ones from the list at http://groups.drupal.org/node/50278 and http://community.featureservers.org/ with no luck. Basicly we need a reference fserver with the only requirement to just be used to perform a drush dl as in:
Comment #7
kalabroI confirm, that #6 works. Thanks.
My environment:
- Drush All-versions-5.x-dev;
- Feature Server 6.x-1.1;
- type "module" specified as in #1 comment.
Comment #8
jonhattan#1 is not needed. Just:
We need a publicly accesible fserver in order to update the README and write a test. Anyone?
Comment #9
kalabroForgot to say about a strange notice while processing make file:
It appears even without -v or -d flags and just before the module downloaded from fserver.
Comment #10
jonhattanSo it seems there's no publicly accesible fserver available at present. Just committed #6 as it fixes the regression.
Comment #11
cyberwolf commentedLooks like there is still an issue: installlation profiles specified in the make file are now added under sites/all/modules instead of sites/profiles, from where they do not get loaded by install_load_profile().
Comment #12
cyberwolf commentedComment #13
dww@Cyberwolf: That's a different issue. That's about installation profiles referenced in .make files. This issue is simply about using feature servers instead of Drupal.org to download modules.
Comment #14
cyberwolf commentedOk, reported that elsewhere: #1595050: Installation profiles are not recognized and considered to be modules.