feat: Add a comprehensive development plan for new mobile app features and infrastructure, updating issue creation tooling.
This commit is contained in:
2
Makefile
2
Makefile
@@ -292,7 +292,7 @@ export-issues:
|
|||||||
|
|
||||||
create-issues-from-file:
|
create-issues-from-file:
|
||||||
@echo "--> Creating GitHub issues from file..."
|
@echo "--> Creating GitHub issues from file..."
|
||||||
@./scripts/create_issues.py
|
@./scripts/create_issues.py $(ARGS)
|
||||||
|
|
||||||
# --- Development Tools ---
|
# --- Development Tools ---
|
||||||
install-git-hooks:
|
install-git-hooks:
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# 🚀 [CATEGORY] <Task Title>
|
||||||
|
Labels: <category>, <platform>, <priority>, sred-eligible
|
||||||
|
|
||||||
|
### 🎯 Objective
|
||||||
|
<Describe what will be built, added, or modified. State the purpose and outcome.>
|
||||||
|
|
||||||
|
### 🔬 SR&ED Justification
|
||||||
|
|
||||||
|
#### Technological Uncertainty
|
||||||
|
<Explain the specific technical unknowns. What is difficult? What must be discovered?>
|
||||||
|
|
||||||
|
#### Systematic Investigation
|
||||||
|
<Describe experiments, prototypes, or iterations needed to determine the optimal solution.>
|
||||||
|
|
||||||
|
### ✅ Acceptance Criteria
|
||||||
|
- [ ] <Criteria 1>
|
||||||
|
- [ ] <Criteria 2>
|
||||||
|
- [ ] <Criteria 3>
|
||||||
|
|||||||
@@ -2,18 +2,21 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import argparse
|
||||||
|
|
||||||
# --- Configuration ---
|
# --- Configuration ---
|
||||||
INPUT_FILE = "issues-to-create.md"
|
INPUT_FILE = "issues-to-create.md"
|
||||||
PROJECT_TITLE = "Krow"
|
DEFAULT_PROJECT_TITLE = "Krow"
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
def create_issue(title, body, labels, milestone):
|
def create_issue(title, body, labels, milestone, project_title=None):
|
||||||
"""Creates a GitHub issue using the gh CLI."""
|
"""Creates a GitHub issue using the gh CLI."""
|
||||||
command = ["gh", "issue", "create"]
|
command = ["gh", "issue", "create"]
|
||||||
command.extend(["--title", title])
|
command.extend(["--title", title])
|
||||||
command.extend(["--body", body])
|
command.extend(["--body", body])
|
||||||
command.extend(["--project", PROJECT_TITLE])
|
|
||||||
|
if project_title:
|
||||||
|
command.extend(["--project", project_title])
|
||||||
|
|
||||||
if milestone:
|
if milestone:
|
||||||
command.extend(["--milestone", milestone])
|
command.extend(["--milestone", milestone])
|
||||||
@@ -33,7 +36,18 @@ def create_issue(title, body, labels, milestone):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""Main function to parse the file and create issues."""
|
"""Main function to parse the file and create issues."""
|
||||||
|
parser = argparse.ArgumentParser(description="Bulk create GitHub issues from a markdown file.")
|
||||||
|
parser.add_argument("--project", default=DEFAULT_PROJECT_TITLE, help="GitHub Project title to add issues to.")
|
||||||
|
parser.add_argument("--no-project", action="store_true", help="Do not add issues to any project.")
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
project_title = args.project if not args.no_project else None
|
||||||
|
|
||||||
print(f"🚀 Starting bulk creation of GitHub issues from '{INPUT_FILE}'...")
|
print(f"🚀 Starting bulk creation of GitHub issues from '{INPUT_FILE}'...")
|
||||||
|
if project_title:
|
||||||
|
print(f" Target Project: '{project_title}'")
|
||||||
|
else:
|
||||||
|
print(" Target Project: (None)")
|
||||||
|
|
||||||
if subprocess.run(["which", "gh"], capture_output=True).returncode != 0:
|
if subprocess.run(["which", "gh"], capture_output=True).returncode != 0:
|
||||||
print("❌ ERROR: GitHub CLI (‘gh’) is not installed.")
|
print("❌ ERROR: GitHub CLI (‘gh’) is not installed.")
|
||||||
@@ -84,7 +98,7 @@ def main():
|
|||||||
print("⚠️ Skipping block with no title.")
|
print("⚠️ Skipping block with no title.")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
create_issue(title, body, labels, milestone)
|
create_issue(title, body, labels, milestone, project_title)
|
||||||
|
|
||||||
print("\n🎉 Bulk issue creation complete!")
|
print("\n🎉 Bulk issue creation complete!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user