-
Notifications
You must be signed in to change notification settings - Fork 105
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
UCT-687: Enhanced Magento 2 version resolved #747
UCT-687: Enhanced Magento 2 version resolved #747
Conversation
…plugin into incorrect-display-of-magento-2-version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public enum MagentoVersion { | ||
|
||
ENTERPRISE_EDITION("magento/product-enterprise-edition", 1), | ||
COMMUNITY_EDITION("magento/product-community-edition", 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these composer packages? If yes - how is supposed to work with projects installed via GitHub?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eduard13, it was not supported in the previous functional and is not supposed to be supported for now. We need correct version lookup for the UCT version auto-detection. You can create new issue for adding support of dev Magento version resolving, or I'll create issue for that later.
Thanks, Bohdan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @Iamwade
Thank you for your contribution here.
Great job
Description (*)
Enhanced Magento 2 version resolved.
Changed logic of Magento 2 version resolving.
Previously it looked at composer.json file. It logic is incorrect because composer.json contains current project version but not magento 2 version. More than that version property in composer.json is not required, so it can be absent.
Fixed Issues (if relevant)
Contribution checklist (*)