-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
TODO comments in Makefile* and configure #4607
Comments
Whoops, submitted this too soon. I meant to wait another day or so to let any conversation in #264 run its course first. Sorry about that. (I'll leave this open though because closing it just to re-open in 24 hours or so is probably more annoying than just letting it be.) |
I'd love to help 😄 |
(I've numbered the 4 references in the original comment)
I know enough about makefile I should be able to help on |
I want to help but not really sure about where to start. |
1 is a real issue but it's hard to fix without manually declaring dependencies on the files in tools/gyp and deps/npm/node_modules/node-gyp. Maybe it's possible to automate with 2 can be resolved by removing Makefile.build, I'm pretty sure no one uses it. 4 is a comment that can probably be removed. I don't foresee a time where we support EBCDIC systems. |
I will fork/clone the repo and get working on them. |
Seems I'm the author of that comment. I guess it can be removed, replacing |
Okay, I removed the comment in configure and removed Makefile.build If yes, iirc we can use .PHONY or .FORCE? |
|
I see, both would be quite long.. Also noob question, why don't we rebuild the whole thing? Isn't that better, with a fresh build I mean |
Because it takes time. It's annoying when you're tweaking things and every 1 second change takes 30 seconds to rebuild. |
I am looking into .SECONDEXPANSION right now.
|
Okay, it looks like I am way out of my depth with Makefiles right now and I can’t really find a solution that’s elegant. So, what’s next? How do I proceed? Should I go with .PHONY or .SECONDEXPANSION? Ojas Shirekar
|
Neither are great solutions but |
What message should I replace this with:
Ojas Shirekar
|
A help message similar to the other |
okay added this: I feel that I won't be able to add anything to the Makefile soon. I need to learn more about Makefiles and that will take quite some time. This is all I can do for now, I cannot take care of 1. |
If you file a pull request, we'll take it from there. Make sure everything from CONTRIBUTING.md is checked off. |
I have filed a pull request. Ojas Shirekar
|
removed Makefile.build, as it is not really used by anyone. Refer to issue nodejs#4607
Remove Makefile.build, as it is not really used by anyone. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove a redundant TODO in configure: "# TODO(srl295): EBCDIC should be 'e'" as there is no plan to support EBCDIC systems any time soon. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Add a help message for --systemtap-includes optparse.SUPPRESS_HELP was replaced by help message and the TODO comment was removed Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove Makefile.build, as it is not really used by anyone. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove a redundant TODO in configure: "# TODO(srl295): EBCDIC should be 'e'" as there is no plan to support EBCDIC systems any time soon. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Add a help message for --systemtap-includes optparse.SUPPRESS_HELP was replaced by help message and the TODO comment was removed Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove Makefile.build, as it is not really used by anyone. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove a redundant TODO in configure: "# TODO(srl295): EBCDIC should be 'e'" as there is no plan to support EBCDIC systems any time soon. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Add a help message for --systemtap-includes optparse.SUPPRESS_HELP was replaced by help message and the TODO comment was removed Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove Makefile.build, as it is not really used by anyone. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove a redundant TODO in configure: "# TODO(srl295): EBCDIC should be 'e'" as there is no plan to support EBCDIC systems any time soon. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Add a help message for --systemtap-includes optparse.SUPPRESS_HELP was replaced by help message and the TODO comment was removed Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove Makefile.build, as it is not really used by anyone. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Remove a redundant TODO in configure: "# TODO(srl295): EBCDIC should be 'e'" as there is no plan to support EBCDIC systems any time soon. Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Add a help message for --systemtap-includes optparse.SUPPRESS_HELP was replaced by help message and the TODO comment was removed Refs: #4607 PR-URL: #5080 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Trolling for places to contribute, I stumbled on this. Seems the only item left remaining is https://github.com/nodejs/node/blob/master/Makefile#L164. Should that instead be an issue on its own and this bigger ball of wax can be closed? |
Checking off the remaining bullet point would be nice but giving it its own issue would lose/scatter the discussion, IMO. |
@bnoordhuis OK, I took the bait and started to try and get my head around the Makefile and how It looks like the npm project is copied into the node repository by hand (maybe?) whenever node bumps it's dependency version on npm. I don't see any place where this is automated. But perhaps I just haven't found it yet. So, if this is true then |
The npm team does that. Here's the documentation on the process: https://github.com/npm/npm/wiki/CLI-Team-Process#submitting-the-new-latest-x-to-nodejs
Nah, we update |
That could work iff the prerequisites consisted of all the files in By the way, the test add-ons are built with the node-gyp that's bundled with npm. |
@Fishrock123 ok, that link is helpful. Thanks. Are updates to @bnoordhuis is it typical for anything under For |
I think that could work.
Unfortunately, that won't work. GYP doesn't have a release process, the version number is never incremented, and I don't think there is a single file in the GYP tree that's always updated. That said, for just building the add-ons, a prerequisite on |
@Trott ... any reason to keep this open? |
@jasnell I'm OK with closing this and the other TODO/XXX/FIXME issues. If any of those items are things that really ought to be fixed (rather than a wishlist or a "will fix after Magical Feature X is available"), a separate issue should be opened anyway because it's just getting lost in these out-of-date tracking issues. While I think this issue is superfluous personally, anyone else should feel free to re-open (if GitHub permits them to) or comment requesting this be re-opened. |
Ref: #264
There are four TODO comments in the general build scripts for the project. It would be great to either remove them from the code (if they are no longer valid or at least not particularly high value), or get issues opened for them, or just get whatever it is they are addressing addressed. Here they are as of this writing.
/cc @bnoordhuis, @srl295
The text was updated successfully, but these errors were encountered: