The Wayback Machine - https://web.archive.org/web/20220108160520/https://github.com/github/codeql/pull/7529
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

QL: recognize dependecies of the form: libraryPathDependencies: library-name #7529

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

@erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Jan 6, 2022

I added QL-for-QL to an internal project of mine, and QL-for-QL didn't recognize the dependency in a qlpack.yml file of the following form:

name: my-ql-thing
version: 0.0.0
libraryPathDependencies: codeql-ql  # <- this one wasn't recognized. 
@erik-krogh erik-krogh requested a review from tausbn as a code owner Jan 6, 2022
Copy link
Contributor

@tausbn tausbn left a comment

One suggestion, otherwise looks good to me.

Also: I trust that this actually works, but perhaps we should have tests for this? (I'm thinking especially of when I start ripping out the "YAML" parser.)

ql/ql/src/codeql_ql/ast/Ast.qll Outdated Show resolved Hide resolved
erik-krogh and others added 2 commits Jan 7, 2022
Co-authored-by: Taus <tausbn@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.