particle-os-schema/todo.txt
2025-08-27 19:42:32 -07:00

98 lines
3.4 KiB
Text

# Blue-Build Schema Debian Support Tasks
## Overview
This file contains tasks specific to the blue-build-schema project for adding Debian support.
## Current Status
✅ **COMPLETED**: Created apt.tsp schema (replaces dnf.tsp)
✅ **COMPLETED**: Created apt-ostree.tsp schema (replaces rpm-ostree.tsp)
✅ **COMPLETED**: Updated main.tsp with Debian support
✅ **COMPLETED**: Updated modules/index.tsp with new schemas
✅ **COMPLETED**: Added Debian base image documentation
✅ **COMPLETED**: Added Debian version support documentation
## Remaining Tasks
### Schema Validation (HIGH PRIORITY) ( Untested )
- [ ] Test apt.tsp schema validation
- [ ] Test apt-ostree.tsp schema validation
- [ ] Test main.tsp schema validation
- [ ] Validate schema compatibility with existing modules
- [ ] Test schema generation and JSON output
### Schema Testing ( Untested )
- [ ] Test schema with valid Debian configurations
- [ ] Test schema with invalid configurations (error handling)
- [ ] Test schema with edge cases
- [ ] Validate schema against example recipes
- [ ] Test schema versioning and backward compatibility
### Schema Generation
- [ ] Generate JSON schemas from TypeScript definitions
- [ ] Validate generated schemas
- [ ] Test schema loading in validation tools
- [ ] Verify schema documentation generation
- [ ] Test schema integration with build tools
### Documentation Updates
- [ ] Update blue-build-schema/README.md with Debian support
- [ ] Add Debian-specific schema examples
- [ ] Document schema validation rules
- [ ] Create schema migration guide
- [ ] Add Debian-specific field documentation
### Integration Testing
- [ ] Test schema integration with blue-build-cli
- [ ] Test schema integration with blue-build-modules
- [ ] Validate schema in end-to-end builds
- [ ] Test schema error reporting
- [ ] Verify schema validation in module execution
### Advanced Schema Features
- [ ] Add Debian-specific validation rules
- [ ] Implement conditional schema validation
- [ ] Add Debian version compatibility checking
- [ ] Support for Debian-specific field types
- [ ] Add schema migration tools
## Schema-Specific Tasks
### apt.tsp Schema
- [ ] Validate PPA repository field definitions
- [ ] Test backports field validation
- [ ] Verify task-install field structure
- [ ] Test package specification validation
- [ ] Validate repository cleanup field
### apt-ostree.tsp Schema
- [ ] Test ostree-specific field validation
- [ ] Validate package replacement structure
- [ ] Test repository field definitions
- [ ] Verify key management fields
- [ ] Test optfix field validation
### Main Schema Updates
- [ ] Validate Debian base image references
- [ ] Test Debian version field handling
- [ ] Verify platform support for Debian
- [ ] Test module compatibility validation
- [ ] Validate Debian-specific documentation
## Build and Testing
- [ ] Build TypeScript schemas
- [ ] Run schema validation tests
- [ ] Test schema generation pipeline
- [ ] Validate schema output format
- [ ] Test schema versioning
## Dependencies
- TypeScript compiler must be available
- Schema generation tools must be functional
- Validation tools must support new schemas
- Integration with other projects must be tested
## Notes
- All core schemas are implemented and ready for validation
- Focus should be on testing and validation
- Schemas maintain compatibility with existing module structure
- TypeScript definitions are complete and ready for use