macOS future strategy
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- macos
- Lĩnh vực
- build-system, operating-systems, release
Hướng nghiên cứu
Bắt đầu với issue này và PR #63055 được liên kết, xem xét cách tiếp cận hiện tại đối với package và release macOS được mô tả ở đây. Đánh giá thời điểm đề xuất cho Node.js 27 so với Node.js 28 và các ràng buộc Apple đã nêu. Được xem là hoàn thành khi dự án có một chiến lược đã thống nhất cho universal pkg và hỗ trợ x64.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Currently the project builds three macOS packages available to download from nodejs.org:
- macOS arm64 tarball
- macOS x64 tarball
- macOS universal binary pkg (i.e. the same installer installs either arm64 or x64).
To build the pkg we build Node.js twice on an arm64 macOS VM:
- Once for x64 under Rosetta 2
- Once for arm64 (native)
and then combine the two into the pkg, sign/notarize.
Apple have announced that the last release of macOS that will support Rosetta 2 will be macOS 27. That's the version two on from what we're currently on (macOS 15 -- Apple renumbered so the sequence goes macOS 15, macOS 26, macOS 27). The same Apple announcement said that the last macOS version to support x64 is Tahoe (26).
So we have two decisions:
- At some point we make the pkg builds arm64 only (as we currently need Rosetta 2 to build those without significant rework of how the releases are done).
- At some point we will need to drop the x64 macOS version of Node.js completely.
Planning is a little difficult with macOS because Apple do not usually announce End-of-Life dates... they just stop releasing after a while. Also they have made changes before around signing/gatekeeper which forced Xcode updates that in turn forced macOS version updates. So there's a large element of "our best guess" when trying to work out what we're likely to be able to support for the duration of a Node.js release line.
Starting the discussion now as I think our preference would be to make changes on semver major boundaries (unless Apple forces our hand as with the previously mentioned signing/gatekeeper change). So discuss first wrt. Node.js 27 (2027) and if we decide that is too soon, switch focus to Node.js 28 etc.
- Ngôn ngữ chính
- Jinja
- Star
- 541
- Fork
- 185
- Merge trung bình
- 2 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodejs/build
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
platform:ppc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
incident platform:arm
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Issue tương tự
-
core dependencies
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
-
bug github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
registrystack/registry-stack#1393 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Name consistency Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eellak/triplestore#65 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100