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

Get Versions Should Not Require Both Stable and Unstable Branches

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-dev, 3.1.0-b3
    • 3.1.0-b4
    • None
    • None

    Description

      The get_versions() function in the version_helper requires the version.json file to have both stable and unstable branch/objects.
      https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/phpbb/version_helper.php#L250

      This is fine for phpBB's usage. But if extensions want to use this functionality, the unstable branch should not be a requirement, so that support for more simple version.json files will be allowed, such as:

      {
          "stable": {
              "**major.minor**": {
                  "current": "**version information given**",
                  "announcement": "https://www.phpbb.com/**link to announcement topic**",
                  "eol": null,
                  "security": **false|true**
              }
          }
      }
      

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: