the constant DRUSH_MAKE_UPDATE_DEFAULT_URL should be configurable somehow. preferrably as a command line switch and/or something you can specify in .drushrc.

CommentFileSizeAuthor
#1 drush_make_default_switches.patch4.12 KBhunmonk

Comments

hunmonk’s picture

Title: provide a switch for default download url » provide a switch for default download url and 'best' versioning method.
Status: Active » Fixed
StatusFileSize
new4.12 KB

attached has been committed to 6.x-2.x. it adds two new switches, --drush-make-update-default-url (the default URL to use for retrieving update XML files) and --drush-make-version-best (the default method drush_make will use to find the best release). both of these use as their default values the constants that were already defined in drush_make.drush.inc for them.

tested this fully, and both a command line switch and an entry in .drushrc.php work beautifully to override the default :)

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org deployment blocker

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