-
Notifications
You must be signed in to change notification settings - Fork 501
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
Filter out unwanted versions by regex #1560
Comments
There is already the |
Just adding a specific use case of a library I'd like to ignore: early-access releases of javafx-web. |
@esamson I think we can easily achieve this by adding scala-steward/modules/core/src/main/scala/org/scalasteward/core/data/Version.scala Lines 141 to 146 in 5fea5f1
|
I propose to fix this by adding a new
This entry would work for all dependencies with the |
That would work nicely for my use case. |
What about the more generic version to give a |
I don't want to support regular expressions in |
Sometimes a library (usually internal company libraries) will publish snapshots, branch builds, or some other prefix/suffix to indicate a non-release build. For example something like:
Currently
scala-steward
will create a PR using this later version which is not ideal. It would be good to provide users of the service with a way of configuring dependencies to ignore these sort of versions. There is already support for ignoringSNAPSHOT
,ALPHA
,BETA
,MILESTONE
andRC
- this could be extended to provide a negative order for a user defined list of string values, configured via.scala-steward.conf
. Or it might be something that could be added to individual dependencies rather than a global setting.The text was updated successfully, but these errors were encountered: