Related code:
+++ commands/pm/pm.drush.inc
@@ -940,20 +1011,202 @@ function drush_pm_releases() {
if ($project['recommended'] != $project['minor_supported']) {
$status_msg = dt("Note: Unwanted versions management. Run 'drush pm-releases !project' for details.", array('!project' => $key));
}
Examples:
$ dr pm-releases cck
------- RELEASES FOR 'CCK' PROJECT -------
Release Date Status
6.x-3.x-dev 2010-Nov-10 Supported, Development
6.x-2.8 2010-Aug-11 Supported, Recommended, Security # <---- 'minor_supported' == 'recommended'
6.x-2.7 2010-Jun-16 Security
6.x-2.6 2009-Nov-05
6.x-2.5 2009-Aug-03
6.x-2.4 2009-Jun-17
6.x-2.3 2009-Jun-04
6.x-2.2 2009-Mar-18 Security
6.x-2.1 2008-Nov-11
6.x-2.0 2008-Nov-05 Security
6.x-2.0-rc10 2008-Oct-08
6.x-2.0-rc9 2008-Oct-06
6.x-2.0-rc8 2008-Oct-02
6.x-2.0-rc7 2008-Sep-09
6.x-2.0-rc6 2008-Aug-15
6.x-2.0-rc5 2008-Aug-14
6.x-2.0-rc4 2008-Jul-10
6.x-2.0-rc3 2008-Jul-03
6.x-2.0-rc2 2008-Jul-02
6.x-2.0-rc1 2008-Jul-02
6.x-2.0-beta 2008-Jun-03
6.x-2.x-dev 2010-Nov-10 Development
6.x-1.0-alpha 2008-Apr-24
6.x-1.x-dev 2010-Jul-10 Development
$ dr pm-releases views
------- RELEASES FOR 'VIEWS' PROJECT -------
Release Date Status
6.x-3.0-alpha3 2010-Apr-07 Supported, Security
6.x-3.0-alpha2 2010-Jan-25
6.x-3.0-alpha1 2009-Nov-10
6.x-3.x-dev 2010-Nov-20 Development
6.x-2.11 2010-Jun-17 Supported, Recommended, Installed, Security # <---- 'minor_supported' == 'recommended'
6.x-2.10 2010-Apr-08
6.x-2.9 2010-Apr-07 Security
6.x-2.8 2009-Dec-02
6.x-2.7 2009-Nov-02
6.x-2.6 2009-Jun-10 Security
6.x-2.5 2009-Apr-11
6.x-2.4 2009-Apr-07
6.x-2.3 2009-Feb-07
6.x-2.2 2008-Dec-16 Security
6.x-2.1 2008-Oct-20
6.x-2.0 2008-Oct-17
6.x-2.0-rc5 2008-Oct-08
6.x-2.0-rc4 2008-Sep-30
6.x-2.0-rc3 2008-Sep-16
6.x-2.0-rc2 2008-Sep-11
6.x-2.0-rc1 2008-Jul-02
6.x-2.0-beta4 2008-Jun-13
6.x-2.0-beta3 2008-May-19
6.x-2.0-beta2 2008-Apr-25
6.x-2.0-beta1 2008-Apr-24
6.x-2.0-alpha5 2008-Apr-12
6.x-2.0-alpha4 2008-Mar-28
6.x-2.0-alpha3 2008-Mar-15
6.x-2.0-alpha2 2008-Feb-18
6.x-2.0-alpha1 2008-Feb-17
6.x-2.x-dev 2010-Nov-18 Development
$ dr pm-releases zen
------- RELEASES FOR 'ZEN' PROJECT -------
Release Date Status
6.x-2.0 2010-Jun-26 Supported, Recommended # <---- 'recommended'
6.x-2.0-beta1 2009-Nov-10 Installed
6.x-2.x-dev 2010-Nov-12 Development
6.x-1.1 2009-Nov-10 Supported # <---- 'minor_supported'
6.x-1.0 2009-Feb-13
6.x-1.0-beta3 2008-Sep-15
6.x-1.0-beta2 2008-May-20
6.x-1.0-beta1 2008-May-14
6.x-1.x-dev 2010-Nov-12 Development
$ dr rln views
------------------------------------------------------------------------------
> RELEASE NOTES FOR 'VIEWS' PROJECT, VERSION 6.x-2.11:
> Last updated: June 17, 2010 - 03:00.
> Note: this is the installed & recommended version.
------------------------------------------------------------------------------
* #770006 by macdee: Taxonomy term default plugin mysteriously broken.
* #767146 by bangpound: Validation not passed down into row style plugin.
* #513396 by yhager and jcisio: Views trim was not multibyte safe.
* #550420 by blauerberg: Views RSS did not properly pass readmore flag from
node to RSS item.
* #781296 by dereine: Node: Type "link to its node" option broken.
* #769010 by andrea.gariboldi: Overuse of query substitutions fails on some
databases.
* #607418: Fix queries broken with "ambiguous nid" due to uncommon
relationships.
* #768162: Revert inadvertant change to grid style behavior.
* #815392 by killes and dereine: Incorrect construction of $account caused
accidental non-permanent change to $user->roles.
* #723454 by dereine: Upgrade from 5.0 could cause blocks for views with
long names to lose configuration.
* SA-CONTRIB-2010-067: Fix CSRF and XSS vulnerabilities.
$ dr rln zen
------------------------------------------------------------------------------
> RELEASE NOTES FOR 'ZEN' PROJECT, VERSION 6.x-2.0-beta1:
> Last updated: November 10, 2009 - 09:06.
> Note: Unwanted versions management. Run 'drush pm-releases zen' for
details.
------------------------------------------------------------------------------
If you have a sub-theme based off of the Zen 6.x-1.x release, your sub-theme
will need considerable porting to work with Zen 6.x-2.x. The 6.x-1.x series
will continue to be maintained, so its not necessary to upgrade your
sub-theme to work with Zen 6.x-2.x.
* #478134 by mithrill: Improve docs about sites/all/themes and
sites/default/themes folders
...
------------------------------------------------------------------------------
> RELEASE NOTES FOR 'ZEN' PROJECT, VERSION 6.x-2.0:
> Last updated: June 26, 2010 - 20:15.
> Note: Unwanted versions management. Run 'drush pm-releases zen' for
details.
------------------------------------------------------------------------------
Changes since 6.x-2.0-beta1:
* #791056 by meatsack and JohnAlbin: Zen clobbers Views 3 classes
* #838338: element-invisible class doesn't fully hide elements
* #723514 by kmonty: Link in STARTERKIT description incorrect
* Skip navigation's ID changed from #skip-to-nav to #skip-link
* Added $block_html_id to block.tpl.php
...
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drush_pm_releasenotes_remove_check.patch | 1.39 KB | luchochs |
Comments
Comment #1
luchochs commentedAn alternative (useful and effective only if the project is installed) might be to verify if in the project info ($project array) exists 'extra_version' only for the recommended release, being the checked releases the installed one and the recommended one.
Comment #2
jonhattanAs I said in #843740-60: Add pm-releasenotes command to extract the release notes from drupal.org in relation to eightball module: I don't think we should consider this and other possible edge case that ocurrs remotely: it is a bad management of releases by the project maintainer, probably are other ways to mess releases we are not addressing, neither we can't anticipate to.
So I bet for supressing the "Unwanted versions management" check.
Comment #3
luchochs commentedYes, it seems the best option to remove the check.
Comment #4
luchochs commentedPatch to remove the code related to the check.
Comment #5
greg.1.anderson commentedMinor supported is not unwanted; I agree with the patch in #4. (It works, of course.)
Comment #6
jonhattancommitted thx.