github / github/codeql

Problem installing local package

未關閉
#19,979 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

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.

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

領域
cli, security
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。