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.
I am using the Git Deploy module to show update information on the updates report page. This is necessary because I use drush with package-handler
set to git_drupalorg
to get the git information. This way no version information is needed in the .info file.
The Ctools module added a hardcoded version information of version = CTOOLS_MODULE_VERSION
in the ctools.info file for version dependency reasons with other modules. This blocks the module update info to show up on the update reports page and doesn't even show up with drush pm-updatestatus.
Comment | File | Size | Author |
---|---|---|---|
#7 | hard-coded-version-info-2455597-7.patch | 5.6 KB | Darren Oh |
Comments
Comment #1
grossmann CreditAttribution: grossmann commentedComment #2
Darren OhComment #3
Darren OhComment #4
Darren OhHard coding version info was an error. Users who use Git to check out modules should be using the Git Deploy module to provide version strings: Writing module .info files (Drupal 7.x). A patch is required to get it working with database updates: #2062763: Fix update.php missing version info from Git Deploy.
Comment #7
Darren OhRe-rolled patch.
Comment #8
Darren OhComment #9
joelpittetThanks @Darren Oh, I've committed this to the latest -dev branch.