Skip to content

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

License

Notifications You must be signed in to change notification settings

DevelopersToolbox/get-language-versions

Repository files navigation

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)

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published

Languages