Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.For D8 platforms, during verify the module is added to the packages but not the version.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2361729-2-add-module-version.patch | 1.39 KB | joestewart |
| #1 | 2361729-1-add-module-version.patch | 1.21 KB | joestewart |











Comments
Comment #1
joestewart CreditAttribution: joestewart commentedpatch checks for D8 and reads .info.yml file.
There are still quite a few modules that were packaged without a version.
Comment #2
joestewart CreditAttribution: joestewart commentedSmall addition to skip Drupal 8 modules that don't have a .info.yml.
Comment #3
helmo CreditAttribution: helmo commentedWith a released version, e.g. http://ftp.drupal.org/files/projects/drupal-8.0.0-beta2.tar.gz it does work '8.0.0-beta2';
Maybe we should move/split this function to platform/drupal/packages_.inc
PS: With a D8 git clone we get 'VERSION' in the Release column on the packages tab. food for a follow-up issue ...
Comment #4
joestewart CreditAttribution: joestewart commentedThanks. Does that mean the patch worked for you?
Possibly should split some of these out. But wanted to see how much needed to change for 8 before going that route.
Yes, I debated adding this small check to cvs_deploy.inc
elseif ($version === 'VERSION') {
$version = _provision_cvs_deploy_version_from_tag(trim($match[1]));
}
Comment #5
joestewart CreditAttribution: joestewart commentedI tried to find out in #drush whether drush is going to inject version info in .info.yml files for D8 like it does in drush_pm_inject_info_file_metadata for .info files
But I didn't get a response yet.
Comment #6
joestewart CreditAttribution: joestewart commentedRelated drush issue - drush_pm_inject_info_file_metadata() needs to be aware of yaml info files - https://github.com/drush-ops/drush/issues/943
Comment #8
helmo CreditAttribution: helmo commentedMerged.
Also https://github.com/drush-ops/drush/issues/943 is now merged but the recent drush works does seem to have some side effects #2373835: 3.x doesn't currently install