[Request] Add OpenJDK 27 GA support

Đang mở Phù hợp với người mới
#607 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
86/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, powershell
Lĩnh vực
cli, release

Hướng nghiên cứu

Bắt đầu với bucket/openjdk.json và các mẫu manifest bucket Java hiện có, sau đó xem xét .\bin\checkver.ps1 bằng trang phát hành JDK 27. Thêm bucket/openjdk27.json cho 27-35 và cập nhật rolling manifest, đồng thời giữ lại cơ chế biến đã capture/tự động cập nhật của nó. Xác minh cả hai manifest bằng checkver.ps1 và xác nhận rằng quá trình cài đặt phân giải thành phần GA của JDK 27.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Current behavior

OpenJDK 27 is now GA, but the Java bucket does not yet provide an openjdk27 manifest and the rolling openjdk manifest still discovers JDK 26 through its current checkver configuration.

The existing openjdk manifest checks:

https://jdk.java.net/archive/

This causes a problem during the transition to a new GA release: JDK 27 is the current release and is available from https://jdk.java.net/27/, but it is not yet listed on the archive page.

For example, after updating the manifest data to JDK 27:

.\bin\checkver.ps1 openjdk27
openjdk27: couldn't match ... in https://jdk.java.net/archive/

.\bin\checkver.ps1 openjdk
openjdk: 26.0.2.1-1 (scoop version is 27-35) autoupdate available

So the archive-based check currently either fails for a version-specific JDK 27 manifest or detects JDK 26 for the rolling manifest.

Proposed change

Add OpenJDK 27 GA support by:

  • adding bucket/openjdk27.json at version 27-35;
  • updating the rolling bucket/openjdk.json to version 27-35;
  • using the current JDK 27 release page as the checkver source while JDK 27 is the current GA release;
  • retaining the existing captured-variable/autoupdate mechanism.

The Windows x64 GA artifact is:

https://download.java.net/java/GA/jdk27/55ce5470a6294008af0057ff4626d0e5/35/GPL/openjdk-27_windows-x64_bin.zip

SHA-256:

41172837168dd25a8d9fe5eb253ac1efc568c5f9ff608144bcacadfdf50f876c
Expected result

Users can install the current GA release with:

scoop install java/openjdk

or explicitly select JDK 27 with:

scoop install java/openjdk27

checkver.ps1 should also identify 27-35 rather than treating the latest archived JDK 26 release as an update.

Ngôn ngữ chính
PowerShell
Star
314
Fork
111
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ScoopInstaller/Java

Tất cả issue của ScoopInstaller/Java

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.