Commit graph

10 commits

Author SHA1 Message Date
8143799757 Implement exact rpm-ostree command compatibility
- Add all rpm-ostree commands with exact same names and descriptions
- Match rpm-ostree usage format and error messages exactly
- Support both --version/--help flags and subcommand interface
- Add placeholder implementations for all commands (ready for future development)
- Maintain backward compatibility with existing functionality
2025-08-15 18:23:04 -07:00
5fe7b0a519 Fix rpm-ostree compatibility and postinst script issues
- Add --version and --help flags for rpm-ostree compatibility
- Fix postinst script to handle 'triggered' argument properly
- Maintain subcommand interface while adding flag support
- Improve error messages and help text
2025-08-15 18:18:40 -07:00
joe
b4fa6fe1c2 fix: Simplify debian/rules to resolve build errors
- Remove unsupported DEB_HOST_ARCH_GNU_TYPE variable
- Remove invalid --dbg-package=apt-ostree-dbg reference
- Simplify cross-compilation logic to avoid complex conditionals
- Fix binary install path to use standard release target
- Resolves dpkg-architecture and dh_strip errors in CI build

Fixes Debian package build failures in CI workflow.
2025-08-15 15:08:55 -07:00
joe
76467ece47 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.
2025-08-15 14:05:37 -07:00
joe
313f142c86 Update debian build artifacts and packaging files 2025-08-15 08:57:49 -07:00
joe
4ef6d92f6f Fix debian/control syntax error - remove stray comma
- Remove stray comma on line 31 that was causing dpkg-buildpackage to fail
- Fixes 'Parse error in debian/control, line 31, read: ,' error
- Control file now has proper syntax for Debian package building
- Should resolve CI build failure at Debian package creation step
2025-08-13 22:37:41 -07:00
joe
527352ce69 Implement bubblewrap integration for apt-ostree
- Add BubblewrapContainer for secure package operations in staging deployments
- Implement ContainerMutability levels (Immutable, RoFiles, MutateFreely)
- Integrate bubblewrap with apt commands (install, remove, upgrade, update)
- Use bubblewrap instead of chroot for better security (following rpm-ostree pattern)
- Add bubblewrap dependency to debian/control
- Update ostree_integration.rs with actual package operation capabilities
2025-08-13 14:09:45 -07:00
joe
c5d8f5ca01 Major apt-ostree refactor: Simplified architecture, Debian Trixie compatibility
-  Successfully compiled with apt-pkg-native for Debian Trixie compatibility
-  Replaced rust-apt with apt-pkg-native to resolve C++ standard issues
-  Simplified project structure: removed unused binaries, focused on core functionality
-  Basic commands working: help, list, search, info
-  Created apt_compat.rs compatibility layer
-  Updated debian packaging for libapt-pkg7.0 compatibility
-  Removed complex dependencies and simplified main.rs
- 🎯 Next: Implement core package management commands (install, remove, upgrade)
- 🎯 Architecture: Ready for atomic package management with OSTree integration
2025-08-13 13:11:26 -07:00
9f02fe2d69 Build apt-ostree Debian package with libostree 2025.2 compatibility
- Fix compilation errors in src/main.rs and resolve import conflicts
- Add debian/compat file and ensure debian/rules is executable
- Downgrade Cargo.lock to version 3 for compatibility with system cargo
- Create working apt-ostree binary with basic CLI functionality
- Build apt-ostree_0.1.0-1_amd64.deb package (1.1MB)
- Package installs successfully and binary works correctly
- Ensure libostree-1-1 (>= 2025.2) dependency for bootc compatibility
- Test package installation and basic commands (status, version)
2025-07-22 05:45:32 +00:00
9660842092 Getting ready to move out of heavy alpha development. Created ci/cd 2025-07-22 04:43:43 +00:00