feat: implement git repository management

- 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
This commit is contained in:
Fusion
2026-05-18 15:47:42 +02:00
parent b179319601
commit 4e2edb1d93
27 changed files with 623 additions and 23 deletions
+5
View File
@@ -1,5 +1,7 @@
import { useCallback, useEffect, useState } from "react";
import { Link } from "react-router-dom";
import {
createProject,
deleteProject,
@@ -134,6 +136,9 @@ export const ProjectsPage = () => {
{project.description && <p className="muted">{project.description}</p>}
</div>
<div className="project-actions">
<Link className="ghost-button" to={`/projects/${project.id}/repositories`}>
Repositories
</Link>
<button
className="ghost-button"
onClick={() => openEdit(project)}