1.1 KiB
1.1 KiB
Pipeline — Up Next
Phase 1: Backend — Forgejo API Integration
- Forgejo API client service (
backend/app/services/forgejo_client.py) - DB models:
ForgejoConnection,ForgejoRepository,ForgejoIssue(labels cached on issues) - Alembic migration for new models
- API endpoints:
/api/v1/forgejo/repositories,/api/v1/forgejo/issues - Config via Forgejo connection/repository CRUD
- On-demand repository sync endpoint:
POST /api/v1/forgejo/repositories/{repository_id}/sync - Scheduled sync (background task or cron)
Phase 2: Frontend — Issues Panel
- New "Issues" sidebar link and route (
/git-projects/issues) - Issue list page with repo/state/search filters
- Label/priority filters
- Issue detail page
- "Create Task from Issue" button
Phase 3: Task Integration
- Link tasks to Forgejo issues (foreign key on task)
- Task detail view shows linked issue info
- Dashboard issue count widgets
Phase 4: Polish
- Forgejo webhook for cached issue updates
- Issue status sync (open/closed)
- Auto-archive closed issues