flake8
passed.
JSHint
passed.
Review Request #12813 — Created Jan. 26, 2023 and submitted
Djblets has a lot of useful deprecation code, from the warning classes
to the argument checkers, which currently all explicitly specify
"Djblets" in any messages.These are now built to be consumed. A new
BaseRemovedInProductVersionWarning
class has been added, which
contains the base warning code, and introduces aproduct
field.
BaseRemovedInDjbletsVersionWarning
now subclasses this, filling in
product
.Both
deprecated_arg_value()
anddeprecate_non_keyword_only_args()
can be used by consumers along with the new base class.
Unit tests passed.
Made use of the new deprecation abilities in Review Board.
Summary | ID |
---|---|
3246d9ced6b75c96220527b4bd93e22d100bf96c |