Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mage-os as vendor-name for composer info #48

Commits on Oct 8, 2023

  1. Use mage-os as vendor-name for composer info

    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 mage-os#42.
    Vinai committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    d73aa1b View commit details
    Browse the repository at this point in the history