-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
node: Remove outdated caveat as of #22408 #34413
Conversation
Pinging @MikeMcQuaid who kindly authored the original PR. |
Thanks for the PR! I'll need to call in @DomT4 here as I'm not totally sure. |
Thanks for the ping. So, you're semi-correct, but not quite for the reasons given. (I mean no offence by this at all). However, Although the message was borked on the The upstream recommendation is to still do |
For completeness: The issues you referenced in your post here are unrelated to the issue we were trying to tackle with that caveat. Those issues were actually about the way Homebrew installs As Mike writes in this comment the way we handle |
Oh wow! Thank you @DomT4 for taking the time to clear things up! Sorry – I was truly confused by that katamari of different issues involving So … if I understand you correctly, the thing is: although Homebrew (as of PR #28075) no longer stands in the way of To me, the current caveat as it stands always screamed: »Listen, How about just slightly rephrasing the caveat? Simply to make users feel a bit more at ease, making it a tad more obvious that we’re talking about a recommended (upstream-endorsed) thing, nothing more? Let alone a crutch introduced by Homebrew not doing its homework? Updated the PR. What do you think? |
Apologies for the walls of text there. The issue is quite a long and complicated one, and trying to concisely explain the history of the various intertwined problems is a challenge I fail at, heh. But yes, certainly between the way Homebrew used to deal with But yes, to answer your question here, nothing about Homebrew or its mechanisms themselves stands in the way of users updating their own The issue fundamentally is that
Perfectly happy with this suggestion, and for someone to correct my clumsy update/upgrade mix-up 😉. Your new commit LGTM 👍, Thanks for noticing this and going out of your way to fix it. I appreciate the heck out of someone else helping keep an eye on the Node formula 😸 |
Was just trying to figure out whether I should still be using |
@dnalot You should be safe to install with a Homebrewed Feel free to open an issue if you hit any problems :). |
Just finished reading the issue you linked. Thanks a ton @DomT4 🎆 |
`npm` believe they’ve fixed the `npm update -g` command upstream, and having tried for an hour today to get my Node installation to break itself via `npm` it looks like they have. This ultimately resolves #34413 and related issues, for good, hopefully. Closes #38717. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This PR removes an outdated caveat when building node
--with-npm
.Rationale
When building the node formula
--with-npm
(which is the default), Homebrew still displays the following caveat:The caveat seems confusing/misleading to me in the following ways:
The latter fixes both New formula: distribute #1564 and Homebrew installed npm can't upgrade itself #22408; I figure this makes the caveat obsolete, too.
npm upgrade
. (Did you meannpm update
?)Please review
I have left the second caveat untouched. I assume it is still relevant?
Could anyone with more in-depth knowledge please review and confirm that it’s OK to leave it that way?
Thanks in advance!