We should use repository rulesets to prevent the deletion or modification of released tags and critical release branches
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia esaminando le regole del repository collegate nell’issue e l’esempio di protezione dei tag in .asf.yaml di Apache Flume. Conferma quali tag pubblicati e quali branch di release critici devono essere protetti, quindi configura ruleset attivi che blocchino l’eliminazione e la modifica, limitando al contempo l’accesso di bypass. Il lavoro è completato quando le regole corrispondenti e i ruoli di bypass autorizzati sono documentati e verificati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 1.4k
- Merge medio
- 7g 5h
- PR unite (30g)
- 28
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/cloudstack
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os's Apertabug component:kubernetes
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
apache/cloudstack#14070 · 5 commenti ·
-
component:backup
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 Apertabug component:ceph
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/cloudstack#13989 · 3 commenti ·
Tutte le issue di apache/cloudstack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100