coder / coder/usgov-reference

Refactor config-embedding scripts to read from a values file

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
bash, python
Ambito
devops
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.