-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Update the analyze databases article #10459
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
Conversation
This change updates the analyze databases article to clarify examples. It reorganizes to put packs examples first and rearranges a few paragraphs.
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review!
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
Got an odd failure when running the docs job
Rerunning. |
Thanks for the fix @jf205. Is this good to merge now? |
LGTM, but let's get a review from the docs team too. I've added the magic label. |
@github/docs-content is there anyone able to take a look at this? Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some minor suggestions.
- :doc:`Set up the CodeQL CLI <getting-started-with-the-codeql-cli>` so that it can find the queries | ||
and libraries included in the CodeQL repository. | ||
- :doc:`Set up the CodeQL CLI <getting-started-with-the-codeql-cli>` to run commands locally and | ||
optionally check out the CodeQL repository if you want direct access to the CodeQL core queries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid highlighting the idea of checking out the repo here. If they are using a bundle or packs there is no need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point.
* ``cpp-security-and-quality`` - Security-and-quality queries for C++. | ||
* ``cpp-security-extended`` - Security-extended queries for C++. This suite contains queries that are less precise than the standard security queries, and may find more false-positives. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reorder these: security-extended should go first, and highlight that each includes the suites above it.
Add a pull quote and apply some suggestions from code review.
I made a slightly bigger change than you suggested, @adityasharad. I created a pull-quote and moved some of the query suite descriptions into the quote. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff. I'm happy with the content, over to docs team for final editorial review.
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aeisenberg 👋 I joined Docs recently, nice to meet you! I've left some comments (mostly minor and related to style), and will be very happy to take another look after you've reviewed, or discuss anything. Thank you!
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
@aeisenberg Felicity mentioned to me in passing that these docs follow an older style (I hadn't realised!) so if some of my comments related to that are introducing too much overhead for you in this PR, we'll be happy to take care of the edits down the road in the docs team 😀 |
docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst
Outdated
Show resolved
Hide resolved
@subatoi, I'm having trouble merging your suggestions inline in the PR. It looks like there's some sort of UI but where github is complaining about multiple suggestions on the same line being committed together (which I am not doing). I'm probably going to file an issue. |
@aeisenberg Let me know if you need me to commit anything if you're still having trouble! |
I raised this issue: https://github.com/github/pull-requests/issues/5684 I think I can move ahead by committing suggestions one-by-one. If not, I'll just reproduce your suggestions locally. Thanks for your review! |
….rst Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
c8dbab9
to
e8a0d07
Compare
I think everything is resolved, but I may have missed something due to the issues I mentioned above. I squashed a bunch of the commits generated from suggestions. Please let me know if there is anything left to discuss. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aeisenberg! 🚀
This change updates the analyze databases article to clarify examples. It reorganizes to put packs examples first and rearranges a few paragraphs.