Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pierwill/prt
Pull request tool for my work team
https://github.com/pierwill/prt
Last synced: 17 days ago
JSON representation
Pull request tool for my work team
- Host: GitHub
- URL: https://github.com/pierwill/prt
- Owner: pierwill
- Created: 2023-07-21T17:02:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T16:21:26.000Z (7 months ago)
- Last Synced: 2024-10-03T12:29:33.695Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prt
`prt` is for the cloud docs team at MongoDB to help prepare PR messages.
Let's say you have a branch named `DOCSP-99999-hello`. (The `hello` suffix is fine to have.)
When you're done working, and you have a build log URL, run
```
prt ''
```(make sure to use quotes around the URL) and get a PR message that looks like this:
```
- DOCSP-38030
- Staging:
- https://preview-mongodbpierwill.gatsbyjs.io/cloud-docs/DOCSP-38030-rm-compose/import
- https://preview-mongodbpierwill.gatsbyjs.io/cloud-docs/DOCSP-38030-rm-compose/import/live-import-troubleshooting
- https://preview-mongodbpierwill.gatsbyjs.io/cloud-docs/DOCSP-38030-rm-compose/legacy-migration
- Build log: https://workerpool-boxgs.mongodbstitch.com/pages/job.html?collName=queue&jobId=660c196a3a5920a2913be1b8
```# Install
You will need to [install Rust](https://www.rust-lang.org/tools/install).
1. Download this repo.
2. `cd prt/`
3. `cargo install --path .`# Configure
Go into the `main.rs` file and change the `CLOUD_DOCS_STAGING_BASE_URL` for your own staging links.
# Limitations
Only works for `cloud-docs` right now.