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 — allow double-digit versions in XcodeVersion by roryqueue · Pull Request #1854 · nodejs/node-gyp

Conversation

@roryqueue

@roryqueue roryqueue commented Aug 13, 2019 •
edited by cclauss
Loading

Uh oh!

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

Copy link
Copy Markdown

Fixes #1849

Checklist
  • npm install && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

Sorry, something went wrong.

Uh oh!

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

All reactions
@roryqueue
allow double-digit versions in XcodeVersion
306eab8
@cclauss

cclauss commented Aug 13, 2019

Copy link
Copy Markdown
Contributor

Related to #1849 ?

All reactions

Sorry, something went wrong.

Uh oh!

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

@roryqueue

roryqueue commented Aug 13, 2019

Copy link
Copy Markdown
Author

yes, relates-- sorry at work and not able to dig further atm, but that change seems to fix

All reactions

Sorry, something went wrong.

Uh oh!

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

@roryqueue

roryqueue commented Aug 13, 2019

Copy link
Copy Markdown
Author

(or rather, obviously doesn't work given it's failing, but the regex change matches both 9.X and 10.X, where as the other one fails on 10.X, so could be a hint to a real fix)

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Sep 25, 2019

Copy link
Copy Markdown
Member

Sorry, I'm not a python person but this looks invalid to me, \d+ will match double digits just as well as \d?\d in any normal regex engine. Can I close this or is someone willing to dispute that Python does something funky with regexes that makes this necessary?

All reactions

Sorry, something went wrong.

Uh oh!

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

@cclauss cclauss added the Python label Sep 25, 2019
@cclauss

cclauss commented Sep 25, 2019 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Can we just replace this line with version = ".".join(version.split(".")[:3]) and move on? Not a fan of regex for trivial use cases.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cclauss cclauss self-assigned this Sep 25, 2019
This was referenced Sep 25, 2019
Accept Python 3 by default #1844
Closed
build: ongoing list of actions for Python 3 compatibility nodejs/node#25789
Closed
cclauss added a commit to cclauss/node-gyp that referenced this pull request Sep 25, 2019
@cclauss
Test nodejs#1844 and nodejs#1854
9f89138
This was referenced Sep 25, 2019
node-gyp rebuild not working on MacOS Catalina Beta without reinstalling CommandLineTools #1861
Closed
Decode stdout on Python 3 #1890
Closed
@cclauss

cclauss commented Sep 30, 2019

Copy link
Copy Markdown
Contributor

I believe that #1890 fixed this. Please rebase and reverify.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cclauss cclauss added Waiting For Input macOS labels Oct 2, 2019
@cclauss

cclauss commented Oct 2, 2019

Copy link
Copy Markdown
Contributor

Conflicts to resolve.

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Oct 2, 2019

Copy link
Copy Markdown
Member

I think this is dealt with already and the solution posed here isn't correct as far as I can tell

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg rvagg closed this Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

@cclauss cclauss

Labels

macOS Python Waiting For Input

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Could not get CLTVersion

Uh oh!

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

3 participants

@roryqueue @cclauss @rvagg
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.