Related:
- 9fc5e7e473
- 593e11fd94
- 508ae42a0f
Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).
Here's the new script I used:
```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
| jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
| sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
I will also add this script to `maintainers/scripts`.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/libguestfs/versions.
These checks were done:
- built on NixOS
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/guestfish passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/guestmount passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/guestunmount passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/libguestfs-test-tool passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-alignment-scan passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-builder passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-builder-repository passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-cat passed the binary check.
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-copy-in-wrapped had a zero exit code or showed the expected version
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-copy-in passed the binary check.
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-copy-out-wrapped had a zero exit code or showed the expected version
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-copy-out passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-customize passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-df passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-dib passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-diff passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-edit passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-filesystems passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-format passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-get-kernel passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-index-validate passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-inspector passed the binary check.
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-list-filesystems-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-list-filesystems had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-list-partitions-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-list-partitions had a zero exit code or showed the expected version
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-log passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-ls passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-make-fs passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-rescue passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-resize passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-sparsify passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-sysprep passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-tail passed the binary check.
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-tar-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-tar had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-tar-in-wrapped had a zero exit code or showed the expected version
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-tar-in passed the binary check.
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-tar-out-wrapped had a zero exit code or showed the expected version
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-tar-out passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-v2v passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-v2v-copy-to-local passed the binary check.
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-win-reg-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/virt-win-reg had a zero exit code or showed the expected version
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.guestfish-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.guestmount-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.guestunmount-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.libguestfs-test-tool-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-alignment-scan-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-builder-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-builder-repository-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-cat-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-customize-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-df-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-dib-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-diff-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-edit-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-filesystems-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-format-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-get-kernel-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-index-validate-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-inspector-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-log-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-ls-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-make-fs-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-rescue-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-resize-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-sparsify-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-sysprep-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-tail-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-v2v-wrapped passed the binary check.
- /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2/bin/.virt-v2v-copy-to-local-wrapped passed the binary check.
- 60 of 72 passed binary check by having a zero exit code.
- 24 of 72 passed binary check by having the new version present in output.
- found 1.38.2 with grep in /nix/store/pmf2ffgaiicm4a6svl96iqxwsbym1hxj-libguestfs-1.38.2
- directory tree listing: https://gist.github.com/6015d8610a76dff5d1c8f06d6434423d
- du listing: https://gist.github.com/432a66e455c5c90bc295e87f22d1104a