pv2: base python module for peridot and development tooling
Go to file
2023-07-10 16:09:53 -07:00
.github Add GitImporter and misc changes 2023-07-06 15:49:05 -07:00
doc Start proper readme, add pyproject.toml 2023-06-28 00:26:00 -07:00
examples add module example script 2023-07-10 10:18:50 -07:00
pv2 move mock clone constant 2023-07-10 16:09:53 -07:00
.gitignore Mass Update 2023-06-14 00:39:36 -07:00
LICENSE Mass Update 2023-06-14 00:39:36 -07:00
pyproject.toml Add GitImporter and misc changes 2023-07-06 15:49:05 -07:00
README.md hotfix: raise exception if rpmbuild is not available 2023-07-06 16:12:16 -07:00

pv2

pv2 is a backend module framework for building and development. Initially designed as a POC to support peridot's transition to python, it provides utilities that can be used for developers in and outside of the projects in the RESF (such as Rocky Linux).

Requirements

  • An RPM Distribution

    • Fedora
    • Enterprise Linux 8, 9+ recommended
    • CentOS Stream 8, 9+ recommended
  • Python 3.6 or higher - Python 3.9+ recommended

  • rpm-build

  • A few python modules

    • file-magic (python3-file-magic)
    • GitPython (python3-GitPython or via pip)
    • lxml (python3-lxml or via pip)
    • rpm (python3-rpm)
    • pycurl (python3-pycurl)
  • rpm macros packages (brought in by rpm-build package)

    • *-rpm-macros
    • *-srpm-macros

Example Scripts

Example scripts are found in the examples directory, which can utilize parts of the pv2 module.

Contributing

If you see a bug or a potential enhancement, we always encourage Pull Requests to be sent in. When sending in your pull request, make sure it is against the development branch. PR's to main will be closed.

To submit a change, we recommend that you do so on GitHub:

  • Fork the repository as necessary
  • Make a new branch based on the development branch - Ensure that it is up-to-date
  • Make your changes
  • Send in the PR for review to our development branch