-
Notifications
You must be signed in to change notification settings - Fork 75
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
Upstream gyp
has actually been updated somewhat recently. Review those changes and sync (some of) them?
#108
Comments
What is broken that we are trying to fix? |
For example, Pull Request #98 was needed because we lacked a fix that was in upstream for three and a half years: #98 (comment) |
@DeeDeeG would you mind making a PR that applies these new commits on top of this fork? That would make it much easier to review and merge. |
I have some other things coming up, but I suppose I will put this on my to-do list. There are hints in the ( |
Yeah, thanks for finding this. That seems from ages ago, but I am not surprised. Perhaps we could maintain that information in this repo now? |
Now that the NodeJS org's copies of
With a footer in the commit message body:
If that's not enough, I suppose we could have a file |
|
My sense is that we have done a lot of modernization that "upstream" has not done. Their most recent PR uses If there are good ideas that we want to cherry-pick from upstream, please open individual, focused issues explaining why it would be worth the effort. |
FWIW, I did try and go through and apply most of the commits from Google's repo some time ago. My informal (subjective) takeaway (click to expand)I got the impression that most of it had actually already been cherry-picked to here, usually in some modified form making for minor conflicts (yay merge conflicts! /s). And still more work was re-implemented here so as to make the Google commits redundant to what we already have at this repo. (Especially Python 3 compatibility was redundant, as we obviously do have at NodeJS's gyp-next repo, at least for the files we care about.) A couple of things were genuinely present in the Google repo and absent in the gyp-next repo... See the chart for those. That said, here are my notes, in case anyone is interested... How to read/interpret these notes (click to expand)These are listed in reverse-commit-order (oldest commits are at the bottom, most-recent commits are at the top...) but I tried applying them in normal order, so my work started at the bottom of this table and went up from there. And I stopped part-way through upon encountering a massive amount of Commits I didn't get to:
Commits I did look at, and what I did about them at the time:
Legend (meaning) for the emojis:
|
Take a look at the commit history for upstream (Google)
gyp
: https://chromium.googlesource.com/external/gyp/+log/refs/heads/masterAs I am writing this, upstream
gyp
has updates as recently as the 12th of May 2020. These might fix bugs that we are still affected by. (I don't think the NodeJS or node-gyp copies ofgyp
have been synced with upstream (Google)gyp
in quite some time, right? Maybe as long ago as 2015?)Unexpectedly to me, there are many Python 3-related patches landed there in 2018, 2019 and 2020. About half of the commits in those years are Python 3 related. But there are other fixes as well.
Perhaps these are redundant to changes here, but perhaps not. I think it would be worthwhile seeing what has changed there, and if we could benefit from those things here/in the NodeJS world.
The text was updated successfully, but these errors were encountered: