There is a warning about the argument passed to "--variant" using "dl". The argument is valid and everything works as expected. I assume this warning is bogus. Valid values are listed (drush help dl) as " --variant Only useful for install profiles. Possible values: 'full', 'projects', 'profile-only'."
The patch I use is attached.

drush dl l10n_install --variant=projects
implode(): Invalid arguments passed pm.drush.inc:2046
Unknown variant projects. Valid values:
Project l10n_install (6.x-1.0-beta4) downloaded to profiles/l10n_install.
Project l10n_install contains:
 - 1 profile: l10n_install
 - 2 modules: l10n_update, l10n_client

Comments

moshe weitzman’s picture

We need to figure out which of those 6 possible values actually works. I'm not totally sure. Those values were introduced on the drupal.org side by #652566: Support multiple download files per release in release history XML

jonhattan’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

per relase-history valid variants are now 'full', 'projects' and 'profile-only'
http://updates.drupal.org/release-history/drupalorg_testing/6.x

moshe weitzman’s picture

Status: Needs review » Patch (to be ported)

Committed to master. I had to fix up a few places inside of validate where we were using old terminology as well.

msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Backported.

Status: Fixed » Closed (fixed)

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