Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jun 2012 at 11:47 UTC
Updated:
11 Sep 2013 at 05:12 UTC
I just did a "pear install drush/drush" and was expecting it to install the "7.x-5.3" as it is the only recommended version on the project page. However, it then notified me that it was "Starting to download drush-6.0.0.tgz (398,873 bytes)" and then when checking version it said I have 6.0-dev installed.
Where does this version come from? Its not even possible to select it as a version here in the issue queue, nor does any 6.x version existing when looking at the all releases page...
Comments
Comment #1
moshe weitzman commentedHave you instructed pear to download unstable versions? 6.0 is the same as the master branch in git which is the same as the dev snapshot downloadable on drupal.org. the names don't all match due to restrictions in each of those systems.
Comment #2
mgiffordDuplicate issue #1512406: Drush 6?
I was just following exactly what's on the project page for Drush.
It would be great to know how to instruct Pear to download a specific version of Drush.
Can you give the exact command we should use to pull down the latest 5.x branch of Drush using pear?
Comment #3
mgiffordOk, this seems to work, but still not sure if the project page should be updated or if this is a strange bug in the distro I'm running.
Comment #4
tsvenson commentedNo. Pear is only used for installing drush actually.
However, what I did before was to run "sudo pear install drush/drush" when I already had drush 5.0 installed. There where no complaints about it.
Now though, after reading #3, I did run "sudo pear uninstall drush/drush" and then "sudo pear install drush/drush". This time it did download and install 5.3.
So unless you have done something to the server between when I first tried it and now, maybe it gets a bit confused when there is already a drush installed?!
Comment #5
cgmonroe commentedDon't know if this is related, but if you download the All-versions-5.x-dev, the .info file contains the following conflicting version info:
If you do a drush status, you get 6.0-dev as the version and not the expected 5.0-dev.
Some quick git splunking showed that the master branch has this version tag while the 7.x-5.x branch has the 5.0-dev tags. What branch should the dev be created from?
Comment #6
seanburlington commentedHi,
I'm seeing drush-5.8 installed here
The machine in question is a clean Centos 6.3 install (VM setup for building rpms - a few build packages but no previous php install)
Here's my session
Comment #7
seanburlington commentedaha - my misunderstanding of the version info I think
I get the same info from the tarball
and on closer inspection the drush version 5.8 is the latest 7.x release of drush
I'd been confused when I first looked at http://pear.drush.org/ - as I saw a 6.0 version and not a 7.x version - I assumed this was talking about Drupal versions
Apologies - I obviously didn't read the drush page properly
Comment #8
greg.1.anderson commentedThis 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.