|
|
@@ -27,8 +27,6 @@ contributions.
|
|
|
- [Clang and LLVM](#clang-and-llvm)
|
|
|
- [Ninja](#ninja)
|
|
|
- [pre-commit](#pre-commit)
|
|
|
- - [gql](#gql)
|
|
|
- - [PyGitHub](#pygithub)
|
|
|
- [Optional tools](#optional-tools)
|
|
|
- [Carbon-maintained](#carbon-maintained)
|
|
|
- [new_proposal.py](#new_proposalpy)
|
|
|
@@ -229,18 +227,6 @@ git commit
|
|
|
When modifying or adding pre-commit hooks, please run
|
|
|
`pre-commit run --all-files` to see what changes.
|
|
|
|
|
|
-### gql
|
|
|
-
|
|
|
-```bash
|
|
|
-pip install gql
|
|
|
-```
|
|
|
-
|
|
|
-### PyGitHub
|
|
|
-
|
|
|
-```bash
|
|
|
-pip install PyGitHub
|
|
|
-```
|
|
|
-
|
|
|
## Optional tools
|
|
|
|
|
|
### Carbon-maintained
|
|
|
@@ -268,6 +254,19 @@ Options can be seen with `-h`. A couple key options to be aware of are:
|
|
|
- `--comments-from LOGIN`: Only print threads with comments from the given
|
|
|
user. For example, use when looking for threads that you've commented on.
|
|
|
|
|
|
+This script may be run directly if `gql` is installed:
|
|
|
+
|
|
|
+```bash
|
|
|
+pip install gql
|
|
|
+./github_tools/pr_comments.py <PR#>
|
|
|
+```
|
|
|
+
|
|
|
+It may also be run using `bazel`, without installing `gql`:
|
|
|
+
|
|
|
+```bash
|
|
|
+bazel run //github_tools:pr_comments -- <PR#>
|
|
|
+```
|
|
|
+
|
|
|
### GitHub
|
|
|
|
|
|
#### gh CLI
|