{"id":15337897,"url":"https://github.com/khmarbaise/disco","last_synced_at":"2025-03-27T14:44:55.968Z","repository":{"id":57565628,"uuid":"336534401","full_name":"khmarbaise/disco","owner":"khmarbaise","description":"Using [Foojay discovery REST API](https://github.com/foojay2020/discoapi) (discoapi)","archived":false,"fork":false,"pushed_at":"2022-01-21T16:08:21.000Z","size":2277,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-01T18:44:08.663Z","etag":null,"topics":["golang","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khmarbaise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-06T12:38:19.000Z","updated_at":"2021-11-28T21:56:48.000Z","dependencies_parsed_at":"2022-09-03T11:21:06.385Z","dependency_job_id":null,"html_url":"https://github.com/khmarbaise/disco","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fdisco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fdisco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fdisco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fdisco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khmarbaise","download_url":"https://codeload.github.com/khmarbaise/disco/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245864550,"owners_count":20685053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","rest-api"],"created_at":"2024-10-01T10:23:36.674Z","updated_at":"2025-03-27T14:44:55.943Z","avatar_url":"https://github.com/khmarbaise.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n Copyright 2021, 2022 The Disco Authors\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n--\u003e\n\n# Tool uses foojay jdk DiscoAPI\n\n[![Build Status](https://cloud.drone.io/api/badges/khmarbaise/disco/status.svg)](https://cloud.drone.io/khmarbaise/disco)\n\n# Status\n\nThe current state of development is `Prototype`.\n\n# Overview\n\nThis is a Go implementation which consumes information of the \n[foojay Disco API][discoapi]. \nThe basic idea of this project is having a \n[command line based][discoscripts] implementation which does not \nneed supplemental tools to be installed to work. Apart from that\nit should work on more or less all platforms.\n\nThe current implementation will consume the information of the \nAPI and printout the information to the console.\n\n## Basic Idea\n\nUse the Foojay JDK Discovery API and print some useful information\non the console.\n\n## TODO\n\n* The output of `packages` has to many columns to fit usefully on the console.\n* Precedence of different options for different commands.\n* Download a JDK/JRE package based on a particular selection.\n\n## Examples\n\n### Distributions\nHere is an example for consuming the information of the `distributions`\nREST API end-point. The command is named `distributions` (abbreviated `di`):\n```\n\u003e./disco di\nURL: https://api.foojay.io/disco/v1.0/distributions\n+-------------------+-----------------+--------------------+\n|       NAME        |  API PARAMETER  | NUMBER OF VERSIONS |\n+-------------------+-----------------+--------------------+\n| AOJ               | aoj             |                 62 |\n| AOJ OpenJ9        | aoj_openj9      |                 53 |\n| Corretto          | corretto        |                 35 |\n| Dragonwell        | dragonwell      |                 11 |\n| Graal VM CE 8     | graalvm_ce8     |                 18 |\n| Graal VM CE 11    | graalvm_ce11    |                 18 |\n| Graal VM CE 16    | graalvm_ce16    |                  1 |\n| Liberica          | liberica        |                 51 |\n| Liberica Native   | liberica_native |                  2 |\n| Mandrel           | mandrel         |                 11 |\n| Microsoft OpenJDK | microsoft       |                  4 |\n| OJDKBuild         | ojdk_build      |                 73 |\n| OpenLogic         | openlogic       |                  7 |\n| Oracle OpenJDK    | oracle_open_jdk |                123 |\n| Oracle            | oracle          |                 81 |\n| Red Hat           | redhat          |                 49 |\n| SAP Machine       | sap_machine     |                122 |\n| Temurin           | temurin         |                  0 |\n| Trava             | trava           |                 31 |\n| Zulu              | zulu            |                234 |\n+-------------------+-----------------+--------------------+\n```\nYou can enhance the above call with the supplemental `--verbose` option \nwhich would produce the following result (Your output will look\ndifferent then this one because content will change):\n```\n\u003e./disco di --verbose\nURL: https://api.foojay.io/disco/v1.0/distributions\n+----------------+-----------------+--------------------------------+\n|      NAME      |  API PARAMETER  |            VERSIONS            |\n+----------------+-----------------+--------------------------------+\n| AOJ            | aoj             | 16-ea, 15.0.2, 15.0.2-ea,      |\n|                |                 | 15.0.1, 15.0.1-ea, 15, 15-ea,  |\n|                |                 | 14.0.2, 14.0.2-ea, 14.0.1, 14, |\n|                |                 | 13.0.2, 13.0.2-ea, 13.0.1, 13, |\n|                |                 | 12.0.2, 12.0.2-ea, 12.0.1, 12, |\n|                |                 | 11.0.10, 11.0.10-ea, 11.0.9.1, |\n|                |                 | 11.0.9, 11.0.9-ea, 11.0.8,     |\n|                |                 | 11.0.7, 11.0.6, 11.0.5,        |\n|                |                 | 11.0.4, 10.0.2, 10.0.1-ea,     |\n|                |                 | 10-ea, 9.0.4, 9.0.4-ea, 9,     |\n|                |                 | 9-ea, 8.0.282, 8.0.282-ea,     |\n|                |                 | 8.0.275, 8.0.275-ea, 8.0.272,  |\n|                |                 | 8.0.272-ea, 8.0.265, 8.0.262,  |\n|                |                 | 8.0.252, 8.0.242, 8.0.232,     |\n|                |                 | 8.0.222, 8.0.212               |\n| AOJ OpenJ9     | aoj_openj9      | 16-ea, 15.0.2, 15.0.2-ea,      |\n|                |                 | 15.0.1, 15.0.1-ea, 15,         |\n|                |                 | 14.0.2, 14.0.2-ea, 14.0.1, 14, |\n|                |                 | 13.0.2, 13.0.1, 13.0.1-ea, 13, |\n|                |                 | 12.0.2, 12.0.2-ea, 12.0.1, 12, |\n|                |                 | 11.0.10, 11.0.10-ea, 11.0.9,   |\n|                |                 | 11.0.8, 11.0.7, 10.0.2,        |\n|                |                 | 10.0.2-ea, 10.0.1-ea, 9.0.4,   |\n|                |                 | 9.0.4-ea, 8.0.282, 8.0.282-ea, |\n|                |                 | 8.0.275, 8.0.272, 8.0.265,     |\n|                |                 | 8.0.262, 8.0.252               |\n| Corretto       | corretto        | 15.0.2, 15.0.1, 15, 11.0.10,   |\n|                |                 | 11.0.9, 11.0.8, 11.0.7,        |\n|                |                 | 11.0.6, 11.0.5, 11.0.4,        |\n|                |                 | 8.0.282, 8.0.275, 8.0.272,     |\n|                |                 | 8.0.265, 8.0.262, 8.0.252,     |\n|                |                 | 8.0.242, 8.0.232, 8.0.222, 8   |\n| Dragonwell     | dragonwell      | 11.0.9, 11.0.8, 11, 11-ea,     |\n|                |                 | 8.0.275, 8.0.272, 8.0.262, 8,  |\n|                |                 | 8-ea                           |\n| Graal VM CE 8  | graalvm_ce8     | 21, 20.3.1, 20.3, 20.2, 20.1,  |\n|                |                 | 20, 19.3.5, 19.3.4, 19.3.3,    |\n|                |                 | 19.3.2, 19.3.1, 19.3.0.2, 19.3 |\n| Graal VM CE 11 | graalvm_ce11    | 21, 20.3.1, 20.3, 20.2, 20.1,  |\n|                |                 | 20, 19.3.5, 19.3.4, 19.3.3,    |\n|                |                 | 19.3.2, 19.3.1, 19.3.0.2, 19.3 |\n| Liberica       | liberica        | 15.0.2, 15.0.1, 15, 14.0.2,    |\n|                |                 | 14.0.1, 14, 13.0.2, 13.0.1,    |\n|                |                 | 13, 12.0.2, 12.0.1, 12,        |\n|                |                 | 11.0.10, 11.0.9.1, 11.0.9,     |\n|                |                 | 11.0.8, 11.0.7, 11.0.6,        |\n|                |                 | 11.0.5, 11.0.4, 11.0.3,        |\n|                |                 | 11.0.2, 11.0.1, 11, 10.0.2,    |\n|                |                 | 10.0.1, 10, 9.0.4, 9.0.1,      |\n|                |                 | 8.0.282, 8.0.275, 8.0.272,     |\n|                |                 | 8.0.265, 8.0.262, 8.0.252,     |\n|                |                 | 8.0.242, 8.0.232, 8.0.222,     |\n|                |                 | 8.0.212, 8.0.202, 8.0.192      |\n| OJDKBuild      | ojdk_build      | 15.0.1, 14.0.2, 13.0.4,        |\n|                |                 | 13.0.3, 11.0.9, 11.0.8,        |\n|                |                 | 11.0.7, 11.0.6, 11.0.5,        |\n|                |                 | 11.0.4, 11.0.3, 11.0.2,        |\n|                |                 | 11.0.1, 11, 8.0.275, 8.0.272,  |\n|                |                 | 8.0.265, 8.0.262, 8.0.252,     |\n|                |                 | 8.0.242, 8.0.232, 8.0.222,     |\n|                |                 | 8.0.212, 8.0.202, 8.0.201,     |\n|                |                 | 8.0.191, 8.0.181, 8.0.172,     |\n|                |                 | 8.0.171                        |\n| Oracle OpenJDK | oracle_open_jdk | 17-ea, 16-ea, 15.0.1, 15-ea,   |\n|                |                 | 14.0.2, 14.0.1, 13.0.2,        |\n|                |                 | 13.0.1, 13, 12.0.2, 12.0.1-ea, |\n|                |                 | 12, 11.0.10, 11.0.10-ea,       |\n|                |                 | 11.0.9.1, 11.0.9, 11.0.9-ea,   |\n|                |                 | 11.0.8, 11.0.8-ea, 11.0.7,     |\n|                |                 | 11.0.7-ea, 11.0.6, 11.0.6-ea,  |\n|                |                 | 11.0.5, 11.0.5-ea, 11.0.4,     |\n|                |                 | 11.0.4-ea, 11.0.2, 11.0.1,     |\n|                |                 | 11, 10.0.2, 10.0.1, 10, 9.0.4, |\n|                |                 | 9.0.1, 9, 8.0.282, 8.0.282-ea, |\n|                |                 | 8.0.275, 8.0.272, 8.0.272-ea,  |\n|                |                 | 8.0.265, 8.0.262, 8.0.262-ea,  |\n|                |                 | 8.0.252, 8.0.252-ea,           |\n|                |                 | 8.0.242, 8.0.242-ea,           |\n|                |                 | 8.0.232, 8.0.232-ea, 8.0.222,  |\n|                |                 | 8.0.222-ea, 8.0.212, 8-ea      |\n| Oracle         | oracle          | 15.0.2, 14.0.2, 14.0.1,        |\n|                |                 | 13.0.2, 12.0.2, 12.0.1,        |\n|                |                 | 11.0.10, 9.0.4, 9.0.1,         |\n|                |                 | 8.0.281, 7.0.80, 7.0.79,       |\n|                |                 | 7.0.76, 7.0.75, 7.0.72,        |\n|                |                 | 7.0.71, 7.0.67, 7.0.65,        |\n|                |                 | 7.0.60, 7.0.55, 7.0.51,        |\n|                |                 | 7.0.45, 7.0.40, 7.0.25,        |\n|                |                 | 7.0.21, 7.0.17, 7.0.15,        |\n|                |                 | 7.0.13, 7.0.11, 7.0.10, 7.0.9, |\n|                |                 | 7.0.7, 7.0.6, 7.0.5, 7.0.4,    |\n|                |                 | 7.0.3, 7.0.2, 7.0.1, 6.0.45,   |\n|                |                 | 6.0.43, 6.0.41, 6.0.39,        |\n|                |                 | 6.0.38, 6.0.37, 6.0.35,        |\n|                |                 | 6.0.34, 6.0.33, 6.0.32,        |\n|                |                 | 6.0.31, 6.0.30, 6.0.29,        |\n|                |                 | 6.0.27, 6.0.26, 6.0.25,        |\n|                |                 | 6.0.24, 6.0.23, 6.0.22,        |\n|                |                 | 6.0.21, 6.0.20, 6.0.19,        |\n|                |                 | 6.0.18, 6.0.17, 6.0.16,        |\n|                |                 | 6.0.15, 6.0.14, 6.0.13,        |\n|                |                 | 6.0.12, 6.0.11, 6.0.10, 6.0.7, |\n|                |                 | 6.0.6, 6.0.5, 6.0.4, 6.0.3,    |\n|                |                 | 6.0.2, 6.0.1                   |\n| Red Hat        | redhat          | 15.0.2, 15.0.1, 14.0.2,        |\n|                |                 | 14.0.1, 13.0.2, 13.0.1,        |\n|                |                 | 12.0.2, 12.0.1, 11.0.10,       |\n|                |                 | 11.0.9, 11.0.8, 11.0.7,        |\n|                |                 | 11.0.6, 11.0.5, 11.0.4,        |\n|                |                 | 11.0.3, 11.0.2, 11.0.1,        |\n|                |                 | 10.0.2, 10.0.1, 9.0.4, 9.0.1,  |\n|                |                 | 9, 8.0.282-ea, 8.0.275-ea,     |\n|                |                 | 8.0.265, 8.0.252, 8.0.242,     |\n|                |                 | 8.0.232, 8.0.222, 8.0.212,     |\n|                |                 | 8.0.201, 8.0.191, 8.0.181,     |\n|                |                 | 8.0.171, 8.0.161, 8.0.151,     |\n|                |                 | 8.0.144, 8.0.141, 8.0.131,     |\n|                |                 | 8.0.121, 8.0.111, 8.0.102,     |\n|                |                 | 8.0.101, 8.0.91                |\n| SAP Machine    | sap_machine     | 17-ea, 16-ea, 15.0.2,          |\n|                |                 | 15.0.2-ea, 15.0.1, 15.0.1-ea,  |\n|                |                 | 15, 15-ea, 14.0.2, 14.0.2-ea,  |\n|                |                 | 14.0.1, 14.0.1-ea, 13.0.2,     |\n|                |                 | 12.0.2, 11.0.10, 11.0.10-ea,   |\n|                |                 | 11.0.9.1, 11.0.9.1-ea, 11.0.9, |\n|                |                 | 11.0.9-ea, 11.0.8, 11.0.8-ea,  |\n|                |                 | 11.0.7, 11.0.7-ea, 10.0.2.13   |\n| Zulu           | zulu            | 17-ea, 16-ea, 15.0.2, 15.0.1,  |\n|                |                 | 15, 15-ea, 14.0.2, 14.0.1,     |\n|                |                 | 14, 14-ea, 13.0.6, 13.0.5.1,   |\n|                |                 | 13.0.5, 13.0.4, 13.0.3,        |\n|                |                 | 13.0.2, 13.0.1, 13, 12.0.2,    |\n|                |                 | 12.0.1, 12, 11.0.10, 11.0.9.1, |\n|                |                 | 11.0.9, 11.0.8, 11.0.7,        |\n|                |                 | 11.0.6, 11.0.5, 11.0.4,        |\n|                |                 | 11.0.3, 11.0.2, 11.0.1, 11,    |\n|                |                 | 10.0.2, 10.0.1, 10, 9.0.7,     |\n|                |                 | 9.0.4, 9.0.1, 9, 8.0.282,      |\n|                |                 | 8.0.275, 8.0.272, 8.0.265,     |\n|                |                 | 8.0.262, 8.0.252, 8.0.242,     |\n|                |                 | 8.0.232, 8.0.222, 8.0.212,     |\n|                |                 | 8.0.202, 8.0.201, 8.0.192,     |\n|                |                 | 8.0.181, 8.0.172, 8.0.163,     |\n|                |                 | 8.0.162, 8.0.153, 8.0.152,     |\n|                |                 | 8.0.144, 8.0.131, 8.0.121,     |\n|                |                 | 8.0.112, 8.0.102, 8.0.101,     |\n|                |                 | 8.0.92, 8.0.91, 8.0.72,        |\n|                |                 | 8.0.71, 8.0.66, 8.0.65,        |\n|                |                 | 8.0.60, 8.0.51, 8.0.45,        |\n|                |                 | 8.0.40, 8.0.31, 8.0.25,        |\n|                |                 | 8.0.20, 8.0.11, 8.0.5, 8,      |\n|                |                 | 7.7.0.2, 7.7.0.1, 7.6.0.7,     |\n|                |                 | 7.6.0.2, 7.0.292, 7.0.285,     |\n|                |                 | 7.0.282, 7.0.272, 7.0.262,     |\n|                |                 | 7.0.252, 7.0.242, 7.0.232,     |\n|                |                 | 7.0.222, 7.0.211, 7.0.201,     |\n|                |                 | 7.0.191, 7.0.181, 7.0.171,     |\n|                |                 | 7.0.161, 7.0.154, 7.0.141,     |\n|                |                 | 7.0.131, 7.0.121, 7.0.111,     |\n|                |                 | 7.0.101, 7.0.95, 7.0.91,       |\n|                |                 | 7.0.85, 7.0.80, 7.0.79,        |\n|                |                 | 7.0.76, 7.0.72, 7.0.65,        |\n|                |                 | 7.0.60, 7.0.55, 7.0.51,        |\n|                |                 | 7.0.45, 6.0.119, 6.0.113,      |\n|                |                 | 6.0.107, 6.0.103, 6.0.99,      |\n|                |                 | 6.0.97, 6.0.93, 6.0.89,        |\n|                |                 | 6.0.87, 6.0.83, 6.0.79,        |\n|                |                 | 6.0.77, 6.0.73, 6.0.69,        |\n|                |                 | 6.0.63, 6.0.59, 6.0.56,        |\n|                |                 | 6.0.53, 6.0.49, 6.0.47, 6.0.42 |\n+----------------+-----------------+--------------------------------+\n```\nYou can limit this by using the `--version` option with\nthe appropriate version of JDK you would like to get information\nabout:\n```\n\u003edisco di --version 7.0.85 \nURL: https://api.foojay.io/disco/v1.0/distributions/versions/7.0.85\n+------+---------------+--------------------+\n| NAME | API PARAMETER | NUMBER OF VERSIONS |\n+------+---------------+--------------------+\n| Zulu | zulu          |                234 |\n+------+---------------+--------------------+\n```\nThe above output can be enhanced with the existing JDK versions which\n`Zulu` offers which will look like this:\n```\n\u003edisco di --version 7.0.85 --verbose\nURL: https://api.foojay.io/disco/v1.0/distributions/versions/7.0.85\n+------+---------------+--------------------------------+\n| NAME | API PARAMETER |            VERSIONS            |\n+------+---------------+--------------------------------+\n| Zulu | zulu          | 17-ea.19, 17-ea.18, 17-ea.17,  |\n|      |               | 17-ea.16, 17-ea.15, 17-ea.14,  |\n|      |               | 17-ea.13, 17-ea.12, 17-ea.11,  |\n|      |               | 17-ea.10, 17-ea.9, 17-ea.7,    |\n|      |               | 17-ea.6, 17-ea.4, 17-ea.3,     |\n|      |               | 17-ea.2, 17-ea.1, 16.0.1,      |\n|      |               | 16, 16-ea.36, 16-ea.35,        |\n|      |               | 16-ea.34, 16-ea.33, 16-ea.31,  |\n|      |               | 16-ea.30, 16-ea.29, 16-ea.28,  |\n|      |               | 16-ea.27, 16-ea.26, 16-ea.25,  |\n|      |               | 16-ea.24, 16-ea.23, 16-ea.22,  |\n|      |               | 16-ea.21, 16-ea.20, 16-ea.19,  |\n|      |               | 16-ea.18, 16-ea.17, 16-ea.16,  |\n|      |               | 16-ea.15, 16-ea.14, 16-ea.13,  |\n|      |               | 16-ea.12, 16-ea.11, 16-ea.10,  |\n|      |               | 16-ea.9, 16-ea.8, 16-ea.7,     |\n|      |               | 16-ea.6, 16-ea.5, 16-ea.4,     |\n|      |               | 15.0.3, 15.0.2, 15.0.1, 15,    |\n|      |               | 15-ea.36, 15-ea.35, 15-ea.34,  |\n|      |               | 15-ea.33, 15-ea.32, 15-ea.31,  |\n|      |               | 15-ea.30, 15-ea.26, 15-ea.25,  |\n|      |               | 15-ea.24, 15-ea.23, 15-ea.22,  |\n|      |               | 15-ea.21, 15-ea.20, 15-ea.19,  |\n|      |               | 15-ea.18, 15-ea.17, 15-ea.14,  |\n|      |               | 15-ea.13, 15-ea.11, 15-ea.10,  |\n|      |               | 15-ea.8, 15-ea.6, 15-ea.5,     |\n|      |               | 15-ea.4, 15-ea.3, 15-ea.2,     |\n|      |               | 14.0.2, 14.0.1, 14, 14-ea.36,  |\n|      |               | 14-ea.35, 14-ea.34, 14-ea.32,  |\n|      |               | 14-ea.31, 14-ea.30, 14-ea.29,  |\n|      |               | 14-ea.28, 14-ea.27, 14-ea+b28, |\n|      |               | 13.0.7, 13.0.6, 13.0.5.1,      |\n|      |               | 13.0.5, 13.0.4, 13.0.3,        |\n|      |               | 13.0.2, 13.0.1, 13, 13-ea,     |\n|      |               | 12.0.2, 12.0.1, 12, 12-ea,     |\n|      |               | 11.0.11, 11.0.10, 11.0.9.1,    |\n|      |               | 11.0.9, 11.0.8, 11.0.7,        |\n|      |               | 11.0.6, 11.0.5, 11.0.4,        |\n|      |               | 11.0.3, 11.0.2, 11.0.1,        |\n|      |               | 11, 11-ea, 10.0.2, 10.0.1,     |\n|      |               | 10, 9.0.7, 9.0.4, 9.0.1, 9,    |\n|      |               | 8.0.292, 8.0.282, 8.0.275,     |\n|      |               | 8.0.272, 8.0.265, 8.0.262,     |\n|      |               | 8.0.252, 8.0.242, 8.0.232,     |\n|      |               | 8.0.222, 8.0.212, 8.0.202,     |\n|      |               | 8.0.201, 8.0.192, 8.0.181,     |\n|      |               | 8.0.172, 8.0.163, 8.0.162,     |\n|      |               | 8.0.153, 8.0.152, 8.0.144,     |\n|      |               | 8.0.144-ea, 8.0.131, 8.0.121,  |\n|      |               | 8.0.112, 8.0.102, 8.0.102-ea,  |\n|      |               | 8.0.101, 8.0.92, 8.0.91,       |\n|      |               | 8.0.72, 8.0.71, 8.0.66,        |\n|      |               | 8.0.66-ea, 8.0.65, 8.0.60,     |\n|      |               | 8.0.51, 8.0.45, 8.0.40,        |\n|      |               | 8.0.31, 8.0.25, 8.0.20,        |\n|      |               | 8.0.11, 8.0.5, 8, 7.7.0.2-ea,  |\n|      |               | 7.7.0.1-ea, 7.6.0.7-ea,        |\n|      |               | 7.6.0.2, 7.0.302, 7.0.292,     |\n|      |               | 7.0.285, 7.0.282, 7.0.272,     |\n|      |               | 7.0.262, 7.0.252, 7.0.242,     |\n|      |               | 7.0.232, 7.0.222, 7.0.211,     |\n|      |               | 7.0.201, 7.0.191, 7.0.181,     |\n|      |               | 7.0.171, 7.0.161, 7.0.154,     |\n|      |               | 7.0.141, 7.0.131, 7.0.121,     |\n|      |               | 7.0.111, 7.0.101, 7.0.95,      |\n|      |               | 7.0.91, 7.0.85, 7.0.80,        |\n|      |               | 7.0.79, 7.0.76, 7.0.72,        |\n|      |               | 7.0.65, 7.0.60, 7.0.55,        |\n|      |               | 7.0.51, 7.0.45, 6.0.119,       |\n|      |               | 6.0.113, 6.0.107, 6.0.103,     |\n|      |               | 6.0.99, 6.0.97, 6.0.93,        |\n|      |               | 6.0.89, 6.0.87, 6.0.83,        |\n|      |               | 6.0.79, 6.0.77, 6.0.73,        |\n|      |               | 6.0.69, 6.0.63, 6.0.59,        |\n|      |               | 6.0.56, 6.0.53, 6.0.49,        |\n|      |               | 6.0.47, 6.0.42                 |\n+------+---------------+--------------------------------+\n```\n### Major Versions\nThere is another command `major_versions` (abbreviated: `mv`) which will \nrequests information from the `major_versions` REST end-point which looks\nlike this:\n````\n\u003e ./disco mv \nURL: https://api.foojay.io/disco/v1.0/major_versions\n+---------------+------------+-----------------+--------------------------------+\n| MAJOR VERSION | MAINTAINED | TERM OF SUPPORT |            VERSIONS            |\n+---------------+------------+-----------------+--------------------------------+\n|            16 | Yes        | STS             | 16.0.1, 16.0.1+b9, 16, 16+b36  |\n+---------------+------------+-----------------+--------------------------------+\n|            15 | No         | MTS             | 15.0.3, 15.0.2, 15.0.2+b10,    |\n|               |            |                 | 15.0.2+b8, 15.0.2+b7, 15.0.1,  |\n|               |            |                 | 15.0.1+b9, 15, 15+b36          |\n+---------------+------------+-----------------+--------------------------------+\n|            14 | No         | STS             | 14.0.2, 14.0.2+b13, 14.0.1,    |\n|               |            |                 | 14.0.1+b8, 14, 14+b36          |\n+---------------+------------+-----------------+--------------------------------+\n|            13 | Yes        | MTS             | 13.0.7, 13.0.6, 13.0.5.1,      |\n|               |            |                 | 13.0.5, 13.0.4, 13.0.3,        |\n|               |            |                 | 13.0.2, 13.0.2+b9, 13.0.1,     |\n|               |            |                 | 13.0.1+b10, 13.0.1+b9, 13,     |\n|               |            |                 | 13+b33                         |\n+---------------+------------+-----------------+--------------------------------+\n|            12 | No         | STS             | 12.0.2, 12.0.2+b10, 12.0.1,    |\n|               |            |                 | 12.0.1+b12, 12, 12+b33         |\n+---------------+------------+-----------------+--------------------------------+\n|            11 | Yes        | LTS             | 11.0.11, 11.0.11+b9, 11.0.10,  |\n|               |            |                 | 11.0.10+b9, 11.0.10+b6,        |\n|               |            |                 | 11.0.10+b5, 11.0.10+b4,        |\n|               |            |                 | 11.0.10+b3, 11.0.10+b2,        |\n|               |            |                 | 11.0.10+b1, 11.0.9.1,          |\n|               |            |                 | 11.0.9.1+b1, 11.0.9,           |\n|               |            |                 | 11.0.9+b12, 11.0.9+b11,        |\n|               |            |                 | 11.0.9+b2, 11.0.9+b1, 11.0.8,  |\n|               |            |                 | 11.0.8+b10, 11.0.8+b1,         |\n|               |            |                 | 11.0.7, 11.0.7+b10, 11.0.7+b4, |\n|               |            |                 | 11.0.7+b3, 11.0.7+b2,          |\n|               |            |                 | 11.0.7+b1, 11.0.6, 11.0.6+b10, |\n|               |            |                 | 11.0.6+b1, 11.0.5, 11.0.5+b11, |\n|               |            |                 | 11.0.5+b10, 11.0.5+b5,         |\n|               |            |                 | 11.0.5+b4, 11.0.5+b3,          |\n|               |            |                 | 11.0.5+b2, 11.0.5+b1, 11.0.4,  |\n|               |            |                 | 11.0.4+b11, 11.0.4+b10,        |\n|               |            |                 | 11.0.4+b1, 11.0.3, 11.0.3+b12, |\n|               |            |                 | 11.0.2, 11.0.2+b7, 11.0.1,     |\n|               |            |                 | 11.0.1+b8, 11.0.1+b7,          |\n|               |            |                 | 11.0.1+b6, 11.0.1+b5,          |\n|               |            |                 | 11.0.1+b4, 11.0.1+b3,          |\n|               |            |                 | 11.0.1+b2, 11.0.1+b1,          |\n|               |            |                 | 11.0.1+b0, 11, 11+b28, 11+b9,  |\n|               |            |                 | 11+b0                          |\n+---------------+------------+-----------------+--------------------------------+\n|            10 | No         | STS             | 10.0.2.13, 10.0.2, 10.0.2+b13, |\n|               |            |                 | 10.0.2+b0, 10.0.1, 10.0.1+b10, |\n|               |            |                 | 10.0.1+b0, 10, 10+b0           |\n+---------------+------------+-----------------+--------------------------------+\n|             9 | No         | STS             | 9.0.7, 9.0.4, 9.0.4+b11,       |\n|               |            |                 | 9.0.4+b0, 9.0.1, 9.0.1+b1,     |\n|               |            |                 | 9.0.1+b0, 9, 9+b181, 9+b163,   |\n|               |            |                 | 9+b154                         |\n+---------------+------------+-----------------+--------------------------------+\n|             8 | Yes        | LTS             | 8.0.292, 8.0.292+b10,          |\n|               |            |                 | 8.0.291, 8.0.282, 8.0.282+b8,  |\n|               |            |                 | 8.0.282+b1, 8.0.275,           |\n|               |            |                 | 8.0.275+b2, 8.0.275+b1,        |\n|               |            |                 | 8.0.275+b0, 8.0.272,           |\n|               |            |                 | 8.0.272+b10, 8.0.265,          |\n|               |            |                 | 8.0.265+b1, 8.0.265+b0,        |\n|               |            |                 | 8.0.262, 8.0.262+b10,          |\n|               |            |                 | 8.0.252, 8.0.252+b9,           |\n|               |            |                 | 8.0.242, 8.0.242+b8,           |\n|               |            |                 | 8.0.242+b7, 8.0.232,           |\n|               |            |                 | 8.0.232+b10, 8.0.232+b9,       |\n|               |            |                 | 8.0.222, 8.0.222+b11,          |\n|               |            |                 | 8.0.222+b10, 8.0.212,          |\n|               |            |                 | 8.0.212+b12, 8.0.212+b4,       |\n|               |            |                 | 8.0.202, 8.0.202+b16,          |\n|               |            |                 | 8.0.202+b15, 8.0.202+b14,      |\n|               |            |                 | 8.0.202+b13, 8.0.202+b12,      |\n|               |            |                 | 8.0.202+b11, 8.0.202+b10,      |\n|               |            |                 | 8.0.202+b9, 8.0.202+b8,        |\n|               |            |                 | 8.0.201, 8.0.201+b9, 8.0.192,  |\n|               |            |                 | 8.0.192+b12, 8.0.192+b0,       |\n|               |            |                 | 8.0.191, 8.0.191+b12, 8.0.181, |\n|               |            |                 | 8.0.181+b13, 8.0.181+b12,      |\n|               |            |                 | 8.0.172, 8.0.171, 8.0.171+b11, |\n|               |            |                 | 8.0.171+b10, 8.0.163, 8.0.162, |\n|               |            |                 | 8.0.161+b14, 8.0.161+b12,      |\n|               |            |                 | 8.0.153, 8.0.152, 8.0.152+b4,  |\n|               |            |                 | 8.0.151+b12, 8.0.144,          |\n|               |            |                 | 8.0.144+b0, 8.0.141+b16,       |\n|               |            |                 | 8.0.131, 8.0.131+b1, 8.0.121,  |\n|               |            |                 | 8.0.121+b13, 8.0.112,          |\n|               |            |                 | 8.0.111+b15, 8.0.102,          |\n|               |            |                 | 8.0.102+b14, 8.0.101,          |\n|               |            |                 | 8.0.101+b13, 8.0.92, 8.0.91,   |\n|               |            |                 | 8.0.91+b14, 8.0.72, 8.0.71,    |\n|               |            |                 | 8.0.66, 8.0.65, 8.0.60,        |\n|               |            |                 | 8.0.51, 8.0.45, 8.0.40,        |\n|               |            |                 | 8.0.31, 8.0.25, 8.0.20,        |\n|               |            |                 | 8.0.11, 8.0.5, 8, 8+b292,      |\n|               |            |                 | 8+b282, 8+b275, 8+b272,        |\n|               |            |                 | 8+b265, 8+b262, 8+b252,        |\n|               |            |                 | 8+b242, 8+b232, 8+b222         |\n+---------------+------------+-----------------+--------------------------------+\n|             7 | Yes        | LTS             | 7.6.0.2, 7.0.302, 7.0.292,     |\n|               |            |                 | 7.0.285, 7.0.282, 7.0.272,     |\n|               |            |                 | 7.0.262, 7.0.252, 7.0.242,     |\n|               |            |                 | 7.0.232, 7.0.222, 7.0.211,     |\n|               |            |                 | 7.0.201, 7.0.191, 7.0.181,     |\n|               |            |                 | 7.0.171, 7.0.161, 7.0.154,     |\n|               |            |                 | 7.0.141, 7.0.131, 7.0.121,     |\n|               |            |                 | 7.0.111, 7.0.101, 7.0.95,      |\n|               |            |                 | 7.0.91, 7.0.85, 7.0.80,        |\n|               |            |                 | 7.0.79, 7.0.76, 7.0.75,        |\n|               |            |                 | 7.0.72, 7.0.71, 7.0.67,        |\n|               |            |                 | 7.0.65, 7.0.60, 7.0.55,        |\n|               |            |                 | 7.0.51, 7.0.45, 7.0.40,        |\n|               |            |                 | 7.0.25, 7.0.21, 7.0.17,        |\n|               |            |                 | 7.0.15, 7.0.13, 7.0.11,        |\n|               |            |                 | 7.0.10, 7.0.9, 7.0.7, 7.0.6,   |\n|               |            |                 | 7.0.5, 7.0.4, 7.0.3, 7.0.2,    |\n|               |            |                 | 7.0.1, 7                       |\n+---------------+------------+-----------------+--------------------------------+\n|             6 | No         | LTS             | 6.0.119, 6.0.113, 6.0.107,     |\n|               |            |                 | 6.0.103, 6.0.99, 6.0.97,       |\n|               |            |                 | 6.0.93, 6.0.89, 6.0.87,        |\n|               |            |                 | 6.0.83, 6.0.79, 6.0.77,        |\n|               |            |                 | 6.0.73, 6.0.69, 6.0.63,        |\n|               |            |                 | 6.0.59, 6.0.56, 6.0.53,        |\n|               |            |                 | 6.0.49, 6.0.47, 6.0.45,        |\n|               |            |                 | 6.0.43, 6.0.42, 6.0.41,        |\n|               |            |                 | 6.0.39, 6.0.38, 6.0.37,        |\n|               |            |                 | 6.0.35, 6.0.34, 6.0.33,        |\n|               |            |                 | 6.0.32, 6.0.31, 6.0.30,        |\n|               |            |                 | 6.0.29, 6.0.27, 6.0.26,        |\n|               |            |                 | 6.0.25, 6.0.24, 6.0.23,        |\n|               |            |                 | 6.0.22, 6.0.21, 6.0.20,        |\n|               |            |                 | 6.0.19, 6.0.18, 6.0.17,        |\n|               |            |                 | 6.0.16, 6.0.15, 6.0.14,        |\n|               |            |                 | 6.0.13, 6.0.12, 6.0.11,        |\n|               |            |                 | 6.0.10, 6.0.7, 6.0.6, 6.0.5,   |\n|               |            |                 | 6.0.4, 6.0.3, 6.0.2, 6.0.1     |\n+---------------+------------+-----------------+--------------------------------+\n````\n\n### Packages\n\nIn the following example you see a call to the `packages` command:\n```\n\u003e disco packages --tos sts --fv 11.0.7 --tv 11.0.8 --os linux --rs ga --tos lts --distro zulu --ext tar.gz --arch x86\n```\n\nThe output of the above command looks like this:\n```\nURL: https://api.foojay.io/disco/v1.0/packages?from_version=11.0.7\u0026to_version=11.0.8\u0026archive_type=tar.gz\u0026architecture=x86\u0026distro=zulu\u0026operating_system=linux\u0026release_status=ga\u0026support_term=lts\n+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+\n| ARCHIVETYPE | DISTRO | VERSION | JAVAVERSION | DISTRIBUTIONVERSION | BUILD | STATUS | SUPPORT |  OS   | LIBCTYPE | ARCH | PT  | FX | DOWNLOADABLE |\n+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+\n| tar.gz      | zulu   |      11 | 11.0.8      | 11.41.23.0          | No    | ga     | lts     | linux | glibc    | x86  | jdk | No | Yes          |\n+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+\n| tar.gz      | zulu   |      11 | 11.0.8      | 11.41.23.0          | No    | ga     | lts     | linux | glibc    | x86  | jre | No | Yes          |\n+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+\n| tar.gz      | zulu   |      11 | 11.0.7      | 11.39.15.0          | No    | ga     | lts     | linux | glibc    | x86  | jre | No | Yes          |\n+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+\n| tar.gz      | zulu   |      11 | 11.0.7      | 11.39.15.0          | No    | ga     | lts     | linux | glibc    | x86  | jdk | No | Yes          |\n+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+\n```\nActually the above output lacks some columns but if add the other columns the line size\nwill gigantic. The following is the output which contains the other \ncolumns:\n```\nURL: https://api.foojay.io/disco/v1.0/packages?from_version=11.0.7\u0026to_version=11.0.8\u0026archive_type=tar.gz\u0026architecture=x86\u0026distro=zulu\u0026operating_system=linux\u0026release_status=ga\u0026support_term=lts\n+----------------------------------+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+---------------------------------------------+-----------------------------------------------+\n|                ID                | ARCHIVETYPE | DISTRO | VERSION | JAVAVERSION | DISTRIBUTIONVERSION | BUILD | STATUS | SUPPORT |  OS   | LIBCTYPE | ARCH | PT  | FX | DOWNLOADABLE |                  FILENAME                   |                  EPHEMERALID                  |\n+----------------------------------+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+---------------------------------------------+-----------------------------------------------+\n| c3ebfbfc000d3642fbaed77d5f68ea23 | tar.gz      | zulu   |      11 | 11.0.8      | 11.41.23.0          | No    | ga     | lts     | linux | glibc    | x86  | jdk | No | Yes          | zulu11.41.23-ca-jdk11.0.8-linux_i686.tar.gz | 396c3ebfbfc000d3642fbaed77d5f68ea231612310918 |\n+----------------------------------+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+---------------------------------------------+-----------------------------------------------+\n| f8a7d94856fa660cebb453e27414fc83 | tar.gz      | zulu   |      11 | 11.0.8      | 11.41.23.0          | No    | ga     | lts     | linux | glibc    | x86  | jre | No | Yes          | zulu11.41.23-ca-jre11.0.8-linux_i686.tar.gz | 357f8a7d94856fa660cebb453e27414fc831612310918 |\n+----------------------------------+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+---------------------------------------------+-----------------------------------------------+\n| bb17f90b1d084edb98ba8826bed7c5e6 | tar.gz      | zulu   |      11 | 11.0.7      | 11.39.15.0          | No    | ga     | lts     | linux | glibc    | x86  | jre | No | Yes          | zulu11.39.15-ca-jre11.0.7-linux_i686.tar.gz | 391bb17f90b1d084edb98ba8826bed7c5e61612310918 |\n+----------------------------------+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+---------------------------------------------+-----------------------------------------------+\n| dbd008f89e044b45df2f891555dc3219 | tar.gz      | zulu   |      11 | 11.0.7      | 11.39.15.0          | No    | ga     | lts     | linux | glibc    | x86  | jdk | No | Yes          | zulu11.39.15-ca-jdk11.0.7-linux_i686.tar.gz | 364dbd008f89e044b45df2f891555dc32191612310918 |\n+----------------------------------+-------------+--------+---------+-------------+---------------------+-------+--------+---------+-------+----------+------+-----+----+--------------+---------------------------------------------+-----------------------------------------------+\n```\n\n[discoapi]: https://github.com/foojay2020/discoapi\n[discoscripts]: https://github.com/foojay2020/discoscripts","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhmarbaise%2Fdisco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhmarbaise%2Fdisco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhmarbaise%2Fdisco/lists"}