Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cannot disambiguate between multiple questions with the same name

Aperta
#7 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
cli

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

enhancement

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxboot/uefisettings

Tutte le issue di linuxboot/uefisettings

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.