Closed (fixed)
Project:
Markdown
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2020 at 21:09 UTC
Updated:
27 Jun 2020 at 21:14 UTC
Jump to comment: Most recent
Some packages include a constant somewhere that indicates which version is installed, but some don't (or older versions didn't). To keep consistency in the UI and to avoid DX confusion, there needs to be a reliable way to determine which version of which package is installed.
Use some reverse engineering on the autoloader to determine the location of a package's composer.json file and potentially the vendor/composer/installed.json file. Fallback to matching hashes of known/expected packages associated with this project.
Comments
Comment #3
markhalliwell