Cannot disambiguate between multiple questions with the same name
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia dalla gestione di hii get e del comando set corrispondente mostrata nell’issue, quindi traccia il modo in cui le domande vengono associate in base al nome. Definisci un selettore che distingua le domande Multi-VC duplicate e considera completato il lavoro quando ogni duplicato può essere recuperato e aggiornato indipendentemente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
I'm trying to use uefisettings to flip the Multi-VC (Enable/Disable Multiple Virtual Channel) option in my UEFI's settings, but because this option is present for each PCI-e root port (up to 3), the question appears three times with an identical name:
sudo ./uefisettings hii list-questions | grep -B 1 -A7 'Multi-VC'
Question {
name: "Multi-VC",
answer: "Enabled",
options: [
"Disabled",
"Enabled",
],
help: "Enable/Disable Multi Virtual Channel",
},
--
Question {
name: "Multi-VC",
answer: "Disabled",
options: [
"Disabled",
"Enabled",
],
help: "Enable/Disable Multi Virtual Channel",
},
--
Question {
name: "Multi-VC",
answer: "Disabled",
options: [
"Disabled",
"Enabled",
],
help: "Enable/Disable Multi Virtual Channel",
},
When I try to use uefisettings hii get, only the first question is returned (note only the first is Enabled):
sudo ./uefisettings hii get 'Multi-VC'
GetResponseList {
responses: [
GetResponse {
selector: "899407D7-99FE-43D8-9A21-79EC328CAC21",
backend: Backend::Hii,
question: Question {
name: "Multi-VC",
answer: "Enabled",
options: [
"Disabled",
"Enabled",
],
help: "Enable/Disable Multi Virtual Channel",
},
is_translated: false,
},
],
}
Is there any way to select the question to get/set more granularly such that I can choose the other questions?
Thanks in advance,
Luke
- Lingua principale
- Rust
- Stelle
- 100
- Fork
- 13
- Merge medio
- 2g 15h
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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 linuxboot/uefisettings
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
linuxboot/uefisettings#16 · 4 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
linuxboot/uefisettings#10 ·
-
investigation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
linuxboot/uefisettings#8 · 13 commenti ·
-
Mention other similar projectsForse di nuovo libera @xaionaro l’ha presa 639 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation
linuxboot/uefisettings#6 · 1 assegnatario ·
-
32 bit builds are brokenApertabug waiting for response
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
linuxboot/uefisettings#4 · 3 commenti ·
Tutte le issue di linuxboot/uefisettings
Issue simili
-
Four problem loader browser tests fail on WindowsForse già presa @Patriciaath999 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Claude Code guards in .claude/settings.json never block: they read unset variables and exit 1Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
starkware-libs/sequencer#15229 ·
I maintainer di solito rispondono entro 1 giorno
-
`fnox set` ignores piped stdin when `--description` is given, saving the secret without a valueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
ActivityWatch/aw-notify-rs#47 · 1 commento ·