Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.