cargo-semver-checks icon indicating copy to clipboard operation
cargo-semver-checks copied to clipboard

Description unclear

Open bestouff opened this issue 2 years ago • 5 comments

The current one-liner description reads : "Lint your crate API changes for semver violations.".
I find it unclear for people that don't know. How about that: "Lint your crate API changes for semantic version violations - i.e. check for breaking changes between minor versions of your crate" ?

bestouff avatar Aug 29 '23 10:08 bestouff

Hi, thanks for the suggestion! Short descriptions are always a struggle between keeping it short and being clear and precise, and I find it quite hard to write them 😅

Unfortunately, the proposed tweak is too long. The best one-liner descriptions are generally 10 words or fewer. Any ideas that could fit in that size range?

obi1kenobi avatar Aug 29 '23 13:08 obi1kenobi

I'd say if your project's concept isn't trivial, don't be stubborn on some arbitrary limit.
However you're right it should be shorter. As "semver" is already in the name, how about simply "Ensure crate minor revisions introduce no breaking changes" ?

bestouff avatar Aug 30 '23 07:08 bestouff

Interesting direction. Perhaps something along the lines of "Avoid accidental breaking changes ..." or "Catch accidental breaking changes ..."?

Not sure what the second half should be, feels like it should be something like "before " or "without " but I can't figure out the exact words to put there. Any ideas?

Thanks for workshopping this with me! Names are hard, short taglines and descriptions are even harder 😅

obi1kenobi avatar Aug 30 '23 17:08 obi1kenobi

How about just a small tweak to the original by adding the word accidental (I think it helps ppl realize it's not something they did wrong on purpose). I think the name of the tool is already very descriptive so the one liner doesn't have that much work to do. So it would become:

Lint your crate API changes for accidental semver violations

c-git avatar Sep 04 '23 18:09 c-git

After some subconscious reflection I'm not sure adding accidental adds value. It might be more confusing than useful.

c-git avatar Sep 04 '23 18:09 c-git