3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

11 commits

Author SHA1 Message Date
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
leenaars 4bd0e5603d
Sylk: 2.8.4 -> 2.9.0 (#99095) 2020-09-30 21:36:50 +00:00
leenaars 517c975596
Sylk: 3.8.0 -> 3.8.4 (#98392) 2020-09-21 17:39:04 +02:00
Michiel Leenaars 397b14642b Sylk: 2.8.0 -> 2.8.2 2020-08-16 19:55:25 +00:00
leenaars a113f1d6e9
Sylk: 2.7.2 -> 2.8.0 (#93679) 2020-07-23 11:05:37 +00:00
Daiderd Jordan b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Michiel Leenaars 0a4f1bc7f7 Sylk: 2.7.0 -> 2.7.2 2020-05-15 10:39:50 +02:00
leenaars 499b5feac9
Sylk: 2.6.1 -> 2.7.0 (#86796) 2020-05-05 10:33:39 +00:00
leenaars cc4ba79867
Sylk: 2.5.0 -> 2.6.1 (#85213) 2020-04-14 13:26:47 +00:00
leenaars 8df2444a35 Sylk: 2.1.0 -> 2.5.0 (#77606) 2020-01-14 17:25:33 +00:00
zimbatm baac84c2c4 Sylk: init at 2.1.0 2019-05-20 10:36:05 +01:00