Dynamic configuration expression support
还没有人认领这个 Issue。
评估
调研方向
未指定任何文件、测试或入口点。首先梳理整个代码库中的配置评估流程,并确定需要传递 context.Context 的位置;然后检查现有的配置解析器,再定义动态表达式语法和转义行为。设计达成一致,并且动态值、表达式语法和单引号转义都得到一致支持后,即视为完成。
由索引模型根据 Issue 内容生成。
描述
- Define evaluation context that is passed across the codebase via context.Context.
- Replace some (most?) configuration values with generic dynamic like:
type DynamicString struct {
...
}
func (ds DynamicString) Evaluate(ctx context.Context) (string, error)
- Add support for single-quote escaping in maddy configuration syntax.
modify {
replace_rcpt expr 'address_username(key)'
}
- Define configuration syntax (like above) for dynamic expressions.
- 主要语言
- Go
- 星标
- 6.1k
- 派生
- 327
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
foxcpp/maddy 的其他 Issue
-
ready-for-release
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 25/100
-
bug
难度 3/5 1-2 天 新手友好度 55/100
-
bug invalid
-
bug
相似的 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 76/100
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/agent-framework-go#1179 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
infiniflow/ragflow#20223 · 1 个 reaction ·
-
bug needs triage pkg/translator/faro
难度 2/5 1-3 小时 新手友好度 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 条评论 ·