Downloading custom module with drush make I am trying to download a custom module from a private repo using drush make.
This is the make file:

core = 7.x
api = 2
projects[cs_all][type] = "module"
projects[cs_all][subdir] = "contrib"
projects[cs_all][download][url] = "git@bitbucket.org:myrepo/cs_all.git"
projects[cs_all][download][branch] = "master"


I run the following command:

drush -d make --no-cache --no-core my.make build


The output is as follows:

Starting Drush preflight. [0.46 sec, 2 MB] [preflight]
Cache HIT cid: 7.0.0-commandfiles-0-4ea41d3d78dd4cb8ebf6ca2ee09bd808 [0.61 sec, 2.05 MB] [debug]
Bootstrap to phase 0. [3.31 sec, 8.02 MB] [bootstrap]
Bootstrap to phase -1. [3.35 sec, 8.03 MB][bootstrap]
Found command: make (commandfile=make) [3.36 sec, 8.03 MB] [bootstrap]
Bootstrap to phase -1. [3.36 sec, 8.03 MB][bootstrap]
Loading release_info engine. [3.38 sec, 8.03 MB][notice]
Calling hook drush_make_validate [3.42 sec, 8.23 MB][debug]
Returned from hook drush_make_validate [3.42 sec, 8.23 MB][debug]
Calling hook drush_make_pre_make [3.42 sec, 8.24 MB][debug]
Returned from hook drush_make_pre_make [3.43 sec, 8.24 MB][debug]
Calling hook drush_make [3.43 sec, 8.25 MB][debug]
Beginning to build my.make. [3.44 sec, 8.27 MB] [ok]
Downloading release history from https://updates.drupal.org/release-history/cs_all/7.x [3.45 sec, 8.35 MB] [notice]
c:/Users/myname/.drush/cache/download/https---updates.drupal.org-release-history-cs_all-7.x retrieved from[notice]
cache. [3.45 sec, 8.35 MB]
No release history was found for the requested project (cs_all). [3.46 sec, 8.36 MB][error]
Returned from hook drush_make [3.46 sec, 8.35 MB][debug]
Command dispatch complete [3.46 sec, 8.32 MB]


Basically drush looks for the module release history file on drupal.org.

I have not found any specific documentation regarding downloading from private repos. However various snippets taken from presentations show the same make parameters that I have used.

I am using drush 7.0.0., php 5.5.26 and Windows 7.

How to fix the issue?
Add a line to the make file to make it look like so:

core = 7.x
api = 2
projects[cs_all][type] = "module"
projects[cs_all][subdir] = "contrib"
projects[cs_all][download][url] = "git@bitbucket.org:myrepo/cs_all.git"
projects[cs_all][download][type] = "git"
projects[cs_all][download][branch] = "master"


So add the line to indicate 'type = git' . That would make it look closer to what is documented on https://www.drupal.org/node/1432374 ...

Curious to hear what results you'd get then.