1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/shells/zsh
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
..
antibody antibody: 6.1.0 -> 6.1.1 2020-09-04 08:56:02 -07:00
antigen treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fzf-zsh treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gradle-completion treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
grml-zsh-config treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
lambda-mod-zsh-theme treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nix-zsh-completions nix-zsh-completions: 0.4.3 -> 0.4.4 (#85267) 2020-04-15 12:00:14 +02:00
oh-my-zsh oh-my-zsh: 2020-09-29 -> 2020-10-01 2020-10-02 11:18:36 -04:00
pure-prompt pure-prompt: 1.12.0 -> 1.13.0 2020-08-12 17:50:50 +00:00
spaceship-prompt spaceship-prompt: install prompt_spaceship_setup (#94604) 2020-08-08 10:30:52 +02:00
zplug zplug: init at 2.4.2 2020-04-09 11:55:40 +02:00
zsh-autosuggestions treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zsh-bd zsh-bd: init at 2018-07-04 2020-01-21 12:38:22 +01:00
zsh-command-time treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zsh-completions zsh-completions: 0.31.0 -> 0.32.0 2020-07-07 23:40:03 +00:00
zsh-deer
zsh-fast-syntax-highlighting zsh-fast-syntax-highlighting: init at 1.54 (#65429) 2019-11-19 21:20:17 -05:00
zsh-git-prompt
zsh-history treewide: remove obsolete attribute goPackagePath in buildGoModule derivations (#95092) 2020-08-11 21:04:55 +00:00
zsh-history-substring-search treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zsh-nix-shell zsh-nix-shell: (unstable-)2019-12-20 -> 0.1.0 2020-08-05 13:38:15 +02:00
zsh-powerlevel9k treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zsh-powerlevel10k zsh-powerlevel10k: 1.11.0 -> 1.12.0 2020-07-06 19:48:10 +02:00
zsh-prezto zsh-prezto: 2019-03-18 -> 2020-05-20 2020-05-26 12:53:26 +01:00
zsh-syntax-highlighting zsh-syntax-highlighting: 0.6.0 -> 0.7.1 2020-03-05 15:10:36 -08:00
zsh-you-should-use zsh-you-should-use: 1.7.0 -> 1.7.3 2020-07-08 00:47:18 +00:00
default.nix treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00