Commit graph

4 commits

Author SHA1 Message Date
ac4987c7d1 Update README to reflect current implementation
- Updated line count from ~260 to ~500 lines
- Removed thiserror dependency reference (only anyhow now)
- Added AptConfig documentation and configuration options
- Updated API documentation with all new methods
- Added configuration usage examples
- Fixed rollback claim (now implemented, not missing)
- Added configuration_usage example reference
- All examples and tests verified working
2025-09-13 11:24:37 -07:00
2daad2837d Major improvements: rollbacks, testing, docs, and code quality
- Fixed rollback implementation with two-phase approach (remove new, downgrade upgraded)
- Added explicit package tracking (newly_installed vs upgraded)
- Implemented graceful error handling with fail-fast approach
- Added comprehensive test suite (20 tests across 3 test files)
- Created centralized APT command execution module (apt_commands.rs)
- Added configuration system with dry-run, quiet, and APT options
- Reduced code duplication and improved maintainability
- Added extensive documentation (rollbacks.md, rollbacks-not-featured.md, ffi-bridge.md)
- Created configuration usage example
- Updated README with crate usage instructions
- All tests passing, clean compilation, production-ready
2025-09-13 11:21:35 -07:00
534c0e87a8 updated readme with instructions on how to use as a crate 2025-09-13 10:12:35 -07:00
7aaefb9957 Initial commit: apt-wrapper - Simple APT transaction wrapper
- Core transaction API with add_package, resolve, commit, rollback
- Version tracking for upgrades/downgrades
- Simple package info with FFI conversion functions
- Comprehensive error handling
- Basic test suite
- Clean, minimal implementation (~326 lines total)
2025-09-13 10:02:01 -07:00