Can't see how to install, say, examplemodule-2.x-rc1 using Drush.

Currently "drush dl examplemodule" will give me examplemodule-1.3 (stable, boring) or I can opt to go for CVS.

Does the dl command support installing the latest -dev release of a specific module, or the latest 2.x release? Or must I choose between dl for stable and CVS for bleeding-edge?

Specifics above are examples only.

Comments

owen barton’s picture

Status: Active » Fixed

I think the issue here is that examplemodule-2.x-rc1 is not a valid release number - you can have either examplemodule-2.0-rc1 (which is the release candidate for the 2.0 stable version) or examplemodule-2.x-dev (which is the 2.x development branch) and both of these should work. You should also be able to use either wget or CVS for either of these.

xurizaemon’s picture

Apologies Owen - I tried to avoid confusion by not giving a specific example, but unknowingly created confusion by giving an impossible example instead :)

The solution for me (with a concrete example this time) is, say for Organic Groups (module name "og"):

drush dl og-6.x-2.0-rc1

Thanks for answering my question promptly.

Status: Fixed » Closed (fixed)

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

kopeboy’s picture

Title: Document how to install specific / dev versions of modules using drush dl » Document how to install specific / dev versions of modules
Issue summary: View changes
Status: Closed (fixed) » Needs review

Please provide documentation that this cannot be used to directly (download and) enable the module.

drush en module-7.x-1.x-dev doesn't work

It will return:

You must specify a project name to display the release history of.     [warning]
There were no extensions that could be enabled.                             [ok]

While drush en module will download and enable automatically (the latest stable release),
with versions (and dev) you have to dl [module]-[version] and then en [module]

helmo’s picture

Status: Needs review » Fixed

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

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.

Status: Fixed » Closed (fixed)

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