Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

cargo-semver-checks is the tooling you describe. It doesn't currently catch every possible semver violation, so it won't suggest version numbers for you yet, but that's the eventual goal!


It isn't. You apparently didn't even read the README.


Are you telling the author of the tool that he didn't even read his own README?


xD


Doesn't change the fact that the README is sufficient to see the tool doesn't do what I stated.

It's a workflow problem, things are done the wrong way around.


Can you explain better what you want then? Because I understood your description as a tool that detects when a code change doesn't match semver versioning without a human having to annotate the changes as breaking or anything. And then shows what to correct.

Which is exactly what cargo-semver-checks does.

Like, the first line of the README after the name is "Lint your crate API changes for semver violations." - it quite specifically works with the actual crate API, not commit names, comments or any other human annotation.

It also will show you what broke semver and how, so you can fix it easily. And as the author stated, the goal is to suggest the correct version in the future.


I already wrote the correct workflow in plain English.

Verifying that a semver change is correct is not the same as automatically generating the semver.

It's literally P vs NP.


You're right, the tool doesn't automatically generate the correct semver. If that's what you meant, it seems to have been lost in translation. Your first comment was "Just autodetect whatever you need". It says nothing about automatically generating the correct semver value.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: