Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15525

composer.json License is Invalid/Deprecated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, 3.2.2, 3.1.12
    • Fix Version/s: 3.3.0-a1, 3.2.3-RC1
    • Component/s: Other
    • Labels:
      None

      Description

      Just started getting error notices from Packagist every time I push a commit to any extension (my own and official ones) and pretty sure any one connected to phpBB's packagist account should start getting some too.

      Packagist can no longer update from our repos because our composer.json is now invalid.

      Just run

      composer validate

      to see the following error:

      Invalid package information: 
      License "GPL-2.0" is a deprecated SPDX license identifier, use "GPL-2.0-only" or "GPL-2.0-or-later" instead
      

      Valid license names listed here: https://spdx.org/licenses/

      So apparently we need to change from:

      "license": "GPL-2.0"
      

      to either

      "license": "GPL-2.0-only"
      

      or

      "license": "GPL-2.0-or-later"
      

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              VSE Matt Friedman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: