Skip to content

Commit c6c25ee

Browse files
authored
Merge pull request #598 from GleasonK/main
Fixed broken/moved/redirected links.
2 parents 5cdeb40 + b365ac5 commit c6c25ee

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ members of the project's leadership.
6868
## Attribution
6969

7070
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct/
7272

7373
[homepage]: https://www.contributor-covenant.org
7474

7575
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
76+
https://www.contributor-covenant.org/faq/

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
44

5-
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE).
5+
Contributions to this project are [released](https://docs.github.com/en/github/site-policy/github-terms-of-service#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE).
66

77
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
88

@@ -29,11 +29,11 @@ Follow the steps below to help other users understand what your query does, and
2929

3030
1. **Consult the documentation for query writers**
3131

32-
There is lots of useful documentation to help you write CodeQL queries, ranging from information about query file structure to language-specific tutorials. For more information on the documentation available, see [Writing QL queries](https://help.semmle.com/QL/learn-ql/writing-queries/writing-queries.html) on [help.semmle.com](https://help.semmle.com).
32+
There is lots of useful documentation to help you write CodeQL queries, ranging from information about query file structure to language-specific tutorials. For more information on the documentation available, see [Writing QL queries](https://codeql.github.com/docs/writing-codeql-queries/) on [codeql.github.com/docs](https://codeql.github.com/docs/).
3333

3434
2. **Format your code correctly**
3535

36-
All of the standard CodeQL queries and libraries are uniformly formatted for clarity and consistency, so we strongly recommend that all contributions follow the same formatting guidelines. If you use the CodeQL extension for Visual Studio Code, you can auto-format your query using the [Format Document command](https://help.semmle.com/codeql/codeql-for-vscode/procedures/about-codeql-for-vscode.html). For more information, see the [QL style guide](https://github.com/github/codeql/blob/main/docs/ql-style-guide.md).
36+
All of the standard CodeQL queries and libraries are uniformly formatted for clarity and consistency, so we strongly recommend that all contributions follow the same formatting guidelines. If you use the CodeQL extension for Visual Studio Code, you can auto-format your query using the [Format Document command](https://codeql.github.com/docs/codeql-for-visual-studio-code/about-codeql-for-visual-studio-code/). For more information, see the [QL style guide](https://github.com/github/codeql/blob/main/docs/ql-style-guide.md).
3737

3838
3. **Make sure your query has the correct metadata**
3939

@@ -45,7 +45,7 @@ Follow the steps below to help other users understand what your query does, and
4545
4. **Make sure the `select` statement is compatible with the query type**
4646

4747
The `select` statement of your query must be compatible with the query type (determined by the `@kind` metadata property) for alert or path results to be displayed correctly in LGTM and Visual Studio Code.
48-
For more information on `select` statement format, see [Introduction to query files](https://help.semmle.com/QL/learn-ql/writing-queries/introduction-to-queries.html#select-clause) on help.semmle.com.
48+
For more information on `select` statement format, see [About CodeQL queries](https://codeql.github.com/docs/writing-codeql-queries/about-codeql-queries/#select-clause) on codeql.github.com.
4949

5050
5. **Write a query help file**
5151

@@ -61,6 +61,6 @@ In addition to contributions to our standard queries and libraries, we also welc
6161
## Resources
6262

6363
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
64-
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
65-
- [GitHub Help](https://help.github.com)
66-
- [A Note About Git Commit Messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
64+
- [Using Pull Requests](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)
65+
- [GitHub Help](https://docs.github.com/en)
66+
- [A Note About Git Commit Messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ makes available to its customers worldwide.
77
It contains two major components:
88
- an extractor, itself written in Go, that parses Go source code and converts it into a database
99
that can be queried using CodeQL.
10-
- static analysis libraries and queries written in [QL](https://help.semmle.com/QL) that can be
10+
- static analysis libraries and queries written in [CodeQL](https://codeql.github.com/docs/) that can be
1111
used to analyze such a database to find coding mistakes or security vulnerabilities.
1212

1313
The goal of this project is to provide comprehensive static analysis support for Go in CodeQL.
@@ -29,7 +29,7 @@ Code workspace.
2929
## Usage
3030

3131
To analyze a Go codebase, either use the [CodeQL command-line
32-
interface](https://help.semmle.com/codeql/codeql-cli.html) to create a database yourself, or
32+
interface](https://codeql.github.com/docs/codeql-cli/) to create a database yourself, or
3333
download a pre-built database from [LGTM.com](https://lgtm.com/). You can then run any of the
3434
queries contained in this repository either on the command line or using the VS Code extension.
3535

@@ -50,5 +50,5 @@ The code in this repository is licensed under the [MIT license](LICENSE).
5050

5151
## Resources
5252

53-
- [Writing CodeQL queries](https://help.semmle.com/QL/learn-ql/ql/writing-queries/writing-queries.html)
54-
- [Learning CodeQL](https://help.semmle.com/QL/learn-ql/index.html)
53+
- [Writing CodeQL queries](https://codeql.github.com/docs/writing-codeql-queries/codeql-queries/)
54+
- [Learning CodeQL](https://codeql.github.com/docs/writing-codeql-queries/ql-tutorials/)

change-notes/1.24/analysis-go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## New queries
1212

13-
The CodeQL library for Go now contains a folder of simple "cookbook" queries that show how to access basic Go elements using the predicates defined by the standard library. They're intended to give you a starting point for your own experiments and to help you work out the best way to frame your questions using CodeQL. You can find them in the `examples/snippets` folder in the [CodeQL for Go repository](https://github.com/github/codeql-go/tree/master/ql/examples/snippets).
13+
The CodeQL library for Go now contains a folder of simple "cookbook" queries that show how to access basic Go elements using the predicates defined by the standard library. They're intended to give you a starting point for your own experiments and to help you work out the best way to frame your questions using CodeQL. You can find them in the `examples/snippets` folder in the [CodeQL for Go repository](https://github.com/github/codeql-go/tree/main/ql/examples/snippets).
1414

1515
| **Query** | **Tags** | **Purpose** |
1616
|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
lgtm,codescanning
2-
* Support for the [k8s.io/apimachinery/pkg/runtime](https://godoc.org/k8s.io/apimachinery/pkg/runtime) library has been added, which may lead to more results from the security queries.
2+
* Support for the [k8s.io/apimachinery/pkg/runtime](https://pkg.go.dev/k8s.io/apimachinery/pkg/runtime) library has been added, which may lead to more results from the security queries.

ql/docs/experimental.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Experimental queries and libraries may not be actively maintained as the standar
2121

2222
3. **Formatting**
2323

24-
- The queries and libraries must be [autoformatted](https://help.semmle.com/codeql/codeql-for-vscode/reference/editor.html#autoformatting).
24+
- The queries and libraries must be [autoformatted](https://codeql.github.com/docs/codeql-for-visual-studio-code/about-codeql-for-visual-studio-code/).
2525

2626
4. **Compilation**
2727

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Revel example adapted from [revel-examples](https://github.com/revel/revel-examples).
1+
Revel example adapted from [revel-examples](https://github.com/revel/examples).
22

33
See `LICENSE` for license information.

0 commit comments

Comments
 (0)