SAP Machine incorrect checksum_uri(s) for MSI
- Dominant language
- Java
- Stars
- 154
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
It appears the foojay api has the missing a keyword in the checksum_uri(s) for SAP machine java(s) for MSI packages. This seems to happen for all available Java JDKs (11, 17, 21) (sap only produces x64)
For example:
ID: 419e00467244666ae39d1d275eb6324a obtained from end point `https://api.foojay.io/disco/v3.0/packages/jdks?version=11&distribution=sapmachine&architecture=amd64&archive_type=msi&operating_system=windows&latest=available`
When I follow the result -> links -> pkg_info_uri, (https://api.foojay.io/disco/v3.0/ids/419e00467244666ae39d1d275eb6324a)
I get
```
"filename":"sapmachine-jdk-11.0.21_windows-x64_bin.msi",
"direct_download_uri":"https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.21/sapmachine-jdk-11.0.21_windows-x64_bin.msi",
"download_site_uri":"",
"signature_uri":"",
"checksum_uri":"https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.21/sapmachine-jdk-11.0.21_windows-x64_bin.sha256.txt",
"checksum":"",
"checksum_type":"sha256"
```
The checksum URI needs to be `sapmachine-jdk-11.0.21_windows-x64_bin.msi.sha256.txt` corresponding to the "MSI" version (please note the `windows-x64_bin.msi.sha256.txt`
This is the case for JDK 17 (e97160c971054d58a65d415a9a2597c8), JDK 21 (3c8d71fc140cbba916d5ad5260399f72), JRE 11 (7e0b21939f4a9b87005432989170da27), JRE 17 (e243f92a782c848c3f3beee48dbc6350), and JRE 21 (9166d93c3367543f89c62c27371a4a91).
Please let me know if that can be resolved.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.