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?

CommentFileSizeAuthor
#5 1483264-make-doc.patch1.03 KBboombatower
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

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

boombatower’s picture

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

jhedstrom’s picture

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

boombatower’s picture

Title: Support/Document starting a drush make process with a remote make file (located in git repo) » Document starting a drush make process with a remote make file
Category: feature » task

Alright then, lets document away.

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
FileSize
1.03 KB

How about this for a start?

moshe weitzman’s picture

Status: Needs review » Fixed

Committed. Thanks ... Would be great to add more examples.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.