- Add MockAPIClient and MockEnvironment for external integration - Implement EnvironmentManager with full lifecycle support - Enhance plugin system with registry and BasePlugin class - Add comprehensive test suite and documentation - Include practical usage examples and plugin development guide
39 lines
1 KiB
Python
39 lines
1 KiB
Python
"""
|
|
Deb-Mock: A low-level utility to create clean, isolated build environments for Debian packages
|
|
|
|
This tool is a direct functional replacement for Fedora's Mock, adapted specifically
|
|
for Debian-based ecosystems.
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|
|
__author__ = "Deb-Mock Team"
|
|
__email__ = "team@deb-mock.org"
|
|
|
|
from .chroot import ChrootManager
|
|
from .config import Config
|
|
from .core import DebMock
|
|
from .sbuild import SbuildWrapper
|
|
from .api import MockAPIClient, MockEnvironment, MockConfigBuilder, create_client, create_config, quick_build
|
|
from .environment_manager import EnvironmentManager, EnvironmentInfo, BuildResult, create_environment_manager
|
|
|
|
__all__ = [
|
|
# Core classes
|
|
"DebMock",
|
|
"Config",
|
|
"ChrootManager",
|
|
"SbuildWrapper",
|
|
|
|
# API classes
|
|
"MockAPIClient",
|
|
"MockEnvironment",
|
|
"MockConfigBuilder",
|
|
"EnvironmentManager",
|
|
"EnvironmentInfo",
|
|
"BuildResult",
|
|
|
|
# Convenience functions
|
|
"create_client",
|
|
"create_config",
|
|
"create_environment_manager",
|
|
"quick_build",
|
|
]
|