GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — repl: update deprecation codes by aduh95 · Pull Request #33430 · nodejs/node

Conversation

@aduh95

@aduh95 aduh95 commented May 16, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Refs: #33294

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aduh95
repl: update deprecation codes
ccce72f
Refs: nodejs#33294
@nodejs-github-bot nodejs-github-bot added the repl Issues and PRs related to the REPL subsystem. label May 16, 2020
addaleax
addaleax approved these changes May 16, 2020
View reviewed changes
@addaleax addaleax added dont-land-on-v10.x labels May 16, 2020
targos
targos approved these changes May 16, 2020
View reviewed changes
richardlau
richardlau approved these changes May 16, 2020
View reviewed changes
@targos

targos commented May 16, 2020

Copy link
Copy Markdown
Member

I don't remember where our documentation says that we should use placeholders for deprecations, but can we change it? We forget to update it way too often and it seems possible to me to have a lint rule to validate the numbers in deprecations.md (no duplicate, sequential).

aduh95 and BridgeAR reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 mentioned this pull request May 16, 2020
doc: lint deprecation codes #33433
Closed
4 tasks done
BridgeAR
BridgeAR approved these changes May 16, 2020
View reviewed changes
@BridgeAR

BridgeAR commented May 16, 2020

Copy link
Copy Markdown
Member

Collaborators please 👍 to fast track this.

addaleax, targos, and lpinca reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR

BridgeAR commented May 16, 2020

Copy link
Copy Markdown
Member

@targos I agree that we should change that. To verify that we have unique codes, we should just add a test that verifies that the codes are unique in our markdown file.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label May 16, 2020
cjihrig
cjihrig approved these changes May 16, 2020
View reviewed changes
lpinca
lpinca approved these changes May 17, 2020
View reviewed changes
@nodejs-github-bot

nodejs-github-bot commented May 18, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/31372/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR BridgeAR added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label May 18, 2020
@nodejs-github-bot

nodejs-github-bot commented May 18, 2020 •
edited by BridgeAR
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/31374/ ✅ (all green besides a known CI issue that is unrelated)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BridgeAR pushed a commit to BridgeAR/node that referenced this pull request May 18, 2020
@aduh95 @BridgeAR
repl: update deprecation codes
a12a2d8
Refs: nodejs#33294

PR-URL: nodejs#33430
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@BridgeAR

BridgeAR commented May 18, 2020

Copy link
Copy Markdown
Member

Landed in a12a2d8 🎉

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR BridgeAR closed this May 18, 2020
@codebytere codebytere added the dont-land-on-v14.x label May 21, 2020
@codebytere

codebytere commented May 21, 2020

Copy link
Copy Markdown
Member

Adding the dont-land-on-v14.x label as i did this when i released v14.3.0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented May 29, 2020

Copy link
Copy Markdown
Member

I agree that we should change that. To verify that we have unique codes, we should just add a test that verifies that the codes are unique in our markdown file.

Sidenote: this was actually the intention originally but it never manifested for various reasons. The main difficulty here with deprecation codes is that we do not know when they are actually going to land in a release. What I would prefer is that we just assign the deprecation numbers in the release just like we handle the replaceme tags for versions. We would have to alter the testing strategy somewhat but that's fairly simple.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR

BridgeAR commented May 29, 2020

Copy link
Copy Markdown
Member

@jasnell that would not work for backports. It should be possible to just lint for unique deprecation codes. That way we'll immediately know if a PR needs to update before landing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented May 29, 2020

Copy link
Copy Markdown
Member

Well, I'd argue that we likely shouldn't be backporting deprecations but since we stopped requiring doc only deprecations to be major I guess that ship has sailed. Another approach would be to move away from numbered dep codes entirely and use simple labels. DEP_THING style. Lint rules can enforce a style and uniqueness and we can skip the need to apply a sequential numbering at all.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95
aduh95 deleted the update-deprecation-codes branch May 29, 2020 09:03
@aduh95 aduh95 mentioned this pull request Jul 14, 2020
modules: deprecate module.parent #32217
Closed
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@addaleax addaleax addaleax approved these changes
@lpinca lpinca lpinca approved these changes
@cjihrig cjihrig cjihrig approved these changes
@richardlau richardlau richardlau approved these changes
@BridgeAR BridgeAR BridgeAR approved these changes
+1 more reviewer
@targos targos targos approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. fast-track PRs proposed for a shorter-than-standard waiting period before landing. repl Issues and PRs related to the REPL subsystem.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

10 participants

@aduh95 @targos @BridgeAR @nodejs-github-bot @codebytere @jasnell @addaleax @lpinca @cjihrig @richardlau
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.