builds, initial testing builds, packaging, ci workflow
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 2m1s
Comprehensive CI/CD Pipeline / Security Audit (push) Successful in 46s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m7s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped

This commit is contained in:
robojerk 2025-09-04 12:55:35 -07:00
parent 0e80b08b0a
commit 45c124637b
25 changed files with 1994 additions and 6 deletions

77
debian/control vendored
View file

@ -2,16 +2,16 @@ Source: mock
Section: devel
Priority: optional
Maintainer: Deb-Mock Team <deb-mock@raines.xyz>
Build-Depends: debhelper (>= 13), dh-python, python3-all, python3-setuptools, python3-pytest, python3-yaml
Build-Depends: debhelper (>= 13), dh-python, python3-all, python3-setuptools, python3-pytest, python3-yaml, python3-click, python3-jinja2, python3-requests
Standards-Version: 4.6.2
Homepage: https://git.raines.xyz/robojerk/deb-mock
Vcs-Git: https://git.raines.xyz/robojerk/deb-mock.git
Vcs-Browser: https://git.raines.xyz/robojerk/deb-mock
Package: mock
Package: deb-mock
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, python3-click (>= 8.0.0), python3-yaml (>= 6.0), python3-jinja2 (>= 3.0.0), python3-requests (>= 2.25.0), sbuild, schroot, debootstrap
Recommends: ccache, python3-pytest, python3-pytest-cov
Depends: ${python3:Depends}, ${misc:Depends}, python3-click (>= 8.0.0), python3-yaml (>= 6.0), python3-jinja2 (>= 3.0.0), python3-requests (>= 2.25.0), sbuild, schroot, debootstrap, systemd-container, deb-mock-filesystem, deb-mock-configs
Recommends: deb-mock-plugins, ccache, python3-pytest, python3-pytest-cov
Description: Debian package build environment manager
Deb-Mock is a low-level utility to create clean, isolated build environments
for single Debian packages. This tool is a direct functional replacement for
@ -28,4 +28,71 @@ Description: Debian package build environment manager
* Advanced build options and debugging tools
.
This tool is designed for developers, packagers, and CI/CD systems that need
reliable, isolated environments for building Debian packages.
reliable, isolated environments for building Debian packages.
Package: deb-mock-filesystem
Architecture: all
Depends: ${misc:Depends}, shadow-utils
Description: Filesystem layout and chroot structure for deb-mock
This package provides the filesystem layout and chroot structure templates
for deb-mock. It includes directory structures, mount point definitions,
and filesystem configuration files needed for creating isolated build
environments.
.
This package is required by deb-mock and provides the minimal filesystem
structure needed for chroot operations.
Package: deb-mock-configs
Architecture: all
Depends: ${misc:Depends}, deb-mock
Description: Pre-built configurations for different distributions
This package provides pre-built configurations for various Debian and Ubuntu
distributions and architectures. It includes distribution-specific settings,
architecture-specific configurations, and default build configurations.
.
Configurations are provided for:
* Debian (bookworm, trixie, sid)
* Ubuntu (jammy, noble)
* Multiple architectures (amd64, arm64, etc.)
Package: deb-mock-plugins
Architecture: all
Depends: ${misc:Depends}, deb-mock, python3-click
Description: Extended functionality through plugins for deb-mock
This package provides built-in plugins and extended functionality for
deb-mock. It includes caching plugins, performance optimization tools,
and various utility plugins that enhance the build process.
.
Plugins include:
* Caching and optimization plugins
* Build enhancement tools
* Debugging and monitoring plugins
* Custom build hooks
Package: deb-mock-dev
Architecture: all
Depends: ${misc:Depends}, deb-mock, python3-dev
Description: Development tools and headers for deb-mock
This package provides development tools, API documentation, and headers
needed for developing plugins and extending deb-mock functionality.
.
Contents include:
* Development headers and API documentation
* Plugin development tools
* Testing utilities
* Development examples
Package: deb-mock-cache
Architecture: all
Depends: ${misc:Depends}, deb-mock, ccache
Recommends: deb-mock-plugins
Description: Advanced caching and optimization for deb-mock
This package provides advanced caching capabilities and performance
optimization tools for deb-mock. It includes ccache integration,
build artifact caching, and various performance optimization plugins.
.
Features include:
* Compiler cache integration
* Build artifact caching
* Performance monitoring
* Optimization utilities

11
debian/deb-mock-cache.install vendored Normal file
View file

@ -0,0 +1,11 @@
# Caching plugins
cache-plugins/ /usr/share/deb-mock/cache-plugins/
# Cache configuration
cache.d/ /etc/deb-mock/cache.d/
# Cache utilities
cache-utils/mock-cache-clean /usr/bin/
# Cache documentation
docs/cache/ /usr/share/doc/deb-mock-cache/

8
debian/deb-mock-configs.install vendored Normal file
View file

@ -0,0 +1,8 @@
# Distribution configurations
deb_mock/configs/ /usr/share/deb-mock/configs/
# Configuration templates
configs/ /usr/share/deb-mock/configs/
# Default configurations
default-configs/ /etc/deb-mock/configs/

14
debian/deb-mock-dev.install vendored Normal file
View file

@ -0,0 +1,14 @@
# Development tools
dev/ /usr/share/deb-mock/dev/
# API documentation
docs/api/ /usr/share/doc/deb-mock-dev/
# Development examples
examples/ /usr/share/doc/deb-mock-dev/examples/
# Development headers
include/ /usr/include/deb-mock/
# Development scripts
scripts/dev/ /usr/bin/

9
debian/deb-mock-filesystem.install vendored Normal file
View file

@ -0,0 +1,9 @@
# Filesystem layout and chroot structure
filesystem/ /usr/share/deb-mock/filesystem/
templates/ /usr/share/deb-mock/templates/
# Chroot configuration
chroot.d/ /etc/deb-mock/chroot.d/
# Mount point definitions
mounts/ /usr/share/deb-mock/mounts/

8
debian/deb-mock-plugins.install vendored Normal file
View file

@ -0,0 +1,8 @@
# Plugin modules
deb_mock/plugins/ /usr/lib/python3/dist-packages/deb_mock/plugins/
# Plugin configurations
plugins/ /usr/share/deb-mock/plugins/
# Plugin documentation
docs/plugins/ /usr/share/doc/deb-mock-plugins/

23
debian/deb-mock.install vendored Normal file
View file

@ -0,0 +1,23 @@
# Core deb-mock package files
deb_mock/ /usr/lib/python3/dist-packages/
deb_mock/__init__.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/api.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/core.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/cli.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/config.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/chroot.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/sbuild.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/plugin.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/environment_manager.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/exceptions.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/metadata.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/performance.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/benchmarking.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/cache.py /usr/lib/python3/dist-packages/deb_mock/
deb_mock/uid_manager.py /usr/lib/python3/dist-packages/deb_mock/
# Main executable
bin/mock /usr/bin/
# Configuration files
config.yaml /etc/deb-mock/