3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text
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
..
a2ps treewide: add CVE identifiers to patches 2020-05-06 23:18:09 +02:00
agrep agrep: enable on darwin 2020-06-10 09:36:00 +03:00
aha aha: enable on darwin 2020-08-13 04:20:00 +00:00
amber buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
ansifilter ansifilter: extend build to include Darwin 2020-06-26 22:58:42 -05:00
ascii treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bcat treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
boxes treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
catdoc maintainer-list.nix: remove ndowens 2019-12-26 16:47:41 -05:00
catdocx treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cconv treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
choose choose: init at 1.3.1 2020-09-12 00:36:16 +02:00
chroma chroma: 0.8.0 → 0.8.1 2020-09-25 14:14:56 +02:00
cmigemo cmigemo: init at 1.3e 2020-09-10 14:57:43 +09:00
codesearch codesearch: use upstream vendor 2020-09-08 16:32:39 +10:00
colordiff colordiff: 1.0.18 -> 1.0.19 2020-05-04 21:20:38 -07:00
coloursum buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
convertlit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
copyright-update treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
csvkit csvkit: fix tests 2020-09-20 08:29:18 -07:00
dadadodo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
diction
diffr buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
diffstat treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
diffutils treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
discount discount: 2.2.6 -> 2.2.7 2020-09-23 20:36:59 -07:00
dos2unix maintainer-list.nix: remove ndowens 2019-12-26 16:47:41 -05:00
ebook-tools treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
enca
enscript treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
epubcheck epubcheck: 4.2.3 -> 4.2.4 2020-06-26 08:03:14 +00:00
esh treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fanficfare fanficfare: 3.19.0 -> 3.21.0 2020-07-17 02:37:06 +00:00
fastmod fastmod: init at 0.4.0 2020-06-21 13:27:47 -07:00
gawk gawk: 5.0.1 -> 5.1.0 2020-05-01 08:58:16 +02:00
gist gist: 5.1.0 -> 6.0.0 (#98053) 2020-09-15 22:41:47 +00:00
gjo buildGoModule packages: remove doCheck = true 2020-08-10 16:02:36 +10:00
glogg glogg: enable on darwin 2020-07-23 01:52:37 +03:00
gnugrep treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
gnupatch treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gnused treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
grin treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
grip-search grip-search: init at 0.8 2019-11-14 22:11:58 +01:00
groff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gtranslator treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
gucci treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
highlight highlight: 3.56 -> 3.57 2020-05-16 03:37:22 +02:00
html-tidy treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
html2text treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hyx hyx: enable on darwin 2020-07-22 13:10:08 +03:00
icdiff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
invoice2data treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ispell
jsawk spidermonkey: remove spidermonkey_38 -> spidermonkey alias 2020-10-01 10:00:22 +02:00
jumanpp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kakasi
kdiff3 kdiff3: 1.8.3 -> 1.8.4 2020-09-23 20:16:16 -07:00
kramdown-rfc2629 update versions in Gemfile.lock 2020-04-06 15:02:13 +02:00
kytea treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
languagetool languagetool: 4.9.1 -> 5.0 2020-07-01 10:05:09 +03:00
link-grammar link-grammar: 5.7.0 -> 5.8.0 2020-03-05 08:05:02 +00:00
lv
mairix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
markdown-pp markdown-pp: 1.4 -> 1.5.1 2020-03-31 03:33:09 +00:00
mawk treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mb2md
mdbook mdbook: 0.4.1 -> 0.4.2 2020-08-12 14:06:51 +00:00
mdcat mdcat: 0.19.0 -> 0.20.0 2020-07-05 18:08:49 +01:00
mecab treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
miller miller: 5.7.0 -> 5.8.0 2020-08-11 07:27:59 +00:00
mir-qualia treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mpage treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
multitran treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
namazu treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nawk nawk: 20121220 -> 20180827 2020-05-07 16:01:42 +00:00
nkf
numdiff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ocrmypdf ocrmypdf: 10.2.0 -> 10.3.0 2020-07-23 21:49:22 +02:00
odt2txt treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
opencc opencc: 1.0.5 -> 1.0.6 2020-04-13 02:47:14 +08:00
papertrail treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
par treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
patchutils treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
peco treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
platinum-searcher buildGoPackage: remove platform.all from packages 2020-08-15 19:34:47 -07:00
podiff podiff: 1.1 -> 1.2 2020-08-27 07:28:12 +00:00
poedit poedit: 2.3.1 -> 2.4.1 2020-08-26 08:51:01 +02:00
popfile treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
proselint treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
qgrep treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
qprint treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
qshowdiff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
reckon update versions in Gemfile.lock 2020-04-06 15:02:13 +02:00
recode recode: 3.7.6 -> 3.7.7 2020-08-04 21:59:25 +02:00
replace treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ripgrep ripgrep: remove unnecessary reference to $src 2020-09-22 12:33:35 +10:00
ripgrep-all buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
rosie treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rpl
rs rs: init at 20200313 2020-04-14 08:32:11 -03:00
rst2html5 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ruby-zoom treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ruplacer buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
schema2ldif
sd buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
sgml treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
shab treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
shfmt buildGoModule packages: remove doCheck = true 2020-08-10 16:02:36 +10:00
shocco treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sift buildGoPackage: remove platform.all from packages 2020-08-15 19:34:47 -07:00
silver-searcher treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
smu maintainers: rename geistesk to oxzi 2020-08-15 16:03:46 +02:00
snippetpixie treewide: use nix-update updateScript for packages I maintain 2020-07-29 12:33:39 -04:00
source-highlight treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tab tab: enable on darwin 2020-06-19 04:21:00 -05:00
transifex-client transifex-client: 0.13.6 -> 0.13.9 2020-04-21 19:46:48 +02:00
txt2tags treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ugrep ugrep: 2.5.0 -> 2.5.1 2020-08-12 22:13:07 +00:00
uni2ascii treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
unoconv treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
unrtf treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
untex treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vale buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
vgrep vgrep: init at 2.4.0 2020-09-06 20:28:09 +10:00
wdiff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
wgetpaste wgetpaste: 2.29 -> 2.30 2020-08-31 06:42:17 +00:00
xidel treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
xml treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
xsv buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
xurls xurls: 2.0.0 -> 2.2.0 2020-05-19 12:54:59 +08:00
yaml-merge treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zimreader treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zimwriterfs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00