Problem/Motivation

As more and more libraries are available as git repo it would be great to have the same git detection for them as for modules and themes in drush make-generate.

Proposed resolution

Encapsulate and reuse the code with the git repo detection.
I moved parts of the code from _drush_generate_custom_project() into a dedicated function called _drush_generate_get_download_settings().
I'm not to happy with the mix of referenced parameters and a return value - ideas welcome.
The new function is used in _drush_generate_custom_project() for projects and in _drush_make_generate_projects() for libraries.

Remaining tasks

Reviews needed

User interface changes

None

API changes

None

Comments

greg.1.anderson’s picture

Version: 7.x-5.x-dev » 8.x-6.x-dev
Status: Needs review » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.