github / github/codeql

Problem installing local package

Offen
#19,979 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

I'm having trouble with what I want to do.

How do I install a queries package where all the others are so I don't have to specify the folder I want to analyze them from when I run an analysis?

I use

> RUN codeql pack install -v --allow-prerelease packagePath

But seems that are not used later when I use

> codeql database analyze ...

I want to install a package for a specific language, without having to specify the path every time I use analyze.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the `codeql pack install -v --allow-prerelease packagePath` and `codeql database analyze ...` commands described in the issue, and trace how a locally installed package is made available to analysis. Confirm whether a package for a specific language can be used without passing its path again; document the supported behavior or reproduce the installation problem with a minimal package.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
cli, security
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.