lennybe / rdoinfo

utility repository containing information about current state of RDO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rdoinfo

rdoinfo is a git repository containing information about current RDO releases, packages, maintainers and more, currently in a single rdo.yml YAML file.

rdoinfo python module provided in this repo is needed for parsing and validating the info file.

Updating the info

Run verify.py script for basic sanity check on the rdo.yml info file before submitting changes through pull request, please.

Usage

rdoinfo is a dynamic information source so you probably want some mechanism to sync latest from github and import the rdoinfo parser module in order to have up-to-date RDO information.

See rdoinfo/__init__.py:parse_info_file function or verify.py script to get an idea what's going on.

rdopkg provides rdopkg.actionmods.rdoinfo module which can fetch this repo for you (into ~/.rdopkg/rdoinfo by default), keep it up-to-date, easily import the parser and give you the parsed info structure.

from rdopkg.actionmods import rdoinfo

inforepo = rdoinfo.get_default_inforepo()
inforepo.init()
info = inforepo.get_info()

Projects that use rdoinfo:

About

utility repository containing information about current state of RDO

License:Apache License 2.0


Languages

Language:Python 100.0%