Magento Semantic Versioning Checker. Join #svc in our Community Slack: https://opensource.magento.com/slack. Static tests that identify required module version changes based on code diff, and look for backward incompatible changes.
Note: package magento/framework is hosted on repo.magento.com, so Composer keys need to be added to auth.json or configured globally.
ToDo: get rid of this dependency.
Usage
php bin/svc --help
Commands
php bin/svc compare - Compare a set of files to determine what semantic versioning change needs to be done.
php bin/svc update-breaking-changes - Update the file with a list of backward incompatible changes between two sources.
COMOPS-129: Extract SVC code into its own repo
Installation
git clone git@github.com:magento/magento-semver.git
cd magento-semver
composer install
Note: package
magento/framework
is hosted onrepo.magento.com
, so Composer keys need to be added toauth.json
or configured globally. ToDo: get rid of this dependency.Usage
php bin/svc --help
Commands
php bin/svc compare
- Compare a set of files to determine what semantic versioning change needs to be done.php bin/svc update-breaking-changes
- Update the file with a list of backward incompatible changes between two sources.Tests
vendor/bin/phpunit -c tests/Unit/phpunit.xml.dist