1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/servers/http
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
..
apache-httpd Merge pull request #79123 from aanderse/apachectl 2020-08-19 20:56:51 -04:00
apache-modules treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
apt-cacher-ng apt-cacher-ng: 3.2 → 3.5 2020-05-06 19:09:31 +02:00
couchdb couchdb: add support for version 3.1.0 2020-09-11 14:03:16 +02:00
darkhttpd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gatling treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
h2o treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hiawatha hiawatha: 10.9 -> 10.11 2020-08-05 23:07:30 +02:00
hyp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jboss treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
jetty jetty: 9.4.29.v20200521 -> 9.4.31.v20200723 2020-08-07 00:09:20 -07:00
lighttpd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
lwan
micro-httpd
mini-httpd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
myserver treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nginx nginxMainline: 1.19.2 -> 1.19.3 2020-09-30 20:18:47 +02:00
nix-binary-cache
openresty openresty: 1.15.8.3 -> 1.17.8.2 2020-09-04 00:38:04 -04:00
pshs pshs: 0.3.3 -> 0.3.4 2020-07-12 11:42:29 +00:00
redstore treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
showoff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
spawn-fcgi
tengine tengine: change logs path 2020-05-04 16:36:38 +03:00
thttpd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tomcat tomcat-native: 1.2.24 -> 1.2.25 2020-09-13 20:29:06 -04:00
unit perl: 5.30.3 -> 5.32.0, perldevel: 5.32.0-RC0 -> 5.33.1 2020-08-30 20:21:26 +02:00
webfs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
webhook webhook: 2.6.8 -> 2.7.0 2020-06-17 11:53:57 -07:00
yaws treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00