-
Notifications
You must be signed in to change notification settings - Fork 503
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
Fail on --vcs-*
options
#3241
Fail on --vcs-*
options
#3241
Conversation
This makes `--vcs-*` options unusable. If they are used, Scala Steward will print a message and exit with an error. These options are deprecated since #2916 and should be replaced with the corresponding `--forge-*` options.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3241 +/- ##
=======================================
Coverage 91.06% 91.07%
=======================================
Files 163 163
Lines 3391 3394 +3
Branches 309 300 -9
=======================================
+ Hits 3088 3091 +3
Misses 303 303 ☔ View full report in Codecov by Sentry. |
Heads-up @tgodzik: Is the public Scala Steward instance already using the |
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.
To not surprise users in winter holiday, let's merge this in 2024 January or later.
Sounds good to me. |
Thanks for the heads up! I updated it and deployed the new config. |
My plan is to merge this on 2024-01-22 and maybe also release 0.29.0 then. |
Successor to #3241. This should not be merged before Q3 2024 so that people had enough time to see the current deprecation messages and migrate to the `--forge-*` options.
Just to note that the minimum necessary version of
Curiously, although I can see that #2916 introduced deprecation of the old CLI options back in January 2023, along with updates to the Markdown doc, I haven't been seeing the deprecation warnings appear in the actual Scala Steward runs themselves, eg this recent run doesn't contain the string 'deprecated in favor of'. |
That string was only visible in the help message of the command-line options. Scala Steward did not log a warning if that option was used after #2916. It would have been nice if it had done that. |
Ah ok! No worries! |
This makes
--vcs-*
options unusable. If they are used, Scala Steward will print a message and exit with an error.These options are deprecated since #2916 and should be replaced with the corresponding
--forge-*
options.