Could you please add to the module description on http://drupal.org/project/git_deploy the following paragraph or equivalent:

An alternative to using git_deploy is to install modules and themes
using the "drush pm-download" command with options
"--package-handler=git_drupalorg --gitinfofile". This performs a
git clone and checkout and then inserts the desired version
information into the .info file.

This paragraph might help people like myself who found the "Git deploy" approach not quite workable in practice (Glip incomplete and PHP usually has no access to git binary for security reasons), and who discovered only after a long further search that "drush" now incorporates the solution that I really wanted.

Thanks!

Comments

halstead’s picture

Status: Active » Needs review

This could be helpful for many people I added this to the project main page. I can also mention it in the README.

mkuhn’s picture

Thanks!

(P.S.: You may want to remove a few line-feeds or
s from that paragraph, such that formats more nicely.)

mkuhn’s picture

BTW, I'm also trying to start at

http://drupal.org/node/1545684

a discussion on how best to fix the root cause of this problem, namely by keeping the version data in the git repository and not have the packaging script modify the tarball. I think this would eventually be much cleaner and better than the current workarounds (git_deploy, drush --gitinfofile).

halstead’s picture

Status: Needs review » Fixed

Lines have been rewrapped. I've added additional drush make information. Pushed to 7.x-2.x, 6.x-2.x, and 6.x-1.x.

Status: Fixed » Closed (fixed)

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