-
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
check if the version of the migrated artifact exists #2455
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2455 +/- ##
==========================================
+ Coverage 81.05% 81.17% +0.11%
==========================================
Files 142 142
Lines 2460 2475 +15
Branches 39 44 +5
==========================================
+ Hits 1994 2009 +15
Misses 466 466
Continue to review full report at Codecov.
|
👍 I haven't had time to look into this PR in detail yet but was wondering if we could get rid of |
… provided by coursier.
I like the the idea of removing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. Thank you @mzuehlke!
This adds a new default file for artifacts migrations that does not contain the `initialVersion` fields. Since older Scala Steward instances load the list of artifact migrations from this repository, removing fields is a backward-incompatible change so that we cannot remove them in the old default file. See #2455 and #2472 for context.
Check if the version of the migrated artifact exists using the
versionCache
. As now the version of the migrated artifact is detectedArtifactChange#initialVersion
is no longer needed.fixes #2450
This should prevent problems like in #2447