Bruno Borges
27f2c62824
Verify JDK downloads with vendor checksums ( #1167 )
...
* Verify JDK downloads with vendor checksums
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Handle missing vendor checksum values
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Preserve checksum error during cleanup failure
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Validate checksum metadata value types
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Clarify checksum documentation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Expand vendor checksum verification
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Accept SHA-256 or SHA-512 for JetBrains checksum sibling
JetBrains publishes a single, generically-named ".checksum" sibling
whose digest algorithm isn't disclosed by the filename. Older JBR 11
builds (e.g. jbrsdk_nomod-11_0_16-*-b2043.64.tar.gz) publish a SHA-256
digest there, while newer builds publish SHA-512. The JetBrains
installer previously assumed SHA-512 unconditionally, so verification
failed with "Malformed sha512 checksum metadata ... expected a
128-character hexadecimal digest" for those older builds, breaking the
jetbrains 11 e2e job on macOS and Windows.
fetchChecksum now accepts a list of candidate algorithms and infers
the actual algorithm from the returned digest's length, preferring the
strongest match. The JetBrains installer passes ['sha512', 'sha256'];
all other callers are unaffected since they already pass a single,
vendor-disclosed algorithm.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Use SapMachine archive checksum files
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
2026-07-29 04:43:56 -04:00
Priya Gupta
f7121373a9
Migrate to ESM and upgrade dependencies ( #1078 )
...
* Migrate to ESM and upgrade dependencies
* fix: update import statement for JSON module in kona-installer test
---------
Co-authored-by: George Adams <georgeadams1995@gmail.com>
2026-07-08 10:15:00 +01:00
Chiranjib Swain
0756542bc5
Refactor error handling and improve test logging for installers ( #989 )
...
* Refactor error handling for version not found cases across multiple installers
* Mock core.error in tests to suppress error logs
* fix(graalvm): improve error messages for EA version not found scenarios
* refactor(tests): update error messages for version not found scenarios
* fix(graalvm): enhance error messages for version not found scenarios
* fix(graalvm): improve error messages for version not found scenarios with updated download URL
* fix(graalvm): improve error handling for EA version not found scenarios with clearer messages
2026-04-13 12:44:45 -05:00
Priya Gupta
83a06ff9d9
Fix Windows archives extraction issue ( #689 )
2024-10-10 16:32:25 -05:00
Accelerator1996
6a0805fcef
Fix the bug about parsing dragonwell version ( #642 ) ( #643 )
2024-08-01 14:14:38 -05:00
aparnajyothi-y
387ac29b30
Upgrade Node to v20 ( #558 )
...
* Build changes
* 4.0.0
* node version update
* changes
* upgrade to v20
* Removing conflicts
* Upgrade to v20 in the reusable workflows
* Rebased index.js
* Removing conflicts
* Resolving conflicts
* Fomat check
* failed checks fix
2023-11-29 15:11:46 +01:00
Accelerator1996
0ab4596768
add support for dragonwell ( #532 )
...
* add support for dragonwell
* fix: update logic of parsing json file, refactor code
* build: rebuild action
* chore: update error message
* build: rebuild action
* tests: fix unit tests, add e2e tests
* chore: prettier, lint and rebuild solution
* feat: add check for the package type, update unit tests
* tests: update e2e tests
* tests: remove excess entries from e2e tests
* feat: update logic of getting json file
* feat: add logic for backuping getting json
* chore: update wordings
* chore: fix typos, add additional logs
* fix: fix review points
* chore: rebuild solution
* chore: update wordings
* chore: refactor code
---------
Co-authored-by: Ivan Zosimov <ivanzosimov@github.com>
Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>
2023-09-20 13:22:11 +02:00