-
Notifications
You must be signed in to change notification settings - Fork 955
Un-deprecate commands #2546
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
Un-deprecate commands #2546
Conversation
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Signed-off-by: Kyle J. Davis <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #2546 +/- ##
============================================
+ Coverage 72.20% 72.22% +0.02%
============================================
Files 126 126
Lines 70615 70662 +47
============================================
+ Hits 50985 51036 +51
+ Misses 19630 19626 -4
🚀 New features to boost your workflow:
|
enjoy-binbin
left a comment
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.
so we are removing the DEPRECATED flag but will keep the replaced_by? So how do we render (describe) them in our doc now?
I agree
In the website repo, it seems that we don't use this In the doc repo we have scripts to build man pages. Here, we show utils/preprocess-markdown.py-
utils/preprocess-markdown.py- if self.deprecated_since:
utils/preprocess-markdown.py- print("# NOTES", end="\n\n")
utils/preprocess-markdown.py: if self.replaced_by:
utils/preprocess-markdown.py- print("This command is deprecated (since %s) and replaced by %s." %
utils/preprocess-markdown.py: (self.deprecated_since, self.replaced_by), end="\n\n")
utils/preprocess-markdown.py- else:
utils/preprocess-markdown.py- print("This command is deprecated since %s." % self.deprecated_since, end="\n\n")
utils/preprocess-markdown.py-We can easily change this later to match whatever we decide in this PR. |
Yeah, so we do use It is rendered on the docs like this:
That said, it's trivial to sub |
I think we should do this. Having a deprecation advise seems weird. |
|
The plot thickens.
It's also used in a couple python scripts: So would wholesale substituting I see three options:
|
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Kyle J. Davis <[email protected]>
See valkey-io/valkey#2546. This moves the `replaced_by` information from the command json files in valkey-io/valkey into the docs for non-deprecated commands. Signed-off-by: Kyle J. Davis <[email protected]>
As per valkey-io#2459, this PR removes deprecation and `deprecated_since` element and `DEPRECATED` doc flag from commands. Closes valkey-io#2459. --------- Signed-off-by: Kyle J. Davis <[email protected]> Co-authored-by: Madelyn Olson <[email protected]>
As per #2459, this PR removes deprecation and `deprecated_since` element and `DEPRECATED` doc flag from commands. Closes #2459. --------- Signed-off-by: Kyle J. Davis <[email protected]> Co-authored-by: Madelyn Olson <[email protected]>
As per valkey-io#2459, this PR removes deprecation and `deprecated_since` element and `DEPRECATED` doc flag from commands. Closes valkey-io#2459. --------- Signed-off-by: Kyle J. Davis <[email protected]> Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Harkrishn Patro <[email protected]>


As per #2459, this PR removes deprecation and
deprecated_sinceelement and
DEPRECATEDdoc flag from commands. Closes #2459.