scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Allow pre-release updates to specific dependencies

Open arixmkii opened this issue 2 years ago • 6 comments

Fixes #2634

Added dedicated configuration, which alters pre-release version checks for specified dependencies.

Similar features has been mentioned there https://github.com/scala-steward-org/scala-steward/issues/1023#issuecomment-551942307

arixmkii avatar Jun 15 '22 17:06 arixmkii

I plan to update docs, but posting this early here to see if additional changes will be requested.

arixmkii avatar Jun 15 '22 17:06 arixmkii

Codecov Report

Merging #2635 (5ad59a2) into main (c17d367) will increase coverage by 0.11%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2635      +/-   ##
==========================================
+ Coverage   81.32%   81.44%   +0.11%     
==========================================
  Files         146      146              
  Lines        2592     2608      +16     
  Branches       43       45       +2     
==========================================
+ Hits         2108     2124      +16     
  Misses        484      484              
Impacted Files Coverage Δ
...ain/scala/org/scalasteward/core/data/Version.scala 100.00% <100.00%> (ø)
...g/scalasteward/core/repoconfig/UpdatesConfig.scala 100.00% <100.00%> (ø)
...scala/org/scalasteward/core/update/FilterAlg.scala 76.92% <100.00%> (+1.92%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c17d367...5ad59a2. Read the comment docs.

codecov[bot] avatar Jun 15 '22 18:06 codecov[bot]

👍 does pre-release include snapshots, or just Ms/RCs?

I've fantasized about using this sort of machinery to create a steward-powered, distributed community build.

armanbilge avatar Jun 16 '22 15:06 armanbilge

I though it was, but adding more tests it didn't play nice with snapshots. Added support for snapshots and tests in a separate commit.

arixmkii avatar Jun 16 '22 16:06 arixmkii

Changes:

  • Fixed compatibility with https://github.com/sbt/sbt-dynver versioning scheme for snapshots.
  • Updated sample repo config with new feature documentation
  • Added new config settings to all config settings test.

arixmkii avatar Jun 17 '22 15:06 arixmkii

I can squash commits and rebase if necessary. Kept commits separate to ease the review process.

arixmkii avatar Jun 17 '22 15:06 arixmkii