We just upgraded to drush version 5.1 and drush make is not handling this correctly

core = 7.x
api = 2
projects[drupal] = "7.12"
projects[job_scheduler] = "2.0-alpha2"
projects[job_scheduler][subdir] = "contributed"

It says 'There are no releases for project job_scheduler.'
then during update

Feeds requires this module. (Currently using Unresolved dependency job_scheduler (Missing)) [warning]
Feeds QueryPath Parser requires this module. (Currently using Unresolved dependency job_scheduler (Missing)) [warning]
Feeds Admin UI requires this module. (Currently using Unresolved dependency job_scheduler (Missing)) [warning]

Doing it 'manually' works

-bash-3.2$ drush dl job_scheduler
There are no releases for project job_scheduler.
Choose one of the available releases for job_scheduler:
[0] : Cancel
[1] : 7.x-2.x-dev - 2012-Jan-31 - Development
[2] : 7.x-2.0-alpha2 - 2011-Jan-10 - Supported
[3] : 7.x-1.x-dev - 2011-Feb-25 - Supported, Development

2
Project job_scheduler (7.x-2.0-alpha2) downloaded to [success]

Comments

jonhattan’s picture

Seen that:

Downloading release history from http://updates.drupal.org/release-history/job_scheduler-/7.x [2.94 sec, 3.72 MB]    [notice]
http---updates.drupal.org-release-history-job_scheduler--7.x retrieved from cache. [2.94 sec, 3.72 MB]               [notice]
No release history was found for the requested project (job_scheduler-). [2.95 sec, 3.72 MB]                      [warning]
jonhattan’s picture

The correct makefile is:

core = 7.x
api = 2
projects[drupal] = "7.12"
projects[job_scheduler][version] = "2.0-alpha2"
projects[job_scheduler][subdir] = "contributed"

@JGReidy your makefile was working with drush 4.x + drush_make ?

jgreidy’s picture

Thank you jonhattan - changing the drush version syntax works.
Yes, about 35 make files have been working fine with this syntax until the drush upgrade. It's wonderful that the fix is so easy and prompt!
(I don't actually know what our last version of drush was - sorry.)

jonhattan’s picture

Status: Active » Closed (cannot reproduce)

I did try again and it works. Only difference I see is that it downloads job_scheduler 7.x-2.0-alpha3. Perhaps there was any problem with alpha2.

Also tested same thing with drush 4.x + drush_make and it behaves the same: for the makefile in OP, it downloads 7.x-2.0-alpha3.