Feature request: overwrite existing database, but ask first
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia con il comando codeql database create e il comportamento esistente di --overwrite. Determina come dovrebbe essere esposta un’opzione di conferma interattiva e verifica che un avviso di sovrascrittura blocchi l’operazione finché non viene fornita la conferma.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm auditing a customer application. Their build system has never been set up for CodeQL, so there's a lot of tweaking and setup that has to be figured out to get it all working. Naturally, as part of this process, I'm running codeql database create [...] --overwrite a bunch of times as I iterate through all the build issues to fix stuff.
Finally, in a joyous moment, the build actually runs!
I wait 25 minutes for it to build, get the success report, then excitedly hit up a couple of times in my terminal to run my last codeql database analyze command. But I'm a clumsy oaf, and in all the excitement I accidentally run the codeql database create [...] --overwrite command again. WHAM. Whole database gone. I resign myself to waiting another 25 minutes for the build to complete and go stare into the void for a while.
Please save me from myself by adding an --overwrite=ask option (or similar) that prints a warning and requires me to write something like "yes" before doing the overwrite. Thanks.
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 10h
- PR unite (30g)
- 134
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 github/codeql
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
C#: cs/simplifiable-boolean-expression false positive on Nullable<bool> compared with a literal Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
false-positive
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
false-positive
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
Tutte le issue di github/codeql
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
DavidAnson/markdownlint-cli2#940 ·
-
bug ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
QuantStack/git2cpp#187 ·
-
needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100