-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautomate_github.sh
More file actions
executable file
·61 lines (50 loc) · 1.76 KB
/
automate_github.sh
File metadata and controls
executable file
·61 lines (50 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# GitHub Automation Script
# Run after: gh auth login
set -e
cd ~/Desktop/camera_system_incremental
echo "Creating pull request for documentation updates..."
gh pr create \
--repo andrc1/GERTIE \
--base main \
--head update-documentation \
--title "docs: Update README and add issue templates" \
--body "Updates documentation with USB deployment workflow and P0 issue templates"
echo ""
echo "Merging pull request..."
gh pr merge update-documentation --repo andrc1/GERTIE --squash --delete-branch
echo ""
echo "Creating P0 issues..."
# Issue 1: WYSIWYG
gh issue create \
--repo andrc1/GERTIE \
--title "[P0] WYSIWYG: Preview aspect ratio doesn't match capture" \
--label "P0-blocker,WYSIWYG,bug" \
--body-file .github/ISSUE_TEMPLATE/p0-wysiwyg.md
# Issue 2: Time Sync
gh issue create \
--repo andrc1/GERTIE \
--title "[P0] Time sync: Cameras have different clock times" \
--label "P0-blocker,system,enhancement" \
--body-file .github/ISSUE_TEMPLATE/p0-time-sync.md
# Issue 3: Telemetry
gh issue create \
--repo andrc1/GERTIE \
--title "[P0] Telemetry: Need complete capture logging system" \
--label "P0-blocker,logging,enhancement" \
--body-file .github/ISSUE_TEMPLATE/p0-telemetry.md
# Issue 4: Lag
gh issue create \
--repo andrc1/GERTIE \
--title "[P0] Performance: 5-10 second lag on operations" \
--label "P0-blocker,performance,bug" \
--body-file .github/ISSUE_TEMPLATE/p0-lag-reduction.md
# Issue 5: Reliability
gh issue create \
--repo andrc1/GERTIE \
--title "[P0] Reliability: Random camera capture failures" \
--label "P0-blocker,reliability,bug" \
--body-file .github/ISSUE_TEMPLATE/p0-capture-reliability.md
echo ""
echo "✅ All GitHub tasks complete!"
echo "View issues: https://github.com/andrc1/GERTIE/issues"