Files
harbor/TASKLIST.md
Username 969f0a5207
All checks were successful
CI / Lint & Check (push) Successful in 11s
add admin commands for system, users, gc, audit, security
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()
2026-01-18 19:10:47 +01:00

53 lines
1.6 KiB
Markdown

# Task List
Active, prioritized work items.
## In Progress
(none)
## Next Up
| # | Task | Notes |
|---|------|-------|
| 1 | Unit tests for `client.resolve_digest()` | Core function, good test candidate |
| 2 | Unit tests for `client.build_url()` | Simple, deterministic |
| 3 | Mock API tests for `commands.cmd_projects()` | Start with simplest command |
| 4 | Unicode status symbols in output | Replace dashes with box-drawing |
| 5 | Add `--quiet` mode for scripting | Suppress headers, minimal output |
## Backlog
| Task | Phase |
|------|-------|
| ANSI color support (with NO_COLOR) | 3 |
| JSON output mode for all commands | 3 |
| `labels` command | 4 |
| `copy` command | 4 |
| `quota` command | 4 |
| `replication` command | 4 |
| pyproject.toml with entry points | 5 |
| Shell completions | 5 |
| `registries` command | deferred |
| `groups` command (LDAP/OIDC) | deferred |
## Completed
- [x] Initial implementation
- [x] CI pipeline setup
- [x] Empty response body handling fix
- [x] README documentation
- [x] PROJECT.md, ROADMAP.md, TODO.md created
- [x] Type hints for `api_request()` and `load_credentials()`
- [x] `--version` flag (`-V`)
- [x] `build_url()` helper function
- [x] `--verify-ssl` flag for SSL certificate verification
- [x] Modular package structure (`src/harbor/`)
- [x] Documentation updated for new structure
- [x] Phase 6: Admin commands (v0.1.3)
- `system`, `gc`, `gc-run`, `users`
- `user-create`, `user-delete`, `user-admin`, `user-passwd`
- `audit`, `audit-purge`, `cve-allow`, `scan-all`
- `paginated_request()` helper
- `confirm_action()`, `format_size()`, `format_timestamp()` helpers