Skip to main content

Fetch up-to-date data on the latest version(s) available on Github Actions for a given set of languages.

Project description

DevelopersToolbox logo
Github Build Status License Created
Release Released Commits since release

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


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

File hashes

Hashes for wolfsoftware_get_language_versions-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3dd090bd53fc185c46ce56a05dd24c1a382e8ca897488f23d8df38620e6dfa8c
MD5 be188829fdc4970eeb33d30b06bc3b77
BLAKE2b-256 9a914f3246a049bab224b677948b02920c9da316aade0f9d0de103b5cf9a0e16

See more details on using hashes here.

File details

Details for the file wolfsoftware.get_language_versions-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wolfsoftware.get_language_versions-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee2076398ea8ad24185a21073ee0cf3f1efb786137c7a3861f142fdf95f614c4
MD5 c62986deaa1f06fc75ad6c7e5894911d
BLAKE2b-256 692b8cbaf76816442041ac946a86dcaf1df842d1152bdde68fb2a93a56fa7338

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page