Open andrew-m-leonard opened 2 weeks ago
Explains why Checksum field is blank in the marketplace for Red Hat and Microsoft: https://adoptium.net/marketplace/?version=21&os=linux&arch=x64,
@johnoliver unless you have other ideas, it seems that 'fixing' this field name will break some vendors' existing data - so we can either (a) co-ordinate with vendors and push a fix at the same time vendors regenerate/resign their information, or (b) support the wrong and correct field name for a limited time to allow transition.
Yes we unfortunately need to support both to avoid an API breaking change, done a PR at:
https://github.com/adoptium/marketplace-api.adoptium.net/pull/553
Unfortunately this goes beyond just the vendors, the public API also had the typo so needs to be supported for backwards compatibility
binary.package.sha265sum should be sha256sum
Currently the Asset definition and numerous examples and code use the same typo: https://github.com/search?q=org%3Aadoptium%20sha265sum&type=code
Some vendors have assumed the correct spelling, eg. https://github.com/rh-openjdk/marketplace/blob/8a48a422ad38b5af4fafb51c72ea001ed17eb895/21/jdk_21_0_5.json#L30