Uh oh!
There was an error while loading. Please reload this page.
repl: deprecate unused function convertToContext - #7829
Conversation
thefourtheye
commented
Jul 21, 2016
cc @ChALkeR Can you please search for this function in the npm modules? |
addaleax
commented
Jul 21, 2016
Good idea, LGTM if nothing too relevant comes up (I’d be surprised if it did, this code is unused since 2010). |
LGTM. Probably worth a CITGM run too, just to flush out anything obvious early on: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/341/ Hopefully I did that correctly.... EDIT: CITGM isn't working because of a breaking change on master. If #7846 lands, it will revert the commit that caused the regression and we can try CITGM again then. |
cjihrig
commented
Jul 21, 2016
LGTM if it's not in use. |
Fishrock123
commented
Jul 22, 2016
Is this supposed to be a user API? |
princejwesley
commented
Jul 23, 2016
@Fishrock123 No. History
|
@thefourtheye Does not seem to be used anywhere (based on the old data from 2016-01-28, new data will be ready a bit later). As always, I checked only |
jasnell
commented
Jul 26, 2016
Even tho this doesn't appear to be used, I would still recommend (and would be more comfortable with) a proper deprecation cycle before removing outright. |
thefourtheye
commented
Jul 26, 2016
Considering my recent attempts with |
princejwesley
commented
Jul 26, 2016
@jasnell Using util#deprecation ? |
jasnell
commented
Jul 26, 2016
We have two methods: soft deprecation (docs only) or util.deprecation. We On Tuesday, July 26, 2016, Prince John Wesley notifications@github.com
|
princejwesley
commented
Jul 26, 2016
@jasnell FYI, |
addaleax
commented
Jul 26, 2016
Yeah, soft deprecation isn’t really applicable here, and |
princejwesley
commented
Jul 28, 2016
thefourtheye
commented
Jul 28, 2016
@princejwesley Just a leave a to-do like this |
| return cmd; | ||
| }; | ||
| }, 'replServer.convertToContext will be removed in v8.0.0'); |
There was a problem hiding this comment.
use "after", that represents a range, instead of the precise word "in" would be better?
yorkie
commented
Jul 28, 2016
LGTM |
addaleax
commented
Jul 28, 2016
| return cmd; | ||
| }; | ||
| }, 'replServer.convertToContext will be removed after v7'); |
There was a problem hiding this comment.
Our deprecation messages typically take a form like, 'replServer.convertToContext() is deprecated', without committing to a specific version when it may be removed. The message should also indicate if there is an alternative that the developer should use.
Oops, it might need a test case, though. |
jasnell
commented
Jul 28, 2016
@nodejs/ctc |
princejwesley
commented
Jul 30, 2016
yorkie
commented
Jul 30, 2016
LGTM if CI is green :-) |
jasnell
commented
Aug 1, 2016
@nodejs/ctc ... putting out a last call for comments on this. If there are no objections to adding this deprecation I will land tomorrow. |
PR-URL: #7829 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell
commented
Aug 4, 2016
Ok, it took longer than a day but landed in 488d28d! :-) |
refack
commented
Jun 1, 2017
Just found this. Can we remove it? |
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
repl
Description of change
Remove unused function
convertToContext