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.

贡献指南

打开贡献指南

调研方向

从 issue 中描述的 `codeql pack install -v --allow-prerelease packagePath` 和 `codeql database analyze ...` 命令开始,跟踪本地安装的 package 是如何提供给分析使用的。确认特定语言的 package 是否可以在不再次传入其路径的情况下使用;记录受支持的行为,或使用最小 package 复现安装问题。

由索引模型根据 Issue 内容生成。

评估

领域
cli, security
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。