Files
nixpkgs/pkgs/development/tools/misc
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
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`.
2020-10-02 09:01:35 -07:00
..
2020-09-28 04:20:00 +00:00
2020-09-24 21:58:51 +00:00
2020-09-04 09:05:32 -07:00
2020-06-14 09:11:14 +02:00
2020-07-03 03:36:42 +00:00
2020-07-31 21:13:49 +00:00
2020-05-02 04:35:55 +00:00
2020-09-30 22:49:35 +09:00
2020-06-26 05:07:42 +00:00
2020-08-07 13:43:35 +10:00
2019-12-08 16:23:58 +01:00
2020-07-14 14:25:50 +02:00
2020-07-28 08:18:54 +00:00
2020-07-11 08:59:54 +02:00
2020-07-20 05:25:54 +00:00
2020-08-20 14:15:23 -04:00
2020-08-21 11:06:13 -07:00
2020-09-23 04:17:51 +00:00
2019-11-10 08:03:06 +01:00
2020-09-08 16:32:39 +10:00
2019-05-21 23:27:10 +02:00
2020-08-24 14:14:56 +08:00
2020-07-27 16:20:00 -05:00
2020-07-29 00:53:47 -05:00
2019-09-28 19:19:19 -05:00
2020-04-12 17:26:12 +10:00
2020-07-13 23:25:43 +02:00
2020-08-30 18:37:34 +00:00
2020-09-03 15:26:10 +02:00
2020-08-06 15:25:18 +03:00
2020-08-28 02:35:55 +02:00
2020-05-21 08:58:34 -04:00
2020-06-11 00:55:56 +00:00
2020-05-08 09:35:53 -07:00
2020-07-24 07:59:14 +00:00
2020-08-22 15:11:07 +02:00
2020-09-07 15:19:22 +10:00
2020-02-25 09:12:50 +02:00
2019-12-18 04:20:00 -05:00
2020-07-16 01:54:41 -04:00
2020-08-06 20:10:26 +02:00
2020-09-04 12:10:14 -07:00
2020-08-31 17:10:48 +02:00
2020-05-04 09:17:21 +00:00
2020-09-05 19:26:24 +00:00
2020-08-24 04:20:00 +00:00
2020-07-24 10:49:45 +00:00
2020-06-22 20:47:31 +00:00
2020-05-24 16:29:19 +02:00
2020-03-30 22:28:20 -07:00
2020-04-24 19:02:31 +00:00