-
Task
-
Resolution: Deferred
-
Minor
-
None
-
Future Dev
-
MDL-82829-main -
-
2
-
Team Hedgehog 2024 Sprint 3.2, Team Hedgehog 2024 Sprint 3.3
Inlcude the composer.json file (if it exists) for all the 3rd party libraries that we use in LMS. This file contains critical metadata about the library itself. Notably the "autoload" section that contains information about if individual files need to be autoladed. See MDL-82747 for details.
Currently, there is no requirement to include composer.json as part of the 3rd party library upgrades and management, which can lead to issues.
As part of the work to include this we should:
- Review thirdpartylibs.xml for the list of current libraries in LMS
- Use the list of libs to determine which ones currently do not have a composer.json as part of their files in LMS
- For those that don't have composer.json included, review their source repositories to see if they have composer.json upstream
- Add any missing composer.json's to LMS
- See if any of the libraries autoload function files and add them to the loader in LMS as per
MDL-82747 - Update relevant docs page(s) to inform devs this is a requirement for future lib additions/upgrades.
Once we've completed this we can add a CI check to make sure things aren't being missed in the future
- duplicates
-
MDL-82824 Add unit test to check Moodle autoloader from Composer
-
- Closed
-
- split to
-
MDL-81669 Upgrade phpxmlrpc to the 4.11.1
-
- Closed
-
-
MDL-79679 Upgrade Constant-Time Encoding to 3.0.0
-
- Closed
-
-
MDL-81660 Upgrade PHP-CSS-Parser to 8.7.0
-
- Closed
-
-
MDL-81664 Upgrade PHPSpreadSheet to 4.1.0
-
- Closed
-
-
MDL-82971 Upgrade log to 3.0.2
-
- Closed
-