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!
nix run github:cch000/merged-yet -- [OPTIONS] <PR_NUMBER>
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
environment.systemPackages = [
inputs.merged-yet.packages.merged-yet
];
git clone https://github.com/cch000/merged-yet
cargo run -- [OPTIONS] <PR_NUMBER>
-b, --branch <BRANCH> Branch in which to look for the pull request [default: nixos-unstable]
-m, --max-pages <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 <API_KEY> Github api key
-t, --threads <THREADS> Number of threads [default: MAX]
-h, --help Print help
-V, --version Print version