Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jieyouxu/pcr-util

P-high T-compiler rust-lang/rust issue review triage util
https://github.com/jieyouxu/pcr-util

Last synced: 29 days ago
JSON representation

P-high T-compiler rust-lang/rust issue review triage util

Awesome Lists containing this project

README

        

# pcr-util

**P**-high t-**C**ompiler pre-triage **R**eview util.

(Can't be bothered to come up with a better name, close enough.)

## Usage

- Assumes `gh` cli util is available in PATH and is already authenticated.

Assuming `rust-lang/rust` checkout and `pcr-util` repo checkout is under same
folder:

```text
repos/
rust/
pcr-util/
```

```bash
$ cargo run -- --repo-path='../../rust'
```

By default, `pcr-util` will just output to
`pcr-util/pcr-util/issue-review-stub.md` for markdown stub, unless otherwise
specified.

```text
Usage: pcr-util.exe [OPTIONS] --repo-path

Options:
--repo-path
Path to a `rust-lang/rust` checkout
--config-path
Path to config file [default: config.toml]
--persist-path
Where to store the deserialized JSON response [default: p-high-t-compiler-issues.json]
--markdown-stub-title
Markdown stub document title [default: "2024 Q3 T-compiler P-high Issue Review"]
--markdown-stub-path
Where to output a Markdown issue review document stub [default: issue-review-stub.md]
--log-level
Default log level [default: info] [possible values: info, debug, trace]
-h, --help
Print help
```

You can copy the generated markdown stub into something like HackMD, e.g.:

![Screenshot 2024-11-11 003939](https://github.com/user-attachments/assets/beac98f6-e47b-4359-b972-a476afa73162)