scrutinizer-ci / scrutinizer

Legacy repository - archives past feature requests/bug reports
https://scrutinizer-ci.com/docs
140 stars 36 forks source link

Integrate Semver checker #299

Open Anahkiasen opened 9 years ago

Anahkiasen commented 9 years ago

This is more of an issue to discuss it rather than a feature request, but have you given any thought in integrating PHP Semver Checker in the PHP toolset of Scrutinizer?

It parses two versions like this per example php-semver-checker-git compare master HEAD and reports on the level of changes in the public API (major/minor/patch). It can export its results to JSON so they are easily parsable by a third party service.

It's a little early to integrate it but it was more to see if that was an idea you'd consider for the platform? I know @philsturgeon per examples has seeked something like that for a while, and I think a lot of devs would feel the need for such a feature.

schmittjoh commented 9 years ago

Generally sounds like a nice idea although not something that is frequently requested. Has this been a problem in practice?

philsturgeon commented 9 years ago

It’s quite common to see people smash out versions in x.Y.z or x.y.Z on Composer - which expects SemVer - that are not following SemVer at all. 

If something like Scutinzier would report to people the breaking change on a tag, it would give them a chance to delete, untag, tag a new version, etc. 

schmittjoh commented 9 years ago

We had a couple of requests for something like a release comparison/validation feature, and it seems like this would fit nicely there, too. I've added it to that ticket.