feat: add changelog, docs, and update various scripts for modular CLI milestone
Some checks failed
Compile apt-layer (v2) / compile (push) Failing after 3h13m50s
Some checks failed
Compile apt-layer (v2) / compile (push) Failing after 3h13m50s
This commit is contained in:
parent
b83fa060e2
commit
4f00e140a3
10 changed files with 26 additions and 3 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
|
@ -9,6 +9,12 @@
|
||||||
- `quick_test.py` - Quick validation script for basic functionality
|
- `quick_test.py` - Quick validation script for basic functionality
|
||||||
- Support for verbose output, JSON output, and specific test categories
|
- Support for verbose output, JSON output, and specific test categories
|
||||||
- **100% SUCCESS RATE ACHIEVED** - All 24 integration tests passing
|
- **100% SUCCESS RATE ACHIEVED** - All 24 integration tests passing
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
- Modularized all CLI commands into separate modules under `client/commands/`.
|
||||||
|
- Each command module now exports `setup_parser` and `run` functions for consistency.
|
||||||
|
- Comprehensive test script for client CLI refactor.
|
||||||
|
>>>>>>> 9070ae3 (feat: add changelog, docs, and update various scripts for modular CLI milestone)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- **D-Bus Method Registration**: Added missing methods to AptOstreeSysrootInterface
|
- **D-Bus Method Registration**: Added missing methods to AptOstreeSysrootInterface
|
||||||
|
|
@ -40,6 +46,14 @@
|
||||||
- ✅ Error Handling (2/2 tests)
|
- ✅ Error Handling (2/2 tests)
|
||||||
- ✅ Performance (2/2 tests)
|
- ✅ Performance (2/2 tests)
|
||||||
- ✅ Security (1/1 test)
|
- ✅ Security (1/1 test)
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
- Updated `client/main.py` to delegate to command modules and use new D-Bus interface.
|
||||||
|
- Fixed imports in `client/commands/__init__.py` to import modules, not symbols.
|
||||||
|
- Standardized command execution function to `run` in all modules.
|
||||||
|
- Updated D-Bus mocks in tests to return dicts, not JSON strings.
|
||||||
|
- Fixed test script to call `module.run()` and check for both `run` and `setup_parser`.
|
||||||
|
>>>>>>> 9070ae3 (feat: add changelog, docs, and update various scripts for modular CLI milestone)
|
||||||
|
|
||||||
### Technical Details
|
### Technical Details
|
||||||
- **Test Infrastructure**: Production-ready testing framework with proper error handling
|
- **Test Infrastructure**: Production-ready testing framework with proper error handling
|
||||||
|
|
|
||||||
15
TODO.md
15
TODO.md
|
|
@ -1,7 +1,10 @@
|
||||||
# Particle-OS Tools TODO
|
# TODO
|
||||||
|
|
||||||
## Completed ✅
|
## Completed
|
||||||
|
- Refactor CLI to modular command structure (each command in its own module, with run/setup_parser)
|
||||||
|
- Fix imports and test script for modular pattern
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
- ✅ **Systemd Service Name Consistency**: Renamed and updated all references from `apt-ostree.service` to `apt-ostreed.service` for correct systemd and D-Bus integration
|
- ✅ **Systemd Service Name Consistency**: Renamed and updated all references from `apt-ostree.service` to `apt-ostreed.service` for correct systemd and D-Bus integration
|
||||||
- ✅ **D-Bus Signal Emission**: Fixed all dbus-next signal emission calls to use direct function calls instead of `.emit()`, resolving 'function object has no attribute emit' errors
|
- ✅ **D-Bus Signal Emission**: Fixed all dbus-next signal emission calls to use direct function calls instead of `.emit()`, resolving 'function object has no attribute emit' errors
|
||||||
- ✅ **apt-layer.sh Integration**: Updated apt-layer.sh and related scriptlets to use the correct service name and ensure proper daemon status detection and management
|
- ✅ **apt-layer.sh Integration**: Updated apt-layer.sh and related scriptlets to use the correct service name and ensure proper daemon status detection and management
|
||||||
|
|
@ -474,4 +477,10 @@
|
||||||
- **Root Privileges**: ✅ Confirmed working for daemon operations
|
- **Root Privileges**: ✅ Confirmed working for daemon operations
|
||||||
- **OSTree Dependency**: ✅ Installed and working
|
- **OSTree Dependency**: ✅ Installed and working
|
||||||
- **D-Bus Properties**: ✅ All serialization issues resolved
|
- **D-Bus Properties**: ✅ All serialization issues resolved
|
||||||
- **Daemon Startup**: ✅ Successfully starting and publishing interfaces
|
- **Daemon Startup**: ✅ Successfully starting and publishing interfaces
|
||||||
|
=======
|
||||||
|
## In Progress / Next Steps
|
||||||
|
- Write integration tests for the CLI and daemon (real D-Bus communication)
|
||||||
|
- Begin work on single-binary packaging for apt-ostree (PyInstaller, shiv, or pex)
|
||||||
|
- Expand and update documentation for the new modular CLI and developer onboarding
|
||||||
|
>>>>>>> 9070ae3 (feat: add changelog, docs, and update various scripts for modular CLI milestone)
|
||||||
|
|
|
||||||
0
apt-layer.sh
Executable file → Normal file
0
apt-layer.sh
Executable file → Normal file
0
restart_daemon.sh
Executable file → Normal file
0
restart_daemon.sh
Executable file → Normal file
0
run_integration_tests.sh
Executable file → Normal file
0
run_integration_tests.sh
Executable file → Normal file
0
src/apt-layer/compile-installer.sh
Executable file → Normal file
0
src/apt-layer/compile-installer.sh
Executable file → Normal file
0
src/apt-layer/compile.sh
Executable file → Normal file
0
src/apt-layer/compile.sh
Executable file → Normal file
0
test_dbus_methods.sh
Executable file → Normal file
0
test_dbus_methods.sh
Executable file → Normal file
0
test_dbus_signals.sh
Executable file → Normal file
0
test_dbus_signals.sh
Executable file → Normal file
0
update_daemon.sh
Executable file → Normal file
0
update_daemon.sh
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue