Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We are currently storing 8.x-1.2 as patch = 2, minor is not set. In packages.drupal.org, we’re serving that as 1.2.0, minor = 2, patch = 0. For semver support on Drupal.org, we should make this swap in the data storage.
Tasks
- Clean up any projects with custom version number formats - ✅ Done
- Update version number parsing & storage to record correct version components for new releases. - ✅ Done
- DB update to migrate data for existing releases. - ✅ Done
- Update status XML altering to reverse the swap for non-semver contrib releases. Drupal core uses patch. - ✅ Done
- Adjust project_composer to the new components. - ✅ Done
https://git.drupalcode.org/project/project_composer/commit/0400b4022bd3d...
Deployment
- Commit
drupalorg
&project_composer
changes for deployment. - Back up the tables:
sudo -u bender -H drush -r /var/www/drupal.org/htdocs sql-dump --data-only --ordered-dump --tables-list=field_data_field_release_version_minor,field_revision_field_release_version_minor,field_data_field_release_version_patch,field_revision_field_release_version_patch > ~/3104912-backup.mysql
- Deploy with updatedb.
- Publish the change record, https://www.drupal.org/node/3108616
Comments
Comment #2
drummThis is the next priority for getting #2681459: Support contrib semver releases done.
Comment #3
drummI cleaned up:
All-versions
, side effect of drush.Now we have a clean slate with core being the only project with a custom version number format.
Comment #4
drummComment #6
drummComment #7
drummSince this is a bit of a change, I drafted up a change record: https://www.drupal.org/node/3108616
Progress on this is going well so far, tentatively should be ready by early next week. Updates are in the issue summary.
Comment #10
drummComment #11
drummThis should be ready to deploy soon, project_composer changes are in https://git.drupalcode.org/project/project_composer/compare/7.x-1.x...31...
Comment #13
drummThis has been deployed!