BReg: migration.review.required lists changes that need no review
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- cli, documentation
Direzione di ricerca
Start in crates/registry-bregctl/src/lib.rs, where the migration.review.required message is assembled, and compare its filter with compiler_applicable_without_review in crates/registry-breg/src/package.rs. Reproduce the example access-profile change, then split the message into changes that need review and changes that would apply automatically. Update the BReg change rules under docs/site/ to state which access changes require review; done means bregctl test and bregctl package no longer list automatically applicable changes as review items.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When bregctl test or bregctl package refuses a successor with migration.review.required, the message lists every change that is not a compatible addition. Some of the changes it lists would apply without review.
In crates/registry-bregctl/src/lib.rs, the list is built from every change whose class is not CompatibleAdditive. The gate is compiler_applicable_without_review in crates/registry-breg/src/package.rs, which accepts an AccessOrDisclosureChange without review unless it is a query-inventory-changed change that is not an automatic access-grant change, or it targets an action or a timer.
Example: adding an optional field to an access profile that grants list gave this message:
the successor cannot be applied automatically; the changes to review are:
access-profile-changed at contact.directory-editor; query-inventory-changed
at contact.records.contact.directory-editor.list.
Only query-inventory-changed needed review. Adding the same field without adding it to the profile applied automatically. An operator reading the message would start a reviewed migration for both changes.
Proposal:
- List only the changes that need review. Changes that would apply automatically can follow under a separate heading.
- Decide whether adding an optional field to a profile that grants
listshould need a reviewed migration. In this case the field applied automatically only when no access profile granted it, so no caller could read or write it through that profile. The BReg change rules indocs/site/should then say which access changes need review.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Merge medio
- 9h 48m
- PR unite (30g)
- 151
Preparare l'ambiente
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 registrystack/registry-stack
-
area:breg enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
registrystack/registry-stack#2765 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
registrystack/registry-stack#2761 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
registrystack/registry-stack#2743 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
registrystack/registry-stack#2706 ·
I maintainer di solito rispondono entro 1 giorno
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
registrystack/registry-stack#2704 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di registrystack/registry-stack
Issue simili
-
help wanted needs investigation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
[Bug] 建议把黑白主题设置同步到启动页面Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tomast1337/Puppeter-PptxGenJS#440 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
n0-computer/iroh#4709 ·
I maintainer di solito rispondono entro 1 giorno
-
生词本里,已标记为认识的词,按钮写「不认识了」读着别扭Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
qingjian-team/qingjian#1114 ·
I maintainer di solito rispondono entro 2 giorni