Commit graph

7 commits

Author SHA1 Message Date
3e40c891cc Fix Rust compiler SIGSEGV during Debian builds
- Add .cargo/config.toml with safer optimization flags
- Override aggressive Debian build flags that cause crashes
- Change opt-level from 3 to 2 for stability
- Disable LTO (Link Time Optimization) to prevent crashes
- Use multiple codegen units (16) instead of single unit (1)
- Update debian/rules to respect safer Cargo configuration
- Fixes regex-automata compilation crashes in CI/CD
- Project now builds successfully with safer optimization settings
2025-08-18 12:14:48 -07:00
3dec23f8f7 Fix YAML linting issues and update system requirements to Debian 13+
- Fix trailing spaces and blank lines in Forgejo workflows
- Update system requirements from Ubuntu Jammy/Bookworm to Debian 13+ (Trixie)
- Update test treefile to use Debian Trixie instead of Ubuntu Jammy
- Update documentation to reflect modern system requirements
- Fix yamllint errors for CI/CD functionality
- Ensure compatibility with modern OSTree and libapt versions
2025-08-18 11:39:58 -07:00
306a68b89a fix: Resolve compilation errors in parallel and cache modules
- Fix parallel execution logic to properly handle JoinHandle<Result<R, E>> types
- Use join_all instead of try_join_all for proper Result handling
- Fix double question mark (??) issue in parallel execution methods
- Clean up unused imports in parallel and cache modules
- Ensure all performance optimization modules compile successfully
- Fix CI build failures caused by compilation errors
2025-08-16 15:10:00 -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
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