26 lines
991 B
Markdown
26 lines
991 B
Markdown
|
|
# Pipeline — Up Next
|
||
|
|
|
||
|
|
## Phase 1: Backend — Forgejo API Integration
|
||
|
|
- [ ] Forgejo API client service (`backend/app/services/forgejo/`)
|
||
|
|
- [ ] DB models: `ForgejoRepo`, `ForgejoIssue`, `ForgejoLabel`
|
||
|
|
- [ ] Alembic migration for new models
|
||
|
|
- [ ] API endpoints: `/api/v1/forgejo/repos`, `/api/v1/forgejo/issues`
|
||
|
|
- [ ] Config: `FORGEJO_URL`, `FORGEJO_TOKEN`, `FORGEJO_REPOS` env vars
|
||
|
|
- [ ] On-demand sync endpoint: `POST /api/v1/forgejo/sync`
|
||
|
|
- [ ] Scheduled sync (background task or cron)
|
||
|
|
|
||
|
|
## Phase 2: Frontend — Issues Panel
|
||
|
|
- [ ] New "Issues" sidebar link and route
|
||
|
|
- [ ] Issue list page with repo/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 real-time updates
|
||
|
|
- [ ] Issue status sync (open/closed)
|
||
|
|
- [ ] Auto-archive closed issues
|