Claude
|
7d40abd593
|
Add GitHub Issues import script
Created automated script to convert markdown issue documentation
into GitHub Issues with proper labels and formatting.
## What's Added
### Script: scripts/import-github-issues.js
- Parses docs/issues/*.md files
- Creates GitHub Issues via Octokit API
- Adds proper labels (P0/P1/P2, bug, feature, etc.)
- Rate-limited to respect GitHub API limits
- Comprehensive error handling
### Documentation: scripts/README.md
- Complete setup instructions
- Troubleshooting guide
- Customization options
- Advanced usage examples
### Dependencies
- Added @octokit/rest for GitHub API access
## How to Use
1. Get GitHub Personal Access Token:
- Visit https://github.com/settings/tokens
- Create token with 'repo' scope
2. Set token:
```bash
export GITHUB_TOKEN=your_token_here
```
3. Run script:
```bash
node scripts/import-github-issues.js
```
## What Gets Created
The script will create 25 GitHub Issues:
- 5 P0 (critical) issues
- 5 P1 (medium priority) issues
- 15 P2 (nice-to-have) issues
Each with:
- Proper title with priority prefix
- Full markdown body
- Appropriate labels
- File references intact
## Labels Created
- P0 (red) - Critical priority
- P1 (orange) - Medium priority
- P2 (yellow) - Low priority
- bug, feature, enhancement, tech-debt, security
See scripts/README.md for full documentation.
|
2026-01-03 09:11:22 +00:00 |
|