Review 14.3 Merged

95566[TASK] Update composer.json when downloading extensions from TER

Stefan Bürk CR +2 V +2 Hard +257 −4 updated 09/02/26, 17:49

Commit message

The two fields needed in composer.json to skip
ext_emconf.php entirely are:
1. "extra" > "typo3/cms" > "version"
2. "extra" > "typo3/cms" > "Package" > "providesPackages"

When downloading an extension from TER, Core can use
the information from ext_emconf.php, put it into composer.json
and remove the ext_emconf.php then, to never have a problem
when upgrading in the future.

The composer.json for TER-downloaded extension could then
look like this:

  "extra": {
      "typo3/cms": {
          "extension-key": "example_extension",
          "version": "1.2.3",
          "Package": {
              "providesPackages": {}
          }
      }
  }

This way, extension authors do not need to adapt anything
then anymore if downloaded from TER, the only leftover
group of people that need adaptions are the ones who:

 1. Run in classic mode AND
 2. manually download zip files an upload via FTP (or EM)

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 3

Files 3

Review log 46

  1. Stefan Bürk commented on patch set 1 09/02/26, 13:48

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 09/02/26, 13:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107637

  3. Stefan Bürk uploaded patch set 2 V -1 09/02/26, 14:06

  4. core-ci voted on patch set 2 V +1 09/02/26, 14:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107639

  5. Stefan Bürk voted on patch set 2 CR +2 V +2 09/02/26, 17:49

  6. Stefan Bürk merged patch set 3 09/02/26, 17:49