We should use repository rulesets to prevent the deletion or modification of released tags and critical release branches
还没有人认领这个 Issue。
评估
调研方向
首先检查 issue 中链接的仓库规则,以及 Apache Flume 的 .asf.yaml 中的标签保护示例。确认哪些已发布标签和关键发布分支需要保护,然后配置活动规则集以阻止删除和修改,同时限制绕过访问权限。完成的标准是:匹配的规则和允许的绕过角色已记录并经过验证。
由索引模型根据 Issue 内容生成。
描述
We can setup rules for released tags and also other branches. See our rules:
https://github.com/apache/cloudstack/rules/
Not 100% sure but seems like anyone with write access can delete releases and checkout the pictures attached
See Apache Flume they have tag protection setup in their .asf.yaml:
https://github.com/apache/logging-flume/blob/7b41e071caf1566bf73add2f40b530875d61da10/.asf.yaml#L94
Yes, an Apache Software Foundation (ASF) project should use repository rulesets to prevent the deletion or modification of released tags and critical release branches.
Benefits of Using Rulesets for Releases
- Supply Chain Security: Restricting deletions and updates on tags prevents malicious or accidental tampering with published software artifacts.
- Flexibility and Targeting: Unlike legacy branch protection, GitHub Rulesets can target tags using naming patterns (e.g.,
v*or specific release tags) alongside branches. - Audit Transparency: Anyone with read access can view active rulesets, helping project auditors verify compliance and governance without requiring admin privileges.
- Preventing Force Pushes: Rulesets allow projects to block force-pushes and restrict deletions to designated release managers or PMC members.
Recommended Practices
- Set rulesets to Active enforcement for any matching patterns of released tags or stable maintenance branches.
- Restrict bypass permissions strictly to trusted release officers or infrastructure administrators.
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 20 小时
- 30 天内合并 PR
- 27
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/cloudstack 的其他 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
apache/cloudstack#14222 ·
-
bug component:kubernetes
难度 1/5 1 小时以内 新手友好度 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
难度 1/5 1 小时以内 新手友好度 88/100
apache/cloudstack#14070 · 5 条评论 ·
-
component:backup
难度 2/5 1-3 小时 新手友好度 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 未关闭bug component:ceph
难度 2/5 1-3 小时 新手友好度 78/100
apache/cloudstack#13989 · 3 条评论 ·
查看 apache/cloudstack 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 88/100
checkstyle/test-configs#263 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
1.0.0-alpha2 Type/Improvement
难度 2/5 1-3 小时 新手友好度 68/100
wso2/dpdp-accelerator#272 ·
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
apache/rocketmq-dashboard#4860 · 1 条评论 ·