Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.When attempting to install via a makefile, drush returns invalid version type error for both 7.24 and 7.23
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | drush_make-drush-4.x-fix-do7-compatibility.patch | 1.35 KB | fenstrat |











Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedAny chance this happens for Drupal 7.20, 7.21 and 7.22 also - but not Drupal 7.19?
If so, it may be related to #2137201: [META] Regressions in project_release handling of version element fields and release-history XML.
Comment #2
dubois CreditAttribution: dubois commentedUsing drush 4.6 and drush_make 6.x-2.3 (required for aegir-1.x) I observed failures with errors like:
The abovementioned version of drush_make expects every stable version to have a version_patch attribute. However, it appears this attribute is currently only available for non-zero patch versions. Contrast http://updates.drupal.org/release-history/panels/7.x to http://updates.drupal.org/release-history/admin_menu/7.x. I worked around this by checking if version_patch attribute is set and if not setting it to 0. This was good enough to get my makefiles working:
Comment #3
ddille CreditAttribution: ddille commentedI'm seeing failures on Drupal 7.20, 7.21 and 7.22 also. Seeing failures with contrib modules where the version is specified as well.
If you don't specify a core version (projects[drupal][version] = 7) it will download 7.19.
Comment #4
FatherShawnExperiencing the same symptoms
Comment #5
jmcclelland CreditAttribution: jmcclelland commentedSame problems (also using aegir so dependent on this outdated version of drush make). It was working fine two days ago. Today it doesn't work. Maybe something changed in the way drupal is publishing package information?
In any event, the patch in comment #2 worked for errors I was getting with third party modules, but still wasn't work with Drupal core. The following patch works for both:
Comment #6
jmcclelland CreditAttribution: jmcclelland commentedAha. This must be related to https://drupal.org/node/2132659
Comment #7
dnotes CreditAttribution: dnotes commentedFor people using BOA (Barracuda Octopus) version of Aegir, alternate versions of Drush are included in the scripted server builds. I had the problems above (even after updating to most recent BOA 2.1.3) but I used the command "drush5 make [etc]" and it seems to have worked. I'm sure a similar server setup could be used for other servers running Aegir.
Comment #8
fenstratHere's #5 in patch format.
For those on the stable 1.x version of Aegir (which requires Drush 4.x and stand alone drush_make) the attached patch fixes these build errors on our production Aegir box.
Comment #9
j0nathan CreditAttribution: j0nathan commentedComment #10
izmeez CreditAttribution: izmeez commentedThanks patch works great.
Comment #11
FatherShawnComment #12
dww CreditAttribution: dww commentedFYI: The upstream problems on d.o are all fixed, so this should be resolved. Can someone please confirm and mark this fixed?
Thanks!
-Derek
Comment #13
izmeez CreditAttribution: izmeez commentedDoes this mean the patch is no longer required?
Comment #14
dww CreditAttribution: dww commentedCorrect.
Comment #15
izmeez CreditAttribution: izmeez commented+1 Yes. Patch reversed and tested drush_make successfully.
Might wants others to weigh in, just in case?
Comment #16
dww CreditAttribution: dww commentedNah, I know the feeds are now correct, and you confirmed it's working, so there's no need to spend any extra time testing this.
Thanks,
-Derek
Comment #17
izmeez CreditAttribution: izmeez commentedok. Thanks.
Comment #18
fenstratConfirming drush_make-4.x-2.3 now works without this patch. Great work @dww!