coder / coder/usgov-reference

Refactor config-embedding scripts to read from a values file

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

阅读 scripts/setup-coder-idp-sync.py、scripts/setup-keycloak-hierarchy.py 和 scripts/preflight-readiness.sh,清点其中嵌入的配置,然后检查 values/env.example.yaml(如果存在)。定义一种共享的 values 文件方案,并验证这三个脚本都使用该方案,以便 fork 创建者无需编辑代码即可调整层级、persona 和参考 URL。

由索引模型根据 Issue 内容生成。

评估

技术栈
bash, python
领域
devops
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。