refactor: split manage_labels.py into reusable modes #6

Open
opened 2026-06-21 17:16:26 -05:00 by jcwalker3 · 0 comments
Owner

The MAPPING dict in manage_labels.py is a one-time backfill of issue-to-label assignments. Split into:

  • --create-labels — idempotent label creation (reusable)
  • --apply-mapping — one-off issue labeling from the hardcoded dict
  • --add-label <issue> <label> — ad-hoc single-issue labeling

Low priority — the current script works fine for its purpose.

The MAPPING dict in `manage_labels.py` is a one-time backfill of issue-to-label assignments. Split into: - `--create-labels` — idempotent label creation (reusable) - `--apply-mapping` — one-off issue labeling from the hardcoded dict - `--add-label <issue> <label>` — ad-hoc single-issue labeling Low priority — the current script works fine for its purpose.
jcwalker3 added the nice-to-have label 2026-06-21 17:16:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#6