tree: 441f782f973ab4558e96f08a9109fa0e2539b871 [path history] [tgz]
  1. rdoinfo/
  2. .gitignore
  3. .gitreview
  4. LICENSE
  5. rdo.yml
  6. README.md
  7. requirements.txt
  8. update-uc.py
  9. verify.py
README.md

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. Use git-review to propose a change.

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: