When downloading with drush,

drush dl jquery_ui_dialog

I get the error:

There is no recommended release for project jquery_ui_dialog on Drupal 6.x. Ask the maintainer to create a release in order to be compatible with drush and the         [error]
drupal.org security broadcast system. A development snapshot release is sufficient.
An error occurred at function : drush_pm_download           

Comments

eugenmayer’s picture

Project: jQuery UI Dialog » Drush
Version: 6.x-1.0-rc3 »
Category: feature » bug

Well thats a drush bug, but no idea what it is about.

greg.1.anderson’s picture

Status: Active » Fixed

Try this:

drush pm-releases jquery_ui_dialog

You will see this:

 Project           Release        Date        
 jquery_ui_dialog  6.x-1.0-rc3    2010-Feb-22 
 jquery_ui_dialog  6.x-1.0-rc2    2010-Feb-10 
 jquery_ui_dialog  6.x-1.0-rc1    2010-Jan-31 
 jquery_ui_dialog  6.x-1.0-beta2  2010-Jan-23 
 jquery_ui_dialog  6.x-1.0-beta1  2010-Jan-22 

You can then do this:

drush dl jquery_ui_dialog-6.x-1.0-rc3
Project jquery_ui_dialog (6.x-1.0-rc3) downloaded to                 [success]
/srv/www/drupal/sites/all/modules/jquery_ui_dialog.
greg.1.anderson’s picture

Status: Fixed » Needs review

Wait, is this a drush bug after all?

http://drupal.org/node/692774/release shows:

Official release from CVS tag: DRUPAL-6--1-0-RC3

Is an official release != a recommended release? I'm not sure. Someone who is more familiar with pm, please advise.

dman’s picture

Well looking at the project, there is no stable or "recommended" release to be had. The message is correct. So I guess the behaviour of not downloading that is correct and by design.

If a developer doesn't tag a version as an actual "release", even after being asked to (as per instructions) then they don't want you to use it like this?

greg.1.anderson’s picture

Project: Drush » jQuery UI Dialog
Version: » 6.x-1.0-rc3
Status: Needs review » Active

Ah, I get it. "Recommended" == "stable". If there is no stable release, then drush will refuse to download the project unless the specific version is provided. Bumping this back to jquery_ui_dialog for analysis. I'll open a separate issue in the drush queue about what to do when there's no recommended release, as this issue has come up here before, and will likely come up here again.

@EugenMayer: Please make a "stable" release of jquery_ui_dialog if you would like your project to be easily downloadable by drush, then close this as 'fixed' or 'by design', depending on your decision.

greg.1.anderson’s picture

FYI, related drush issue is here: #730788: Improve response of drush dl when there is no recommended release. As I mention there, I may have split these issues too soon. Stay tuned.

eugenmayer’s picture

Thanks for the informations and investigation!

greg.1.anderson’s picture

You're welcome. I did a little more looking around today, but still have not found the answer. See comment in related issue.

Edit: Well, I think that the answer is to cvs tag a version "6.x" that is the same as 6.x-rc3, or whatever the recommended version for 6.x is -- but I haven't found the definitive documentation. Every module developer needs to do this, so the doc lniks should be in the drush error message, I think.

eugenmayer’s picture

Status: Active » Fixed

fixed, the "recommended relase" iis 6--1-0 now

eugenmayer’s picture

Status: Fixed » Closed (fixed)

released