Visitar URL original
Docs: Update references to github/codeql-go by adityasharad · Pull Request #9243 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260529001146/https://github.com/github/codeql/pull/9243
Skip to content

Docs: Update references to github/codeql-go#9243

Merged
adityasharad merged 3 commits into
mainfrom
adityasharad/merge-codeql-go-docs
May 23, 2022
Merged

Docs: Update references to github/codeql-go#9243
adityasharad merged 3 commits into
mainfrom
adityasharad/merge-codeql-go-docs

Conversation

@adityasharad
Copy link
Copy Markdown
Collaborator

@adityasharad adityasharad commented May 20, 2022 •

This PR is based on #8631, which should be merged first.


github/codeql-go is being merged into github/codeql (this is done by the base PR).
Update references to codeql-go within the CodeQL CLI docs.
Add Go to the list of mentioned languages where applicable.

Leave an explanatory note in the setup instructions about the previous requirement to check out github/codeql-go, and mention this is no longer necessary.

The remaining references are to historical commits, which will continue to exist.

@adityasharad adityasharad added documentation ready-for-doc-review This PR requires and is ready for review from the GitHub docs team. Go labels May 20, 2022
@adityasharad adityasharad requested review from cklin and felicitymay May 20, 2022 18:55
@adityasharad adityasharad requested review from a team as code owners May 20, 2022 18:55
Comment thread docs/codeql/codeql-language-guides/modeling-data-flow-in-go-libraries.rst Outdated
github/codeql-go is being merged into github/codeql.
Update references to `codeql-go` within the CodeQL CLI docs.
Add Go to the list of mentioned languages where applicable.

Leave an explanatory note in the setup instructions about the
previous requirement to check out `github/codeql-go`, and
mention this is no longer necessary.

The remaining references are to historical commits,
which will continue to exist.
@adityasharad adityasharad force-pushed the adityasharad/merge-codeql-go-docs branch from 2b37373 to 4d74282 Compare May 20, 2022 19:10
@adityasharad adityasharad requested a review from a team as a code owner May 20, 2022 19:10
cklin
cklin previously approved these changes May 20, 2022
felicitymay
felicitymay previously approved these changes May 23, 2022
Copy link
Copy Markdown
Contributor

@felicitymay felicitymay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for opening this pull request @adityasharad. I found a few minor tweaks and wonder about reducing the number of times we list the supported languages, but otherwise this looks great.

Comment thread docs/codeql/codeql-cli/about-ql-packs.rst Outdated
Comment thread docs/codeql/codeql-cli/about-ql-packs.rst Outdated
Comment thread docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst Outdated
Comment thread docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst Outdated
Comment thread docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst Outdated
Comment on lines 29 to +31
.. pull-quote:: Note

If you don't have an appropriate ``printAST.ql`` query in your workspace, the **CodeQL: View AST** command won't work. To fix this, you can update your copy of the `CodeQL <https://github.com/github/codeql>`__ repository (or `CodeQL for Go <https://github.com/github/codeql-go>`__ repository) from ``main``. If you do this, you may need to upgrade your databases. Also, query caches may be discarded and your next query runs could be slower.
If you don't have an appropriate ``printAST.ql`` query in your workspace, the **CodeQL: View AST** command won't work. To fix this, you can update your copy of the `CodeQL <https://github.com/github/codeql>`__ repository from ``main``. If you do this, you may need to upgrade your databases. Also, query caches may be discarded and your next query runs could be slower.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering how long it is since we added the printAST.ql query. It's possible that we could delete this note.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, it's now present for all supported languages. I hope that new languages would add it right away, but that may not be guaranteed.
I think it makes sense to clean this up but let's do this separately.

Base automatically changed from cklin/merge-codeql-go to main May 23, 2022 16:22
@adityasharad adityasharad dismissed stale reviews from felicitymay and cklin via 42f2fc2 May 23, 2022 17:55
Co-authored-by: Felicity Chapman <felicitymay@github.com>
@adityasharad
Copy link
Copy Markdown
Collaborator Author

I've applied all Felicity's inline suggestions - thank you! @felicitymay @cklin could I trouble you for fresh approval?


* The `repository of CodeQL libraries and queries <https://github.com/github/codeql>`__ for C/C++, C#, Java, JavaScript, Python, and Ruby. This is included as a submodule, so it can be updated without affecting your custom queries.
* The `repository of CodeQL libraries and queries <https://github.com/github/codeql-go>`__ for Go. This is also included as a submodule.
* The `repository of CodeQL libraries and queries <https://github.com/github/codeql>`__ all supported languages. This is included as a submodule, so it can be updated without affecting your custom queries.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The `repository of CodeQL libraries and queries <https://github.com/github/codeql>`__ all supported languages. This is included as a submodule, so it can be updated without affecting your custom queries.
* The `repository of CodeQL libraries and queries <https://github.com/github/codeql>`__ for all supported languages. This is included as a submodule, so it can be updated without affecting your custom queries.

@adityasharad adityasharad merged commit 7853ea6 into main May 23, 2022
@adityasharad adityasharad deleted the adityasharad/merge-codeql-go-docs branch May 23, 2022 21:37
@felicitymay
Copy link
Copy Markdown
Contributor

#9279 opened to fix the typo. Thanks @intrigus-lgtm.

@github github deleted a comment Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Go ready-for-doc-review This PR requires and is ready for review from the GitHub docs team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants