Skip to content
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

Rename 'Stable' release to 'Current' #672

Merged
merged 6 commits into from
Apr 26, 2016
Merged

Rename 'Stable' release to 'Current' #672

merged 6 commits into from
Apr 26, 2016

Conversation

fhemberger
Copy link
Contributor

@fhemberger fhemberger commented Apr 21, 2016

PR for #669:

  • I haven't changed any release blog posts prior 4.0. The old Node.js version numbers used the terms stable/unstable.
  • We will need a redirect from /<lang>/downloads/stable to /<lang>/downloads/current: www: redirect from '/<lang>/downloads/stable' to '/<lang>/downloads/current' build#399
  • Changing markdown files while running npm run serve crashes the process: Fixed (cherry-picked to master)
  • Some tests are failing for release blogpost generation, @phillipj can you please take a look?

@MylesBorins
Copy link
Contributor

@fhemberger thanks for getting this started. I'll take a proper look tomorrow

@lpinca
Copy link
Member

lpinca commented Apr 21, 2016

Changing markdown files while running npm run serve crashes the process:

I think this is unrelated to this change, I sporadically received the same error in the last days.

other-stable-downloads: Altri Download Stabili
stable: Stabile
other-current-downloads: Altri Download Stabili
current: Stabile
Copy link
Member

Choose a reason for hiding this comment

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

current: Corrente

@fhemberger fhemberger force-pushed the feature/rename-stable branch from 8222f49 to 89a783c Compare April 21, 2016 06:36
other-stable-downloads: Altri Download Stabili
stable: Stabile
other-current-downloads: Altri Download Stabili
current: Corrente
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lpinca Grazie! ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

this is the exact kind of stuff I knew I would miss. Thanks for getting on it so quickly @fhemberger !!!

@hiroppy
Copy link
Member

hiroppy commented Apr 21, 2016

const github = nock('https://raw.githubusercontent.com')
.get('/nodejs/node/v4.1.0/CHANGELOG.md')
.replyWithFile(200, changelogFixture)

releasePost.fetchVersionPolicy('4.1.0').then((policy) => {
t.equal(policy, 'Stable')
t.equal(policy, 'Current')
Copy link
Member

@lpinca lpinca Apr 21, 2016

Choose a reason for hiding this comment

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

This assertion fails because the channel is resolved as "Stable" from the fixture.
Maybe it makes sense to create a new fixture faking a changelog for the "Current" channel.

Copy link
Member

Choose a reason for hiding this comment

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

Does the name change affect existing releases? If not, this assertion should not be changed as v4.1.0 should still be considered "stable".

Copy link
Contributor

Choose a reason for hiding this comment

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

Does the name change affect existing releases?

I vote yes.

Copy link
Member

Choose a reason for hiding this comment

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

I vote yes.

I would agree in the eyes of consistency, but that would possibly mean updating all previous changelogs/blogs etc, I'm not sure that's preferable.

@fhemberger as I'm not sure what to do about previous releases, I've made two branches with contains fixes for both scenarios:

  • rename-stable-old-still-stable: old releases should still be named "Stable"
  • rename-stable-incl-old-releases: rename old releases to "Stable" as well

Merge or cherry-pick what ever commit you see fit. IMO keeping "Stable" for old releases would be okey for this PR, further discussion and a permanent fix could be raised in a separate issue/PR.

@lpinca
Copy link
Member

lpinca commented Apr 21, 2016

@abouthiroppy it makes sense.

@fhemberger
Copy link
Contributor Author

@abouthiroppy Good catch, thanks! Crash is fixed.

@jasnell
Copy link
Member

jasnell commented Apr 21, 2016

@node/ctc ... FYI
The naming change LGTM.

@@ -6,10 +6,10 @@ labels:
download-for: Download for
other-downloads: 다른 운영 체제
other-lts-downloads: 다른 LTS 다운로드
other-stable-downloads: 다른 안정 버전 다운로드
Copy link
Contributor

@preco21 preco21 Apr 26, 2016

Choose a reason for hiding this comment

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

@fhemberger Could you change '안정' to '현재' on here? ('stable' to 'current' in Korean)
Any other things are LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@preco21 Updated the translation, also on the next line.

Copy link
Contributor

Choose a reason for hiding this comment

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

@fhemberger Cool! Thank you.

@fhemberger
Copy link
Contributor Author

fhemberger commented Apr 26, 2016

@phillipj I went with the old releases to be changed as well. Updated release posts and weekly updates for v4.x/5.x releases.

Anything else missing or are we good?

@@ -2,7 +2,7 @@
date: 2015-09-23T02:01:38.545Z
version: 4.1.1
category: release
title: Node v4.1.1 (Stable)
title: Node v4.1.1 (Current)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not under the impression that we will be changing the release type of old releases... these posts should likely remain unchanged

Copy link
Contributor

Choose a reason for hiding this comment

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

just seeing that this was discussed above. I for one would push towards not making a decision in this PR and supporting the old names. There is no way for us to update release commits, and I do not believe there is any intention of modifying the changelogs. It would be odd if the release posts + changelogs are not the same

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's why I did this in a separate commit, so the others can be cherry-picked, if needed.

@mikeal
Copy link
Contributor

mikeal commented Apr 26, 2016

I'm going to merge this. We have other messaging lined up around this terminology going out today and the website should line up with it. So far there have been zero objections from any member of any WG.

@mikeal mikeal merged commit 494280c into master Apr 26, 2016
@fhemberger
Copy link
Contributor Author

@mikeal We need this redirect to land as well, otherwise the old download links for stable builds will be broken: nodejs/build#399

@ghost
Copy link

ghost commented Apr 26, 2016

also: should we note this as news and post about it? just to archive it officially

@jasnell
Copy link
Member

jasnell commented Apr 26, 2016

I will be including a note about the change in the v6 release notes.

@MylesBorins
Copy link
Contributor

so this was landed with change to all of the past blog posts from stable -> current. We might want to revisit this change as it is going to create a delta from the changelog and releases where this is not going to change

@MylesBorins
Copy link
Contributor

/cc @jasnell

@stevemao stevemao deleted the feature/rename-stable branch April 26, 2016 23:31
jbergstroem pushed a commit to nodejs/build that referenced this pull request May 1, 2016
With the change of release names from 'Stable' to 'Current'
(introduced with Node.js v6), the old download page
needs to be redirected.

PR-URL: #399
Refs: nodejs/node#6318
Refs: nodejs/nodejs.org#672
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.