Mass Update
* 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
2023-06-14 07:39:36 +00:00
|
|
|
# -*-:python; coding:utf-8; -*-
|
|
|
|
# author: Louis Abel <label@rockylinux.org>
|
|
|
|
"""
|
|
|
|
Mock and mock accessories
|
|
|
|
"""
|
|
|
|
|
|
|
|
# import all thingies here
|
2023-06-28 00:20:44 +00:00
|
|
|
from .config import (DnfConfig,
|
|
|
|
DnfRepoConfig,
|
|
|
|
MockConfig,
|
|
|
|
MockPluginConfig,
|
|
|
|
MockBindMountPluginConfig,
|
|
|
|
MockChrootFileConfig,
|
|
|
|
MockChrootScanPluginConfig,
|
|
|
|
MockMacroConfig,
|
|
|
|
MockMacroFileConfig,
|
|
|
|
MockShowrcPluginConfig)
|
Mass Update
* 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
2023-06-14 07:39:36 +00:00
|
|
|
from .error import MockErrorParser
|
|
|
|
from .runner import MockResult, MockRunner, MockErrorResulter
|