feat[client]: add prstatus

This commit is contained in:
Leon Schwarzäugl 2025-12-12 02:19:58 +01:00
parent 9f9f764899
commit e65c63b6da
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 28 additions and 0 deletions

View file

@ -15674,6 +15674,7 @@ This is just a separate container for derivations defined in [[#h:64a5cc16-6b16-
sshrm sshrm
endme endme
git-replace git-replace
prstatus
]; ];
}; };
} }
@ -22502,6 +22503,23 @@ This script allows for quick git branch switching.
#+end_src #+end_src
**** prstatus
This script allows for quick checking of nixpkgs PR statuses.
#+begin_src nix-ts :tangle pkgs/flake/prstatus/default.nix
{ name, writeShellApplication, curl, ... }:
writeShellApplication {
inherit name;
runtimeInputs = [ curl ];
text = ''
curl https://nixpkgs.molybdenum.software/api/v2/landings/"$1"
'';
}
#+end_src
**** bak **** bak
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h:03b1b77b-3ca8-4a8f-8e28-9f29004d96d3 :CUSTOM_ID: h:03b1b77b-3ca8-4a8f-8e28-9f29004d96d3

View file

@ -32,6 +32,7 @@
sshrm sshrm
endme endme
git-replace git-replace
prstatus
]; ];
}; };
} }

View file

@ -0,0 +1,9 @@
{ name, writeShellApplication, curl, ... }:
writeShellApplication {
inherit name;
runtimeInputs = [ curl ];
text = ''
curl https://nixpkgs.molybdenum.software/api/v2/landings/"$1"
'';
}