44 lines
1.6 KiB
Markdown
44 lines
1.6 KiB
Markdown
---
|
|
description: 프로젝트 전체 작업 현황을 종합 체크하는 워크플로우 (Git + Vikunja + 로컬)
|
|
---
|
|
|
|
# 프로젝트 현황 종합 체크
|
|
|
|
"작업상황 체크", "현황 확인", "status check" 등 요청 시 이 워크플로우를 실행합니다.
|
|
|
|
// turbo-all
|
|
|
|
## 절차
|
|
|
|
1. Git 로컬 상태 확인:
|
|
```powershell
|
|
git -C "c:\Users\CafeVariet-GL552VW\Desktop\source_diff\variet-agent" status --short
|
|
```
|
|
```powershell
|
|
git -C "c:\Users\CafeVariet-GL552VW\Desktop\source_diff\variet-agent" log --oneline -5
|
|
```
|
|
|
|
2. Vikunja 태스크 현황 조회:
|
|
```powershell
|
|
$h = @{Authorization="Bearer tk_070f8e0b715e818bb7178c3815ed5389040eddca"}
|
|
$tasks = Invoke-RestMethod -Uri "https://plan.variet.net/api/v1/projects/7/tasks?per_page=50" -Headers $h
|
|
$todo = $tasks | Where-Object { -not $_.done }
|
|
$done = $tasks | Where-Object { $_.done }
|
|
Write-Host "=== Vikunja: TODO $($todo.Count), DONE $($done.Count) ==="
|
|
$todo | ForEach-Object { Write-Host " #$($_.id) $($_.title)" }
|
|
```
|
|
|
|
3. Gitea 최근 커밋 확인 (리모트):
|
|
```powershell
|
|
$h = @{Authorization="token 3a01b4b15a39921572e64c413353e870d4d2161b"}
|
|
$commits = Invoke-RestMethod -Uri "https://git.variet.net/api/v1/repos/Variet/variet-agent/commits?limit=5&sha=main" -Headers $h
|
|
Write-Host "=== Gitea: Recent Commits ==="
|
|
$commits | ForEach-Object { Write-Host " $($_.sha.Substring(0,7)) $($_.commit.message.Split("`n")[0])" }
|
|
```
|
|
|
|
4. 결과를 종합하여 사용자에게 보고:
|
|
- 로컬 uncommitted 변경 여부
|
|
- 로컬 vs 리모트 커밋 차이
|
|
- TODO 태스크 목록 + 우선순위
|
|
- 다음 작업 제안
|