Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cch000/merged-yet

Simple cli tool that uses the github api to check if a pull request has been merged in a branch of nixpkgs
https://github.com/cch000/merged-yet

nix nixos nixpkgs

Last synced: 7 days ago
JSON representation

Simple cli tool that uses the github api to check if a pull request has been merged in a branch of nixpkgs

Awesome Lists containing this project

README

        

# merged-yet

Simple tool that uses the github api to check if a pull request has been merged in a branch of nixpkgs.
Feel free to contribute!

## Usage

### Nix

#### Basic cli usage

```bash
nix run github:cch000/merged-yet -- [OPTIONS]
```

#### Adding it to your config

Useful if you want to use it frequently or for scripting.

1 Add the flake to your system flake inputs:

`merged-yet.url = "github:cch000/merged-yet;`

2 Add it to your packages

```Nix
environment.systemPackages = [
inputs.merged-yet.packages.merged-yet
];
```

### Non-Nix usage

```bash
git clone https://github.com/cch000/merged-yet
cargo run -- [OPTIONS]
```

## Options

```
-b, --branch Branch in which to look for the pull request [default: nixos-unstable]
-m, --max-pages Each page is one request [default: if no key was provided 5, else 100]
-s, --scripting Whether to output script-friendly values
-f, --full Whether to output if the pr was first merged into master
-a, --api-key Github api key
-t, --threads Number of threads [default: MAX]
-h, --help Print help
-V, --version Print version

```