diff options
| author | 2026-07-28 09:23:56 +0000 | |
|---|---|---|
| committer | 2026-07-28 09:23:56 +0000 | |
| commit | 9f5cc9dbd1c03b53641d4ff3a45e2d80884e1b39 (patch) | |
| tree | c4bb67491d2ef645377eafe0cd9ac1fd5edd23ce /bin | |
| parent | pkgs(wikiteam.dokuwiki-dumper): Relax rich (diff) | |
| download | at-tayich-main.tar.gz at-tayich-main.tar.bz2 at-tayich-main.zip | |
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/recursive-getconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/recursive-getconfig b/bin/recursive-getconfig new file mode 100755 index 0000000..a520832 --- /dev/null +++ b/bin/recursive-getconfig @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +scriptpath="$(cd "$(dirname "$0")"; pwd -P)" +commit="$(git -C "${scriptpath}" log --max-count=1 --format=%H)" + +for jobid; do + property="job:$jobid:config" + curl \ + --silent \ + --user-agent "at-tayich (commit: $commit)" \ + 'https://legacy-api.arpa.li/recursive/props?prop='"$property" | + jq ' +#map(.)[] | +.["'"$property"'"] | +fromjson +' +done |
