Skip to content

Conversation

@DavidCai1111
Copy link
Member

@DavidCai1111DavidCai1111 commented Feb 18, 2017

Update the writing-tests guide to restrict the ES.Next features usage in tests for the ease of backporting (only encourage to use those features that can be used directly without a flag in all maintained branches) .

Refs: #11290

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

@nodejs-github-botnodejs-github-bot added the doc Issues and PRs related to the documentations. label Feb 18, 2017
@DavidCai1111
Copy link
MemberAuthor

@mscdex@joyeecheung

@i5ting
Copy link

nice job

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be s/v4.x/all maintained branches for timelessness. (we can add a link to https://github.com/nodejs/lts to explain what are those maintained branches)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we can add a link to the upcoming backporting guide to the backporting part, doesn't need to happen in this PR though. Pending PR: #11099

@DavidCai1111
Copy link
MemberAuthor

@joyeecheung Updated, PTAL.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lts project link should have a text. Maybe [the LTS page](https://github.com/nodejs/lts).

Also nit: 80-character wrap.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actuallyall maintained branches is probably clear enough(no need for the lts/v4.x part). The lts link can be attached to this phrase and the node.green tip can be placed in the parens.

Copy link
Member

@joyeecheungjoyeecheungFeb 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh uh..by s/v4.x/all maintained branches/ I meant "replace v4.x with all maintained branches"(sed syntax). Sorry for not being clear.

Copy link
MemberAuthor

@DavidCai1111DavidCai1111Feb 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the correction, so "for the ease of backporting, it is encouraged to use those ES.Next features that can be used directly without a flag in [all maintained branches](https://github.com/nodejs/lts), you can check [node.green](http://node.green) for all available features in each release." will be better?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep :)

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, updated 👍

@joyeecheung
Copy link
Member

@Trott might want to take a look at this?

@Trott
Copy link
Member

@nodejs/testing

Seems A-OK to me.

@joyeecheung
Copy link
Member

Landed in 88035bc, thanks!

joyeecheung pushed a commit that referenced this pull request Feb 21, 2017
PR-URL: #11452 Refs: #11290 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit that referenced this pull request Feb 22, 2017
PR-URL: #11452 Refs: #11290 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
@italoacasasitaloacasas mentioned this pull request Feb 25, 2017
@jasnell
Copy link
Member

this would need a backport pr to land in v6 or v4

DavidCai1111 pushed a commit to DavidCai1111/node that referenced this pull request Mar 7, 2017
PR-URL: nodejs#11452 Refs: nodejs#11290 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
@DavidCai1111
Copy link
MemberAuthor

@jasnell Backport PR: #11725

@MylesBorins
Copy link
Contributor

@DavidCai1993 I'm noticing a backport to v4.x with a conflict, but no backport to v6.x. Would you be able to do v6 too?

@DavidCai1111
Copy link
MemberAuthor

@MylesBorins Sure 😄

@DavidCai1111
Copy link
MemberAuthor

@MylesBorins PR for v6.x: #11743

MylesBorins pushed a commit that referenced this pull request Mar 9, 2017
PR-URL: #11452 Refs: #11290 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 9, 2017
PR-URL: #11452 Refs: #11290 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Mar 9, 2017
abhishekumar-tyagi pushed a commit to abhishekumar-tyagi/node that referenced this pull request May 5, 2024
PR-URL: nodejs/node#11452 Refs: nodejs/node#11290 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@DavidCai1111@i5ting@joyeecheung@Trott@jasnell@MylesBorins@lpinca@nodejs-github-bot@davidtaikocha