The syntax for grabbing stuff out of CVS is:

projects[project][download][type] = "cvs"
projects[project][download][module] = "contributions/modules/project"
projects[project][download][revision] = "HEAD"

I expected a similar thing to work for Git, now that git.drupal.org has been up and running for several months:

projects[project][download][type] = "git"
projects[project][download][module] = "project"
projects[project][download][revision] = "master"

However, it does not. I has a sad.

CommentFileSizeAuthor
#5 drush_make.git_.patch14.64 KBdmitrig01
#1 drush_make.git_.patch1.24 KBwebchick

Comments

webchick’s picture

StatusFileSize
new1.24 KB

Something like this, methinks. Although this doesn't seem to work.

webchick’s picture

Status: Active » Needs review
webchick’s picture

Assigned: Unassigned » webchick

Sorry. :P

dmitrig01’s picture

StatusFileSize
new14.64 KB

Try this patch -- most of the change is a big un-indent, but I also added a new test case for this.

dmitrig01’s picture

Also, projects[project][download][module] = "project" is not necessary.

dmitrig01’s picture

Status: Needs review » Fixed

This is just too cool not to commit

Status: Fixed » Closed (fixed)

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