-
Notifications
You must be signed in to change notification settings - Fork 506
Early semver labels are wrongly added #3475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could any maintainer review my finding and prove or reject it? |
To my understanding "Early SemVer" only adds additional rules in case the major version number is ZERO. See: Early SemVer and sbt-version-policy
|
I agree. But why for the case val update1 = ("ch.qos.logback".g % "logback-classic".a % "1.2.0" %> "1.2.3").single we get these labels? there is no early semver in libs versions or do I miss smth? |
@mzuehlke could you take a look please? |
I read the labels the following way:
As we don't know what policy the libraries are following we add labels for both specs. |
So that is not decided based on the MAJOR being zero or non-zero? Then it totally explains this issue. I thought early-semver is determined simply by MAJOR, am I wrong, @mzuehlke ? |
@mzuehlke Could I have your reply here please? |
Uh oh!
There was an error while loading. Please reload this page.
I suppose that in some cases 'early-semver-<major/minor/patch>' are wrongly added to the PRs produced by scala-steward
Currently there is a code below to define the severity of change for early-semver. Judging by the definition I would say it should return None if major is not zero which in turn will lead to earlySemVerLabel not having 'early-semver-<major/minor/patch>' for dependency changes with major > 0
I have found that even in your test the label is wrongly added for the following dependency changes
The text was updated successfully, but these errors were encountered: