Skip to content

This repository contains a Python script that provides a simple and efficient way to retrieve the versions of the Yocto Project.

License

Notifications You must be signed in to change notification settings

ever3001/yocto-releases-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yocto-releases-script

This repository contains a Python script that provides a simple and efficient way to retrieve the versions of the Yocto Project.

Prerequisites

The script is written in Python 3 and requires the following packages to be installed:

$ pip3 install html-to-json

Usage

The script can be run with the following command:

./yocto_releases_script.py <method> <args>

The script supports the following methods:

  • --help: Prints the help message.
  • --get_version_by_codename <codename>: Returns the version of the Yocto Project corresponding to the given codename.
  • --get_codename_by_version <version>: Returns the codename of the Yocto Project corresponding to the given version.

For example, to get the version of the Yocto Project corresponding to the dunfell codename, run the following command:

./yocto_releases_script.py --get_version_by_codename dunfell

The output of the command will be:

3.1

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Authors

About

This repository contains a Python script that provides a simple and efficient way to retrieve the versions of the Yocto Project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages