GithubHelp home page GithubHelp logo

joschi / corretto-metadata Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 108 KB

Collect and store metadata of Amazon Corretto releases

Home Page: https://aws.amazon.com/corretto/

Shell 100.00%
corretto amazon-corretto

corretto-metadata's Introduction

Deprecated: See joschi/java-metadata for a replacement


Amazon Corretto Release Metadata

Update release metadata

The update script in this repository collects a list of the currently available Amazon Corretto OpenJDK builds and their metadata to store it as JSON files in the metadata/ directory in this repository.

Additionally the script stores MD5, SHA-1, SHA-256, and SHA-512 checksums of the artifacts which are compatible with md5sum, sha1sum, sha256sum, and sha512sum in the checksums/ directory in this repository.

Usage

You can fetch the latest metadata for all Amazon Corretto releases at the following URL:

https://github.com/joschi/corretto-metadata/raw/master/metadata/releases.json

Example with cURL (requesting a compressed version which significantly reduces the transfer size):

curl --compressed -L https://github.com/joschi/corretto-metadata/raw/master/metadata/releases.json

If you want to fetch the checksum manifests for a Amazon Corretto release, you can download it with the following URL template:

https://github.com/joschi/corretto-metadata/raw/master/checksums/{artifact_filename}.{hash_function}
  • artifact_filename: The original filename of the artifact, for example amazon-corretto-8.202.08.2-linux-x64.tar.gz
  • hash_algorithm: The hash function you want to use; valid values are md5, sha1, sha256, and sha512

Example with cURL and SHA-256 checksum:

# Download Amazon Corretto 8.202.08.2 for Linux (x64)
curl -O https://d3pxv6yz143wms.cloudfront.net/8.202.08.2/amazon-corretto-8.202.08.2-linux-x64.tar.gz
# Download SHA-256 checksum manifest for Amazon Corretto 8.202.08.2 for Linux (x64)
curl -L -O https://github.com/joschi/corretto-metadata/raw/master/checksums/amazon-corretto-8.202.08.2-linux-x64.tar.gz.sha256
# Verify checksum
sha256sum -c amazon-corretto-8.202.08.2-linux-x64.tar.gz.sha256

Metadata structure

Field name Description
filename Filename of the artifact
url Full source URL of the artifact
md5 MD5 checksum of the artifact
md5_file Filename of the MD5 checksum file
sha1 SHA-1 checksum of the artifact
sha1_file Filename of the SHA-1 checksum file
sha256 SHA-256 checksum of the artifact
sha256_file Filename of the SHA-256 checksum file
sha512 SHA-512 checksum of the artifact
sha512_file Filename of the SHA-512 checksum file
version Amazon Corretto version
os linux, macosx, windows
arch x64, aarch64
archive_type tar.gz, zip, pkg, msi

Example:

{
  "filename": "amazon-corretto-8.202.08.2-linux-x64.tar.gz",
  "url": "https://d3pxv6yz143wms.cloudfront.net/8.202.08.2/amazon-corretto-8.202.08.2-linux-x64.tar.gz",
  "md5": "23a4e82eb9737dfd34c748b63f8119f7",
  "md5_file": "amazon-corretto-8.202.08.2-linux-x64.tar.gz.md5",
  "sha1": "8da77cfbf091d63cf790f0ee5a0ab1c447a7350b",
  "sha1_file": "amazon-corretto-8.202.08.2-linux-x64.tar.gz.sha1",
  "sha256": "c19a928687479e1036ff1d6e023975402d2f027d9b3e4d64cfaf0c9f35bf9669",
  "sha256_file": "amazon-corretto-8.202.08.2-linux-x64.tar.gz.sha256",
  "sha512": "91523409ca9ff78ab4ee133dbd32ca527a4b5b0a448f82d638be36c9d235e7fcabdf37fad2e21ee455873f0e76d61b7ebf18736d75b707d6e1bbbdc646aa2a9c",
  "sha512_file": "amazon-corretto-8.202.08.2-linux-x64.tar.gz.sha512",
  "version": "8.202.08.2",
  "os": "linux",
  "arch": "x64",
  "archive_type": "tar.gz"
}

See also metadata/ directory.

Disclaimer

This project is in no way affiliated with Amazon Web Services, Inc. or Amazon Corretto.

corretto-metadata's People

Contributors

actions-user avatar joschi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.