4e2edb1d93
- Add backend API for git repository CRUD (create, list, delete) - Support bare repository initialization and mirror cloning - Add cascade delete for repositories when project is deleted - Add frontend page for repository management per project - Update project page with link to repositories - Add repo_base_path to config - Quality gates: ruff, mypy, typecheck, lint, build all pass
958 B
958 B
1. Backend SSH Key API
- 1.1 Create
apps/api/src/api/ssh_keys.pywith endpoints for list, generate, and delete SSH keys. - 1.2 Implement Ed25519 key generation using cryptography library.
- 1.3 Implement Fernet encryption for private keys.
- 1.4 Add Pydantic schemas for SSHKeyCreate, SSHKeyResponse.
- 1.5 Register ssh_keys router in
apps/api/src/main.py. - 1.6 Add backend tests for SSH key CRUD operations.
2. Frontend SSH Keys Page
- 2.1 Create
apps/web/src/api/ssh_keys.tswith API methods. - 2.2 Create
apps/web/src/pages/ssh-keys.tsxwith key list, generate form, and delete action. - 2.3 Add
/ssh-keysroute inapps/web/src/router.tsx. - 2.4 Update app shell navigation to include SSH keys link.
3. Verification
- 3.1 Run backend checks (pytest, ruff, mypy).
- 3.2 Run frontend checks (npm test, typecheck, lint, build).
- 3.3 Update tasks file with completed checkboxes.