coder / coder/usgov-reference

Refactor config-embedding scripts to read from a values file

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Three operational scripts embed configuration (org/group hierarchies, persona rosters, reference-clone URLs) directly in code, so a forker must edit Python/Bash to adapt them:

- `scripts/setup-coder-idp-sync.py` (org/group hierarchy dict)
- `scripts/setup-keycloak-hierarchy.py` (realm/persona dict)
- `scripts/preflight-readiness.sh` (reference repo URL arrays)

**Action**: refactor these to read their inputs from a values file (e.g. `values/env.example.yaml` or a dedicated companion file) so adapting them requires only editing configuration, not code.

---
Generated by Coder Agents, on behalf of @ausbru87.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Read scripts/setup-coder-idp-sync.py, scripts/setup-keycloak-hierarchy.py, and scripts/preflight-readiness.sh to inventory their embedded configuration, then inspect values/env.example.yaml if present. Define a shared values-file approach and verify that all three scripts use it so a forker can adapt the hierarchies, personas, and reference URLs without editing code.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
bash, python
Bereich
devops
Issue-Typ
Refactoring
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.