知识卡片
提交策略及早校验
提交策略为每次提交建立自动规则,可将提交历史与工单关联。客户端钩子能在提交前快速返回失败原因,需要稳定的安装和更新方式;服务端钩子可在推送时统一执行。检查应迅速可靠,提示应让用户直接修正。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- API 制品的源代码阶段治理 8.8 PR description policies · 查看原书依据
Obviously, PR description policies work at a PR level. But checking the title and description of a change can also occur at the commit level. I use the term commit policy to refer to the set of automated rules that can be verified against every new commit to a VCS.
参考来源
- 位置:《Automating API Delivery APIOps with OpenAPI》《第 08 章 API 制品的源代码阶段治理》(8.8 PR description policies;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-8.xhtml#p164)
- 结论依据:原文将提交级自动规则和单次提交的工单追踪绑定,后文区分本地与服务端执行。
- 原始内容:Obviously, PR description policies work at a PR level. But checking the title and description of a change can also occur at the commit level. I use the term commit policy to refer to the set of automated rules that can be verified against every new commit to a VCS.