Can mark Parameters as obsolete in fillDescriptions#47642
Can mark Parameters as obsolete in fillDescriptions#47642cmsbuild merged 1 commit intocms-sw:masterfrom
Conversation
|
cms-bot internal usage |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47642/44180
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
53b9201 to
3b46cbe
Compare
|
please test |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47642/44182
|
|
A new Pull Request was created by @Dr15Jones for master. It involves the following packages:
@Dr15Jones, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
| ParameterDescriptionBase* addObsolete(U const& iLabel) { | ||
| if constexpr (std::is_same_v<T, edm::ParameterSetDescription>) { |
There was a problem hiding this comment.
I'm wondering if a short comment here (and below for the untracked) explaining why ParameterSetDescription needs a different treatment would be useful for a future reader?
|
+1 Size: This PR adds an extra 72KB to repository Comparison SummarySummary:
|
- Obsolete parameters will cause a warning to be issued and then skipped in the validation. - The _cfi.py files will get a cms.obsolete parameter added which allows one to still set the parameter in python but will not be passed to the C++.
3b46cbe to
190f693
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47642/44184
|
|
Pull request #47642 was updated. @Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please check and sign again. |
|
NOTE: I made a quick attempt at removing the obsolete parameter if it appeared in the ParameterSet being validated. That didn't work in my attempt (the code threw an exception saying an unnamed parameter was present). I'd like to put such behavior off until a later PR to give more time to understand exactly the behavior. |
|
please test |
|
+1 Size: This PR adds an extra 72KB to repository Comparison SummarySummary:
|
|
Comparison differences are related to #47071 |
|
+core |
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @mandrenguyen, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
PR validation:
Framework unit tests pass and newly added tests also pass.
resolves cms-sw/framework-team#1317