- Fix HTTP 422 errors by using label IDs instead of names - Add silent label creation to prevent stdout pollution in JSON building - Implement smart auto-creation of unknown labels (service-*, priority-*, etc.) - Add safe array handling to prevent bash associative array errors - Create tracking system for new labels (NEW_LABELS_CREATED array) ✅ Fixed: Label creation, issue creation, unknown label handling ⏳ TODO: Auto-update script synchronization when new labels created Status: Issue creation works perfectly, auto-update integration pending
49 lines
No EOL
1.9 KiB
Bash
49 lines
No EOL
1.9 KiB
Bash
#!/bin/bash
|
|
# config/labels.registry
|
|
# Central Label Registry for Furt API Gateway Project
|
|
# Format: name:color:context:usage_contexts
|
|
# This file is the single source of truth for all labels
|
|
|
|
# === CORE WORKFLOW LABELS ===
|
|
service-request:7057ff:new_service:service_templates,status_updates
|
|
enhancement:84b6eb:improvement:all_templates
|
|
bug:d73a4a:error:bug_template,status_updates
|
|
question:d876e3:discussion:question_template
|
|
|
|
# === COMPONENT CATEGORIES ===
|
|
gateway:0052cc:gateway_core:architecture,performance,service_templates
|
|
performance:fbca04:optimization:performance_template,architecture
|
|
architecture:d4c5f9:design:architecture_template,gateway
|
|
security:28a745:security_review:security_template,gateway
|
|
configuration:f9d71c:config_management:deployment,architecture
|
|
|
|
# === SERVICE-SPECIFIC LABELS ===
|
|
service-formular2mail:1d76db:formular2mail:service_templates,integration
|
|
service-sagjan:1d76db:sagjan:service_templates,integration
|
|
service-newsletter:ff6b6b:newsletter:service_templates,integration
|
|
|
|
# === WORKFLOW STATE LABELS ===
|
|
work-in-progress:fbca04:active:status_updates
|
|
needs-review:0e8a16:review:status_updates
|
|
blocked:d73a4a:blocked:status_updates
|
|
ready-for-deployment:28a745:deploy_ready:status_updates
|
|
|
|
# === INTEGRATION LABELS ===
|
|
hugo-integration:ff7518:frontend:hugo_templates,integration
|
|
api-contract:5319e7:api_design:api_templates,service_templates
|
|
breaking-change:d73a4a:breaking:api_templates,architecture
|
|
|
|
# === PRIORITY LABELS ===
|
|
high-priority:d73a4a:urgent:all_templates
|
|
low-priority:0e8a16:nice_to_have:all_templates
|
|
|
|
# === META LABELS ===
|
|
low-tech:6f42c1:low_tech_principle:all_templates
|
|
digital-sovereignty:6f42c1:digital_sovereignty:all_templates
|
|
good-first-issue:7057ff:beginner_friendly:all_templates
|
|
help-wanted:159818:community_help:all_templates
|
|
|
|
# === DEPLOYMENT LABELS ===
|
|
deployment:ff7518:deployment:deployment_template
|
|
testing:f9d71c:testing:testing_template,integration
|
|
documentation:0366d6:docs:documentation_template |