From 7f998d7b5ef161e618fff8de4c3aac106050929b Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 13 Jul 2026 16:04:24 +0200 Subject: [PATCH] lkasjdlakjsd --- justfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/justfile b/justfile index b4e4048..75dab7d 100644 --- a/justfile +++ b/justfile @@ -1096,6 +1096,25 @@ _mk_clean_list: # === get/is/test === +# just get-maintainers-for-packages-report $(cat) +# just get-maintainers-for-packages-report $(xclip -o -sel clip) +get-maintainers-for-packages-report +attrpaths: _packages_json + #!/usr/bin/env -S bash -euo pipefail + # TODO: deduplicate the python3XXPackage attributes + declare -a attrpaths=() + for attrpath in "$@"; do + # filter "(attrname)" aliases from nixpkgs-review report + if [[ "$attrpath" =~ "("*")" ]]; then + echo >&2 "Skipping $attrpath" + continue + fi + attrpaths+=("$attrpath") + done + attrpath_json=$(printf "%s\n" "${attrpaths[@]}" | jq -sR 'split("\n")|map(select(.==""|not))' -c) + $JQ_GOJQ