Repository navigation
macOS node packages missing version attribute #15012
Description
Activity
- addedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.macosIssues and PRs related to the macOS platform.Issues and PRs related to the macOS platform.installIssues and PRs related to installing Node.js and its installers.Issues and PRs related to installing Node.js and its installers.
on Aug 24, 2017 I poked around a little with this and noticed that the build is doing a string substitution of
{nodeversion}here:Ref: https://github.com/nodejs/node/blob/master/Makefile#L714-L717
(I have no idea how to make the code inline as I have seen lately)I thought it might be as easy as modifying
index.xml.tmplto substitute the version on this line as well.But... the
Makefileappears to use an old, no longer distributed Apple tool calledPackageMaker.app. So I started messing around withpkgbuild. Then I thought to myself, hmmm, I wonder if there is prior art and started searching issues and pull requests.I found a few useful references possibly related to this, all of which have to do with refactoring the mac installer:
It appears #5656 is the only one still open. But it's been open for a while now, needs rebasing, and does not look like it's on the way to landing. What is the status of this pull request, would it possibly address this (small) issue with version metadata? Does fixing the version metadata require a complete refactoring of the Mac package build? Inquiring minds want to know!
ping @nodejs/build
We've had a profound lack of attention paid to the mac packaging over the past couple of years. There have been a few start'n'stop efforts that haven't progressed. It would be great if someone with the appropriate expertise could jump in.
@jasnell I edited my original comment above (heavily). I would be interested in looking at this, but wonder if there is any documentation that covers the distribution process. I kind of hacked my way through
make pkglocally with some required commits that will need to bereset --hard. Is there any guide to working on these bits?Also a good time to mention that @nodejs/platform-macos is three people, so if anyone else would like to be added please let me know!
- added a commit that references this issue
on Sep 15, 2017 - added a commit that references this issue
on Sep 30, 2017 - added 2 commits that reference this issue
on Oct 3, 2017 - added 3 commits that reference this issue
on Jan 16, 2018 - added 3 commits that reference this issue
on Feb 11, 2018 - added a commit that references this issue
on Jul 27, 2026
macOS packages missing correct version attribute, how to verify:
or, after install:
cmon guys, even brew-pkg builds node package with correct version attribute.