All checks were successful
CI / Lint & Check (push) Successful in 11s
Phase 6 implementation: - system: version, auth mode, storage volumes - gc, gc-run: schedule, history, manual trigger - users, user-create, user-delete, user-admin, user-passwd - audit, audit-purge: view and purge audit logs - cve-allow: manage system CVE allowlist - scan-all: trigger system-wide vulnerability scan Helpers: paginated_request(), confirm_action(), format_size()
2.5 KiB
2.5 KiB
Roadmap
Phase 1: Foundation (Complete)
Core functionality implemented:
- Project listing
- Repository listing
- Artifact listing and details
- Vulnerability display with filtering
- Scan triggering with wait
- Tag management
- SBOM retrieval
- Artifact/tag deletion
- Project configuration
- CI pipeline (syntax + lint)
- Modular package structure (
src/harbor/)
Phase 2: Quality
Code quality and maintainability improvements:
- Add type hints throughout
- Modular code organization
- Add unit tests for core functions
- Add integration tests (mock API)
- Improve error messages
- Add
--versionflag - Add
--quietmode for scripting
Phase 3: Output
Terminal output improvements:
- Unicode status indicators
- Color output (with NO_COLOR support)
- Table alignment fixes
- Progress indicators for long operations
- JSON output mode for all commands
Phase 4: Features
Additional functionality:
labelscommand - manage artifact labelscopycommand - copy artifact between reposgccommand - show garbage collection statusreplicationcommand - list replication rules/executionsquotacommand - show project quota usageauditcommand - show audit logs- Partial digest tab completion
Phase 5: Distribution
Packaging and distribution:
- pyproject.toml with entry points
- Installable package (
pip install .) - Man page generation
- Shell completions (bash/zsh/fish)
Phase 6: Admin (Complete)
Admin capabilities for Harbor system management:
systemcommand - version, auth mode, storage volumesgccommand - schedule, history, manual triggergc-runcommand - trigger GC with dry-run/waituserscommand - list users with paginationuser-createcommand - create local useruser-deletecommand - delete useruser-admincommand - grant/revoke admin privilegesuser-passwdcommand - reset user passwordauditcommand - view audit logs with filtersaudit-purgecommand - purge old audit logscve-allowcommand - manage system CVE allowlistscan-allcommand - trigger system-wide vulnerability scan
Dependencies
Phase 1 (done) ──> Phase 2 ─┬─> Phase 3
├─> Phase 4 ──> Phase 5
└─> Phase 6 (done)
Phase 3, 4, and 6 can proceed in parallel after Phase 2.