Open ggwpez opened 2 months ago
👋 cargo-semver-checks
maintainer here, quick note that cargo-semver-checks
will never report breaking changes if it detects the version bump is major, since they are all allowed.
So unless you have some peculiar config or arrangement of the workflow, my guess is that the "is major change" decision point in the workflow will always evaluate to "no" as currently diagrammed.
Hey @obi1kenobi, thanks for chiming in so proactively 😄
We are currently using the library of the cargo semver check in the parity-publish tool. My guess here is that we would add a sub-command to scan all the changes for any major change and then error. We already have a --max-bump
argument on one of our commands here. I assume this new subcommand would do it somehow similar.
That should work, or?
Oh nice, TIL that you are consumers of the library API! Not too many users like that yet, so it's nice to see it's useful for someone :)
Ultimately, it depends on the precise details of how you generate the rustdoc JSON — it might or might not include the crate version from which it was generated, so cargo-semver-checks
might or might not be able to act on those versions. You could make it work, but it might be a bit brittle so I would keep an eye on it.
As an aside, if you find cargo-semver-checks
to be a valuable part of your workflows, I'd really appreciate if Parity Technologies would consider becoming a sponsor! cargo-semver-checks
could be 100x better than it is today (for example, here are some concrete ideas) but it's being held back by a lack of sustainable funding. I'd like to be a full-time open-source maintainer, and I need users' help to make that happen!
@obi1kenobi would you be open to get paid in crypto? E.g. USDT or DOT?
I'd most prefer fiat currency through GitHub Sponsors. That automatically handles tax considerations for me, minimizing paperwork and bureaucracy I have to deal with, and is also automatically visible as income to my bank which makes it easier to be eligible for loans etc.
If you have a strong preference against fiat, I could try to figure out the tax paperwork related to accepting crypto. But I'm worried about slippage and transaction costs eating a large chunk of the value when I need to convert it to fiat to pay rent and bills.
USDT
is for example a stable coin. Aka there is only the volatility of USD.
If it's all the same on your end, I would prefer Ethereum-based (ERC-20) USDC
over USDT
for reasons of familiarity and convenience, so I can spend maximum time coding.
If it's a big hassle on your end to offer USDC
, then I could probably figure out how to make USDT
work as well.
I really appreciate you looking into this!
Would you be open to moving the chat about possible sponsorships to social media DMs / Discord DMs / email?
I'd love to get your support for cargo-semver-checks
! I didn't want to try to dig up your contact info since it wasn't on your profile, and I'd love to use your preferred platform to continue the conversation.
The current CI checks are structured in a way that the
R0-silent
label skips the SemVer checks. This is good in general, but i already saw two merge requests that declaredR0
and had accidental breaking changes.I think we should do something like this: