mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-24 22:21:25 +00:00
e48a54db3a
* Util Module * Provides: color class (for specialty stdout logging) * Provides: constants classes for rpm, errors, and mock * Provides: error classes for generic error handling and future fault handler * Provides: generic classes for generic, repeatable use cases * Provides: rpmutil with rpm utilities that range from basic to advanced metadata handling * Add mock module * Can generate a usable mock config based on input provided * Can generate mock plugin configuration as provided * cache related plugins are hardcoded as disabled * Supports plugins: chroot scanning, embedding files, bind mounts * Can generate basic dnf configs with repo information * (Currently limited) Error handler * Runs mock commands (such as build, buildsrpm, init, shell) * Add modularity module (very limited, doesn't really do much) * Add peridotpb example (does nothing, will likely be its own thing) * Add MIT license
14 lines
292 B
Python
14 lines
292 B
Python
"""
|
|
Parses repo metadata to get information. May be useful for getting general info
|
|
about a project's repository, like for generating a summary.
|
|
"""
|
|
|
|
#import os
|
|
#import createrepo_c as cr
|
|
|
|
__all__ = []
|
|
|
|
def _warning_cb(warning_type, message):
|
|
print(f"WARNING: {message}")
|
|
return True
|