Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including the external files in database create #17027

Closed
aaaayush-n opened this issue Jul 22, 2024 · 5 comments
Closed

Including the external files in database create #17027

aaaayush-n opened this issue Jul 22, 2024 · 5 comments
Labels
Go question Further information is requested

Comments

@aaaayush-n
Copy link

I want to run codeql database create for a golang project and I want to also include the vendor file. By default the database create command skips dependencies of a project to be included. I want to include the dependencies in my database.
How do I proceed with this?

@aaaayush-n aaaayush-n added the question Further information is requested label Jul 22, 2024
@mbg
Copy link
Member

mbg commented Jul 22, 2024

Hi @aaaayush-n 👋

Thanks for the question! Interestingly, we just merged a change recently which allows you to set CODEQL_EXTRACTOR_GO_EXTRACT_VENDOR_DIRS=true in your environment to cause the Go extractor to extract vendored dependencies. I am not sure if this change made it into the latest available release, but if not, it should start working with the next release.

@smowton
Copy link
Contributor

smowton commented Jul 22, 2024

7ca57e1 is not in branch codeql-cli-2.18.0, so it isn't in the current release, but it will be in CodeQL 2.18.1, expected later this week (Thursday or Friday)

@mbg mbg added the Go label Jul 22, 2024
@aaaayush-n
Copy link
Author

Cool, Thanks!

@aaaayush-n
Copy link
Author

Hi @smowton @mbg , I wanted to know if this update is live?

@aaaayush-n aaaayush-n reopened this Jul 30, 2024
@jketema
Copy link
Contributor

jketema commented Jul 30, 2024

Yes, CodeQL 2.18.1 has been released: https://github.com/github/codeql-cli-binaries/releases/tag/v2.18.1

@jketema jketema closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants