#pull-request #github #requests #date #formatted #list #markdown

app pulls_since

Micro tool to print Markdown formatted list of pull requests closed on a given github repository since given date

6 releases (3 breaking)

Uses old Rust 2015

0.4.1 Aug 5, 2018
0.4.0 Oct 13, 2017
0.3.0 Oct 10, 2017
0.2.1 Oct 7, 2017
0.1.0 Oct 5, 2017

#26 in #formatted

21 downloads per month

MIT license

15KB
237 lines

pulls_since Build Status crates.io

Micro tool to print Markdown formatted list of pull requests closed on a given github repository since given date

pulls_since 0.4.0
Print Markdown formatted list of pull requests closed since given date

USAGE:
    pulls_since [OPTIONS] --owners <owner>... --repos <repo>...

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -e, --exclude-login <login>    ommit PR's by given login (bots etc.)
    -o, --owners <owner>...        space separated list of owners or org names
    -r, --repos <repo>...          space separated list of 'owner/repo'
    -s, --since <since>            start date argument dd.mm.yyyy
    -u, --until <until>            end date argument dd.mm.yyyy

Example usage

pulls_since --repos rust-lang-nursery/rust-cookbook budziq/pulls_since -s 30.09.2017 -u 07.10.2017 -e budziq
  • Show all pull requests within github organizaion rust-lang-nursery or against repositories owned by user budziq made since 30.09.2017.
pulls_since --owners rust-lang-nursery budziq -s 30.09.2017

Few date formats are available. Including "dd.mm.yyyy", "dd.mm" and "yyyy/mm/dd"

Example output

#### rust-lang-nursery/rust-cookbook

- @mykalu [Match semver crate examples' styling](https://github.com/rust-lang-nursery/rust-cookbook/pull/315)
- @oldmanmike [Add "Run an external command passing it stdin and check for an error code" example](https://github.com/rust-lang-nursery/rust-cookbook/pull/310)
- @FaultyRAM [Add "Parse a complex version string" example](https://github.com/rust-lang-nursery/rust-cookbook/pull/308)
- @V1shvesh [Add num_cpus example](https://github.com/rust-lang-nursery/rust-cookbook/pull/307)
- @sb89 [Added "Check webpage for broken links" example](https://github.com/rust-lang-nursery/rust-cookbook/pull/299)
- @ludwigpacifici [Add "Run piped external commands" example](https://github.com/rust-lang-nursery/rust-cookbook/pull/297)
- @ericho [Use a threadpool to calculate SHA1 in all *.iso files in a folder.](https://github.com/rust-lang-nursery/rust-cookbook/pull/274)

#### budziq/pulls_since

- @nabijaczleweli [Added --until/-u option](https://github.com/budziq/pulls_since/pull/7)
- @KodrAus [Add clap for arg parsing](https://github.com/budziq/pulls_since/pull/2)

Rendered output

rust-lang-nursery/rust-cookbook

budziq/pulls_since

Authorization

By default pulls_since uses unauthorized flow which will get your requests throthled quickly. To make large number of requests or operate on really big repositories please use the github token authorization.

Either export your token as an environmental variable or put it in an .env file somewhere above your current woking directory.

GITHUB_TOKEN=39984770ba9ba1c663b6b50beab9b004

License

MIT

Dependencies

~23–34MB
~605K SLoC