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 — Update to semver ≥ 7 (Fixes: #2005) by guimard · Pull Request #2006 · nodejs/node-gyp

Conversation

@guimard

@guimard guimard commented Dec 29, 2019

Copy link
Copy Markdown
Contributor
Description of change

This PR updates semver to 7.x. and fixes #2005

Sorry, something went wrong.

Uh oh!

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

All reactions
@guimard guimard mentioned this pull request Dec 29, 2019
Update to semver ≥ 7 #2005
Closed
gengjiawen
gengjiawen approved these changes Dec 29, 2019
View reviewed changes
@rvagg

rvagg commented Dec 30, 2019

Copy link
Copy Markdown
Member

I'm not keen on this, our package.json has been optimised to fit nicely with npm's so that there's a lot of deduplication. Both node-gyp and npm currently have ^5.7.1 (https://github.com/npm/cli/blob/797a59797a2e226631f068c912f351ba340581fe/package.json#L130). I don't understand the need to push it to 7 or why this lack of support for 7 is a problem for anyone, as I commented in #2005.

All reactions

Sorry, something went wrong.

Uh oh!

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

@guimard

guimard commented Dec 30, 2019 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

Hi @rvagg,

I'm Debian Developer. For security reason, our policy does not accept embedded code. That's why there is only one semver in our distribution. I posted here my patch published in our package.

Cheers,
Xavier

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Dec 30, 2019

Copy link
Copy Markdown
Member

(Following on from discussion in #2006)

The new should work with both 5 and 7 and you're going to force semver@7 when you package this upstream anyway, whether we change package.json or not.

So back out the package.json change, leaving us with semver@5, and I'll lift my objection. Without anyone else objecting we should be able to merge this (with a bit of manual testing). We'll bump to semver@7 when npm does--which may be sooner than later with the retirement of Node.js 8 (i.e. a lot of npm's dependencies have moved to support newer JS features that aren't supported by Node.js 8).

I'll +1 this change since it's trivial, but it's not an endorsement (from me at least) of dancing around the incompatible bundling policies of Debian et. al.. That's something you either have to continue to manually patch your way around or push for some policy leniency for runtime ecosystems such as Node.js, whose dependency systems are incompatible with the existing distro policies.

All reactions

Sorry, something went wrong.

Uh oh!

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

@guimard
Compatibility with semver ≥ 7 (Fixes: nodejs#2005)
11dce09
@guimard
guimard force-pushed the semver-7 branch from 89e182f to 11dce09 Compare December 30, 2019 08:01
@guimard

guimard commented Dec 30, 2019

Copy link
Copy Markdown
Contributor Author

(Following on from discussion in #2006)

The new should work with both 5 and 7 and you're going to force semver@7 when you package this upstream anyway, whether we change package.json or not.

So back out the package.json change, leaving us with semver@5, and I'll lift my objection. Without anyone else objecting we should be able to merge this (with a bit of manual testing). We'll bump to semver@7 when npm does--which may be sooner than later with the retirement of Node.js 8 (i.e. a lot of npm's dependencies have moved to support newer JS features that aren't supported by Node.js 8).

I'll +1 this change since it's trivial, but it's not an endorsement (from me at least) of dancing around the incompatible bundling policies of Debian et. al.. That's something you either have to continue to manually patch your way around or push for some policy leniency for runtime ecosystems such as Node.js, whose dependency systems are incompatible with the existing distro policies.

Done, thanks.

Of course, Debian Developer will continue to manually patch the node.js module they need 😉

All reactions

Sorry, something went wrong.

Uh oh!

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

rvagg
rvagg approved these changes Jan 1, 2020
View reviewed changes
rvagg pushed a commit that referenced this pull request Jan 6, 2020
@guimard @rvagg
lib: compatibility with semver ≥ 7 (new for semver.Range)
f242ce4
Fixes: #2005
Reviewed-By: Rod Vagg <[email protected]>
PR-URL: #2006
@rvagg

rvagg commented Jan 6, 2020

Copy link
Copy Markdown
Member

landed f242ce4

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg rvagg closed this Jan 6, 2020
rvagg pushed a commit that referenced this pull request Jan 6, 2020
@guimard @rvagg
lib: compatibility with semver ≥ 7 (new for semver.Range)
e8f9bee
Fixes: #2005
Reviewed-By: Rod Vagg <[email protected]>
PR-URL: #2006
@rvagg rvagg mentioned this pull request Jan 6, 2020
[email protected] Release Proposal #2013
Closed
rvagg pushed a commit that referenced this pull request Feb 3, 2020
@guimard @rvagg
lib: compatibility with semver ≥ 7 (new for semver.Range)
1694907
Fixes: #2005
Reviewed-By: Rod Vagg <[email protected]>
PR-URL: #2006
@rvagg rvagg mentioned this pull request Feb 3, 2020
[email protected] Release Proposal #2012
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rvagg rvagg rvagg approved these changes
@gengjiawen gengjiawen gengjiawen approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Update to semver ≥ 7

Uh oh!

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

3 participants

@guimard @rvagg @gengjiawen
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 01402775 — 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.