- Update stage documentation and comments to use 'mock' instead of 'deb-mock'
- Fix import statements to use 'from mock import' instead of 'from deb_mock import'
- Update error messages to reference 'mock package' instead of 'deb-mock package'
- Update test script to check for 'mock' availability instead of 'deb-mock'
- Update documentation to reflect correct naming convention
- All tests still pass with corrected naming
The 'deb-mock' name was deprecated and the package is now simply called 'mock'.
This update ensures our integration uses the correct, current naming.
Status: All tests passing (100% success rate)
Impact: Corrected naming convention for production readiness
- Implemented org.osbuild.deb-mock stage:
- Full deb-mock API integration with MockAPIClient
- Environment lifecycle management (create, destroy, execute, copy, collect)
- Comprehensive configuration options and error handling
- Support for all deb-mock features (caching, parallel jobs, debugging)
- Created org.osbuild.apt.mock stage:
- APT package management within mock chroot environments
- Full feature parity with regular APT stage
- Advanced features: pinning, holds, priorities, specific versions
- Repository configuration and package installation
- Added comprehensive example manifests:
- debian-mock-build.json - Complete build workflow
- debian-mock-apt-integration.json - APT integration example
- debian-mock-apt-example.json - Advanced APT features
- Created comprehensive documentation:
- mock-integration-guide.md - Complete integration guide
- Best practices, troubleshooting, and CI/CD examples
- Multi-architecture build examples
- Implemented test framework:
- scripts/test-mock-integration.sh - Comprehensive test suite
- Tests for all mock functionality and error scenarios
- Validation of schemas and manifest examples
- Updated todo.txt with Phase 8.1 completion status
- All stages compile and validate correctly
- Ready for production use with deb-mock integration
debian-forge now has full mock integration capabilities! 🎉