Skip to content

Commit

Permalink
zulu*: Manifest enhancements (#515)
Browse files Browse the repository at this point in the history
* Remove 32-bit architecture as per JEP 449

* Replace all url with Azul Metadata API

Fitted using `include_fields=sha256_hash`.

* Fix JSON path not recognizing array

* Introduce Zulu 21

* Run auto update

* Remove unsupported version 6

* Introduce Zulu 22
  • Loading branch information
ryansuhartanto authored May 22, 2024
1 parent d50d0a8 commit 16a03df
Show file tree
Hide file tree
Showing 46 changed files with 506 additions and 326 deletions.
29 changes: 8 additions & 21 deletions bucket/zulu-jdk.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
{
"description": "Zulu is certified build of OpenJDK",
"homepage": "https://www.azul.com/products/zulu-community/",
"version": "21.32.17",
"version": "22.30.13",
"license": {
"identifier": "GPL-2.0-only WITH Classpath-exception-2.0",
"url": "https://www.azulsystems.com/license/zulu_third_party_licenses.html"
},
"architecture": {
"64bit": {
"url": "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip",
"hash": "f7cc15ca17295e69c907402dfe8db240db446e75d3b150da7bf67243cded93de",
"extract_dir": "zulu21.32.17-ca-jdk21.0.2-win_x64"
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_i686.zip",
"hash": "271ef48102e4a786a137517070f2d5d89254696c0e597d70adf13293a5dd1b9c",
"extract_dir": "zulu21.32.17-ca-jdk21.0.2-win_i686"
"url": "https://cdn.azul.com/zulu/bin/zulu22.30.13-ca-jdk22.0.1-win_x64.zip",
"hash": "cf112b96b665eb34107590c83af83e56735caa677e2a96d1991419aa26b5d511",
"extract_dir": "zulu22.30.13-ca-jdk22.0.1-win_x64"
}
},
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jdk(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -34,16 +29,8 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
21 changes: 4 additions & 17 deletions bucket/zulu-jre.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@
"url": "https://cdn.azul.com/zulu/bin/zulu22.30.13-ca-jre22.0.1-win_x64.zip",
"hash": "04c0f5b317a535e5ff3c517494dfe7645f2a630dcb7ff017b66d22c05d5a891f",
"extract_dir": "zulu22.30.13-ca-jre22.0.1-win_x64"
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/zulu22.30.13-ca-jre22.0.1-win_i686.zip",
"hash": "714777f36c322a861a3308e2585ba257b9375c8fb0448f3204f425cb3f3150e4",
"extract_dir": "zulu22.30.13-ca-jre22.0.1-win_i686"
}
},
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jre(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -34,16 +29,8 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions bucket/zulu10-jdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=10&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=10&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)(?:[.+]{1})(?<build>[\\d]+)(?:-ca)?-jdk(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}.${build}"
},
Expand All @@ -34,16 +34,16 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=10&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=10&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=10&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=10&os=windows&arch=xi686&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions bucket/zulu11-jdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jdk(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -34,16 +34,16 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=xi686&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions bucket/zulu11-jre.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jre(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -29,16 +29,16 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=xi686&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions bucket/zulu12-jdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=12&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=12&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jdk(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -34,16 +34,16 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=12&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=12&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=12&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=12&os=windows&arch=xi686&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions bucket/zulu12-jre.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=12&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=12&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jre(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -29,16 +29,16 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=11&bundle_type=jre&features=headfull&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=xi686&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions bucket/zulu13-jdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=13&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jsonpath": "$.name",
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=13&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jdk(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
Expand All @@ -34,16 +34,16 @@
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=13&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=64",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=13&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?jdk_version=13&bundle_type=jdk&features=&javafx=false&ext=zip&os=windows&arch=x86&hw_bitness=32",
"jp": "$.sha256_hash"
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=13&os=windows&arch=xi686&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
Expand Down
Loading

0 comments on commit 16a03df

Please sign in to comment.