Files
harbor/ROADMAP.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

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 --version flag
  • Add --quiet mode 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:

  • labels command - manage artifact labels
  • copy command - copy artifact between repos
  • gc command - show garbage collection status
  • replication command - list replication rules/executions
  • quota command - show project quota usage
  • audit command - 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:

  • system command - version, auth mode, storage volumes
  • gc command - schedule, history, manual trigger
  • gc-run command - trigger GC with dry-run/wait
  • users command - list users with pagination
  • user-create command - create local user
  • user-delete command - delete user
  • user-admin command - grant/revoke admin privileges
  • user-passwd command - reset user password
  • audit command - view audit logs with filters
  • audit-purge command - purge old audit logs
  • cve-allow command - manage system CVE allowlist
  • scan-all command - 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.