-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mage-os as vendor-name for composer info (#48)
The ComposerInformation class is used to extract information about the current installation from the project root composer.json and composer.lock files, for example the Magento version. To find the relevant information, it looks at the package names, using a vendor name magento. Without this change, the installed version is reported as "UNKNOWN" in the Magento admin when the mage-os/project-community-edition package is used. This change fixes the regex so it correctly identifies the installed version. In future, it may be worth generalizing this so it is easier to switch the project vendor for other distributions based on Mage-OS. Fixes issue #42.
- Loading branch information
Showing
6 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...tests/integration/testsuite/Magento/Framework/Composer/_files/testFromClone/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tegration/testsuite/Magento/Framework/Composer/_files/testFromCreateProject/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tegration/testsuite/Magento/Framework/Composer/_files/testFromCreateProject/composer.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
dev/tests/integration/testsuite/Magento/Framework/Composer/_files/testSkeleton/composer.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters