chore: archive git-repo-management change

This commit is contained in:
Fusion
2026-05-18 15:48:27 +02:00
parent 4e2edb1d93
commit 9f7a750898
5 changed files with 170 additions and 0 deletions
@@ -0,0 +1,25 @@
## Why
Projects exist but users cannot create or manage git repositories. The platform needs to allow users to create bare repositories, clone external ones, and manage them within projects.
## What Changes
- Add backend API for git repository CRUD operations
- Implement bare repository initialization on disk
- Support cloning external repositories as mirrors
- Add frontend page for repository management
- Integrate with existing project structure
## Capabilities
### New Capabilities
- `git-repo-management`: Full git repository lifecycle within projects
### Modified Capabilities
- `project-management`: Include repositories in project responses
## Impact
- New API endpoints under `/projects/{id}/repositories`
- Disk storage at `/data/repos/{user_id}/{project_id}/{repo_name}.git`
- Frontend repository list and creation UI