Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15768

Correct "project" and "version" values in Drupal module info files

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Drupal.org info files include a "project" identifier which permits checking of version information from upstream.

      Drupal module info files have version in the format DRUPAL.x-MAJOR.MINOR (eg 7.x-4.4). Currently CiviCRM has version in the format 4.4 which omits the Drupal core release that the module is suited to. See https://www.drupal.org/node/1015226 for correct format.

      7.x-4.4.11-rc1 is an acceptable format for Drupal (CORE.x-MAJOR.MINOR.MICRO-RELEASETAG)
      7.x-4.4.11 works for major releases.
      7.x-4.4 is fine too (but we use micro versions for releases so we probably want them).

      The fields version and project are listed as "discouraged" on https://www.drupal.org/node/542202 as they are automatically added by the release mechanism there; this doesn't apply to CiviCRM since it doesn't ship via Drupal.org and these values aren't added automatically.

      Including them in each .info file will better inform Drupal and other systems about the module origin.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: