Fetch up-to-date data on the latest version(s) available on Github Actions for a given set of languages.
Project description
Overview
This is a command line version of our github action get-language-versions.
This script will fetch up-to-date data on the latest version(s) available on Github Actions for a given set of languages. It does this by first identifying the latest release (if the version source is in GitHub), and then extracting the information from the versions file of that latest release.
It will also compare this to the End-Of-Life (EOL) data for that language to ensure that you are not being given EOL versions (unless you specifically as the tool to give them to you).
Installation
pip install wolfsoftware.get-language-versions
Supported Languages
- Go
- Node / NodeJS
- Perl
- Php
- Python
- Ruby
- Terraform
Usage
usage: get-language-versions [-h] [-v] [-H] [-L] [-P] [-R] [-m MIN_VERSION] [-M MAX_VERSION] [-V MAX_VERSIONS] [-l {go,node,nodejs,perl,php,python,ruby,terraform}]
flags:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
optional flags:
-H, --highest-only Only return the highest version found. (default: False)
-L, --list-languages List the supported languages (default: False)
-P, --include-pre-releases
Include pre-release versions (default: False)
-R, --remove-patch-version
Strip the patch version from the returned versions. (default: False)
optional:
-m MIN_VERSION, --min-version MIN_VERSION
The minimum version to start from (default: EOL)
-M MAX_VERSION, --max-version MAX_VERSION
The maximum version to include (default: LATEST)
-V MAX_VERSIONS, --max-versions MAX_VERSIONS
The maximum number of versions to return (default: 0)
required:
-l {go,node,nodejs,perl,php,python,ruby,terraform}, --language {go,node,nodejs,perl,php,python,ruby,terraform}
The language to check. (default: None)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wolfsoftware_get_language_versions-0.1.2.tar.gz
.
File metadata
- Download URL: wolfsoftware_get_language_versions-0.1.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd090bd53fc185c46ce56a05dd24c1a382e8ca897488f23d8df38620e6dfa8c |
|
MD5 | be188829fdc4970eeb33d30b06bc3b77 |
|
BLAKE2b-256 | 9a914f3246a049bab224b677948b02920c9da316aade0f9d0de103b5cf9a0e16 |
File details
Details for the file wolfsoftware.get_language_versions-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: wolfsoftware.get_language_versions-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee2076398ea8ad24185a21073ee0cf3f1efb786137c7a3861f142fdf95f614c4 |
|
MD5 | c62986deaa1f06fc75ad6c7e5894911d |
|
BLAKE2b-256 | 692b8cbaf76816442041ac946a86dcaf1df842d1152bdde68fb2a93a56fa7338 |