-
Notifications
You must be signed in to change notification settings - Fork 81
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
[RHELC-784] Allow but warn about deprecated env var #648
Conversation
We've renamed CONVERT2RHEL_UNSUPPORTED_VERSION to CONVERT2RHEL_ALLOW_OLDER_VERSION. Allow the old env var name to be used but emit a deprecation warning in the log. Add unittests to show the deprecation message is emitted when we use the old env var rather than the new one to allow the conversion to continue.
Codecov ReportBase: 93.41% // Head: 93.42% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #648 +/- ##
=======================================
Coverage 93.41% 93.42%
=======================================
Files 22 22
Lines 3115 3118 +3
Branches 553 554 +1
=======================================
+ Hits 2910 2913 +3
Misses 143 143
Partials 62 62
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Re-running one integration test as it seems to be failing because of infrastructure problems. |
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.
Seems good to me, we can merge since the integration tests failing seem unrelated. Leaving it to you @r0x0d
The test All errors seem to not be related to the PR. Merging this right now. |
* Allow but warn about deprecated env var We've renamed CONVERT2RHEL_UNSUPPORTED_VERSION to CONVERT2RHEL_ALLOW_OLDER_VERSION. Allow the old env var name to be used but emit a deprecation warning in the log. Add unittests to show the deprecation message is emitted when we use the old env var rather than the new one to allow the conversion to continue. * Update convert2rhel/unit_tests/checks_test.py
* Allow but warn about deprecated env var We've renamed CONVERT2RHEL_UNSUPPORTED_VERSION to CONVERT2RHEL_ALLOW_OLDER_VERSION. Allow the old env var name to be used but emit a deprecation warning in the log. Add unittests to show the deprecation message is emitted when we use the old env var rather than the new one to allow the conversion to continue. * Update convert2rhel/unit_tests/checks_test.py
* Allow but warn about deprecated env var We've renamed CONVERT2RHEL_UNSUPPORTED_VERSION to CONVERT2RHEL_ALLOW_OLDER_VERSION. Allow the old env var name to be used but emit a deprecation warning in the log. Add unittests to show the deprecation message is emitted when we use the old env var rather than the new one to allow the conversion to continue. * Update convert2rhel/unit_tests/checks_test.py
We've renamed CONVERT2RHEL_UNSUPPORTED_VERSION to CONVERT2RHEL_ALLOW_OLDER_VERSION. Allow the old env var name to be used but emit a deprecation warning in the log.
Add unittests to show the deprecation message is emitted when we use the old env var rather than the new one to allow the conversion to continue.
Followup to changes introduced for: #566
Jira Issue: RHELC-784
Checklist
[RHELC-]
is part of the PR titleRelease Pending