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.
Problem/Motivation
Drupal.orgs Composer Endpoints und Drupal-Packagist uses different version schema. Pathauto uses the Drupal-Packagist version scheme in its composer.json, this does not work with Drupal.org
Proposed resolution
Move the version constraints to the info.yml. Let both implementations handle it.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#7 | 2727559-7.patch | 487 bytes | webflo |
#3 | 2727559-1.patch | 803 bytes | webflo |
Comments
Comment #2
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #3
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #4
BerdirHaving them in the .info file breaks git checkouts, which is pretty annoying when developing.
I'd consider to just remove them, both alphas are out there for a long time now.
Comment #5
MixologicI think the git checkout issue has to be solved with either https://www.drupal.org/project/composer_deploy or https://www.drupal.org/project/git_deploy since version constraints are definitely going to be a thing when contrib modules start relying on semver constraints to ensure compatibility in their info files.
Comment #6
BerdirAgreed, but I don't think we need to add the necessary complexity here. We're talking about alpha versions, depending on other alpha versions, both of them came out month ago. It was useful when we had the new dependencies, to enforce users to update, but until we have some new dependency, I think we can remove them for now.
Also, my usual workaround for this is to just add the dependencies for tagged releases and then reverting it again. Then it works fine for everyone using the release, those that use -dev/git will have to figure this out themself.
Comment #7
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedFine for me.
Comment #9
BerdirThanks, committed.