Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently you can do
drush make http://example.com/drupal.make
What about
drush make git@example.com:somerepo drupal.make
Where drush checks out git repo into temporary directory and then looks for the drupal.make file. This would be extremely handy so that people can use vcs without a web visible portal to store drush make scripts.
I would assume this could support any transfer mechanism already supported by drush. Currently the first example over http:// is not documented in --help or anywhere else I looked.
Thoughts?
Comment | File | Size | Author |
---|---|---|---|
#5 | 1483264-make-doc.patch | 1.03 KB | boombatower |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedI don't think we support this today ... I'm getting concerned about the complexity of make if we handle all these (reasonable) use cases. At some point, folks are going to write wrapper scripts and use make as part of their script.
Comment #2
boombatower CreditAttribution: boombatower commentedI tried it out on the latest stable 5.x release (rc3) and drush make http://exam... works so we should at least document it then. If that's all that is wanted (as I understand you have to draw the line somewhere) then that's fine assuming we want to keep the feature as it sounds like very few people know it even exists. Having the http:// at least allows people with web access to their repositories to essentially do the same thing.
Comment #3
jhedstromI think documenting this feature is enough for now. I also know that piping to stdin also works, but I don't know if that's documented either.
Comment #4
boombatower CreditAttribution: boombatower commentedAlright then, lets document away.
Comment #5
boombatower CreditAttribution: boombatower commentedHow about this for a start?
Comment #6
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted. Thanks ... Would be great to add more examples.