知识卡片

普通读书笔记卡 · 10296.b.1.c.1.e · 生成模型:未记录

提交策略及早校验

理解等级:中级

提交策略为每次提交建立自动规则,可将提交历史与工单关联。客户端钩子能在提交前快速返回失败原因,需要稳定的安装和更新方式;服务端钩子可在推送时统一执行。检查应迅速可靠,提示应让用户直接修正。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《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.