feat: Implement comprehensive Debian packaging improvements and enhanced CI workflow

- Enhanced Package Information: Expanded PackageInfo struct with 23 fields including section, priority, maintainer, homepage, size, dependencies, and more
- Real Package Data Extraction: Integrated dpkg and apt-cache for actual package information instead of mock data
- Professional Debian Packaging: Added man pages, shell completions, postinst/prerm scripts, triggers, and lintian overrides
- Enhanced Build System: Improved debian/rules with cross-compilation support, enhanced build.sh with options and validation
- CI Workflow Updates: Added missing build dependencies, enhanced package validation, lintian quality checks, and comprehensive reporting
- Quality Assurance: Added lintian validation, enhanced file checking, and professional packaging standards
- Documentation: Comprehensive README.Debian with build instructions and troubleshooting guide

Resolves mock package issues and provides production-ready Debian packaging infrastructure.
This commit is contained in:
joe 2025-08-15 14:05:37 -07:00
parent 313f142c86
commit 76467ece47
21 changed files with 1590 additions and 152 deletions

27
debian/local-options vendored Normal file
View file

@ -0,0 +1,27 @@
# Local build options for apt-ostree
# This file contains options for local development builds
# It should not be committed to version control
# Enable verbose output during build
export DH_VERBOSE = 1
# Enable parallel builds
export MAKEFLAGS = -j$(nproc)
# Enable debug symbols in release builds
export CARGO_PROFILE_RELEASE_DEBUG = 1
# Enable backtraces for better error reporting
export RUST_BACKTRACE = 1
# Set log level for debugging
export APT_OSTREE_LOG_LEVEL = debug
# Enable additional Rust features for development
export CARGO_FEATURES = dev-tools
# Disable optimization for faster builds during development
export CARGO_PROFILE_RELEASE_OPT_LEVEL = 0
# Enable incremental compilation
export CARGO_INCREMENTAL = 1