3
0
Fork 0
forked from mirrors/nixpkgs
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
..
abi-compliance-checker treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
abi-dumper treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
act act: 0.2.13 -> 0.2.15 2020-09-28 04:20:00 +00:00
arcanist arcanist: 20200127 -> 20200711 (#93678) 2020-08-06 13:43:25 +02:00
argbash argbash: 2.9.0 -> 2.10.0 (#98669) 2020-09-24 21:58:51 +00:00
asls asls: 0.4.2 -> 0.5.0 2020-09-04 09:05:32 -07:00
astyle astyle: use cmake to avoid having to manually fix up LDFLAGS 2019-08-26 16:40:04 +08:00
autobuild treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
autoconf treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
autoconf-archive treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
autogen autogen: try fixing on darwin 2020-06-14 09:11:14 +02:00
automake automake115x: 1.15 -> 1.15.1 2020-07-03 03:36:42 +00:00
automoc4 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
avrdude libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
awf treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
babeltrace treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bashdb treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bin_replace_string treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
binutils treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
blackmagic blackmagic: unstable-2020-02-20 -> unstable-2020-08-05 2020-08-09 10:46:01 +02:00
bossa treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bsdbuild treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cbrowser treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cc-tool cc-tool: init at unstable-2020-05-19 2020-07-08 13:30:53 +02:00
ccache ccache: 3.7.10 -> 3.7.11 2020-07-31 21:13:49 +00:00
ccls ccls: 0.20190823.5 -> 0.20190823.6 2020-05-02 04:35:55 +00:00
cflow treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cgdb treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
checkbashisms treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
chrpath treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
chruby treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
chruby-fish chruby-fish: init at 0.8.2 2020-09-30 22:49:35 +09:00
circleci-cli circleci-cli: 0.1.9321 -> 0.1.9454 2020-09-04 07:59:08 +00:00
cl-launch
cli11 cli11: 1.9.0 -> 1.9.1 2020-06-26 05:07:42 +00:00
clojure-lsp clojure-lsp: 20200819T134828 -> 20200828T065654 2020-09-04 08:16:31 +00:00
coccinelle treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
complexity treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cppi treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cproto cproto: use patch file extension 2020-08-07 13:43:35 +10:00
creduce treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cscope treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
csmith treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ctags treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cwebbin treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
d-feet treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dbench treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ddd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dejagnu treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dfu-programmer treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
dfu-util treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dialog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
direvent direvent: init at 5.2 2019-12-08 16:23:58 +01:00
distcc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
doclifter treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
drush treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
easypdkprog easypdkprog: 1.2 -> 1.3 2020-07-14 14:25:50 +02:00
editorconfig-checker buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
editorconfig-core-c treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
eggdbus treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elfinfo elfinfo: 1.0.1 -> 1.1.0 2020-07-28 08:18:54 +00:00
elfkickers treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elfutils Merge master into staging-next 2020-07-11 08:59:54 +02:00
epm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
findnewest treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fsatrace treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fswatch fswatch: 1.14.0 -> 1.15.0 2020-07-20 05:25:54 +00:00
fujprog fujprog: init at 4.6 2020-08-20 14:15:23 -04:00
gdb gdb: Give it a pname 2020-08-21 11:06:13 -07:00
gdbgui pythonPackages.gdbgui: 0.13.2.0 -> 0.13.2.1 2020-07-31 00:46:59 -07:00
gede treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gengetopt treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
global global: 6.6.4 -> 6.6.5 2020-09-23 04:17:51 +00:00
gnum4 treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
go-license-detector buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
gob2 treewide: Update meta of packages hosted on gnome 2019-05-13 03:01:25 -04:00
gperf treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gpshell treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gputils gputils: add missing description 2019-11-10 08:03:06 +01:00
gtkdialog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gtkperf treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
help2man treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
hound hound:use upstream vendor 2020-09-08 16:32:39 +10:00
hydra hydra-unstable: 2020-08-04 -> 2020-09-02 2020-09-03 22:34:13 +02:00
hydra-cli buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
icon-naming-utils treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
igprof treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
indent indent: fix darwin build 2019-05-21 23:27:10 +02:00
inotify-tools treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
intel-gpu-tools intel-gpu-tools: 1.24 -> 1.25 2020-03-22 15:36:46 +00:00
intltool intltool: add perl to propagatedBuildInputs 2020-09-04 20:02:18 +02:00
iozone treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
itm-tools itm-tools: init at 2019-11-15 2020-08-24 14:14:56 +08:00
itstool Merge branch 'master' into staging-next 2020-04-13 18:50:35 +02:00
jscoverage treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kconfig-frontends treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kdbg treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
kibana treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
libtool treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
libwhich treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
linuxkit linuxkit: use buildFlagsArray 2020-07-27 16:20:00 -05:00
lit lit: 0.9.0 -> 0.10.0 2020-07-29 00:53:47 -05:00
loccount treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
lsof lsof: fix man page 2019-09-28 19:19:19 -05:00
ltrace treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
lttng-tools treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
lttng-ust treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
lttv treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
luarocks Revert "Merge pull request #79750 from doronbehar/update-luarocks" 2020-03-01 18:39:58 -08:00
macdylibbundler treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
md2man go-md2man: 1.0.6 -> 2.0.0 2020-04-12 17:26:12 +10:00
mdl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
micronucleus libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
mkcert treewide: remove obsolete attribute goPackagePath in buildGoModule derivations (#95092) 2020-08-11 21:04:55 +00:00
msitools treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ninka treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nix-build-uncached nix-build-uncached: remove the nix wrap (#96357) 2020-08-26 21:57:28 +02:00
nixbang treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nrfutil nrfutil: 5.2 -> 6.1 2020-07-13 23:25:43 +02:00
nxpmicro-mfgtools nxpmicro-mfgtools: init at 1.3.191 2020-07-06 20:43:14 +02:00
objconv objconv: 2.51 -> 2.52 2020-08-30 18:37:34 +00:00
one_gadget treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
opengrok treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
openocd openocd: 0.10.0 -> 2020-09-02 2020-09-03 15:26:10 +02:00
pahole pahole: 1.16 -> 1.17 2020-08-06 15:25:18 +03:00
patchelf patchelf: 0.11 -> 0.12 2020-08-28 02:35:55 +02:00
pkg-config pkg-config: Multiple outputs 2020-05-21 08:58:34 -04:00
pkgconf pkgconf-unwrapped: 1.7.0 -> 1.7.3 2020-06-11 00:55:56 +00:00
pmccabe treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
prelink treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
premake treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ptags ptags: init at 0.3.2 2020-05-08 09:35:53 -07:00
pwndbg pwndbg: 2019.12.09 -> 2020.07.23 2020-07-24 07:59:14 +00:00
remarkable/remarkable-toolchain remarkable-toolchain: init at 1.8-23.9.2019 2020-04-24 00:22:03 +01:00
replacement replacement: init at 0.4.4 2020-08-22 15:11:07 +02:00
reviewdog buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
rman treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rolespec treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
saleae-logic treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
scc scc: 2.12.0 -> 2.13.0 2020-09-07 15:19:22 +10:00
sccache sccache: 0.2.12 -> 0.2.13 2020-02-25 09:12:50 +02:00
semver-tool treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sipp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sloccount treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sqitch sqitchPg: fix build on darwin 2019-12-18 04:20:00 -05:00
srecord treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
stlink stlink: cmake is a nativeBuildInput 2020-04-27 12:19:12 +02:00
stm32cubemx stm32cubemx: 5.3.0 -> 5.6.1 2020-07-16 01:54:41 -04:00
stm32flash treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
strace strace: 5.7 -> 5.8 2020-08-06 20:10:26 +02:00
svls svls: init at 0.1.17 2020-09-04 12:10:14 -07:00
swig swig4: 4.0.1 -> 4.0.2 2020-08-31 17:10:48 +02:00
sysbench sysbench: 1.0.19 -> 1.0.20 2020-05-04 09:17:21 +00:00
tcptrack treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
teensy-loader-cli treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
terracognita buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
terraform-ls terraform-ls: 0.6.1 -> 0.7.0 2020-09-05 19:26:24 +00:00
terraform-lsp terraform-lsp: 0.0.9 -> 0.0.10 2020-02-19 15:36:06 +01:00
terraformer terraformer: init at 0.8.8 2020-08-24 04:20:00 +00:00
tet treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
texi2html treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
texinfo texinfo: revert to version 6.5 on Darwin 2020-09-06 09:43:32 +02:00
texlab buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
tie treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tinyprog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tockloader tockloader: 1.4.0 -> 1.5.0 2020-07-24 10:49:45 +00:00
tokei buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
travis travis: 1.8.11 -> 1.9.1 (#91282) 2020-06-22 20:47:31 +00:00
uisp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
uncrustify uncrustify: 0.70.1 -> 0.71.0 2020-05-24 16:29:19 +02:00
unifdef treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
universal-ctags treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
usb-modeswitch Merge pull request #77695 from nyanloutre/usb-modeswitch 2020-01-17 21:46:03 +08:00
vtable-dumper treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
watson-ruby treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
whatstyle whatstyle: 0.1.7 -> 0.1.8 2020-03-30 22:28:20 -07:00
wishbone-tool libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
xc3sprog libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
xxdiff xxdiff: drop the old qt4 version in favour of qt5 2019-09-09 13:13:54 +08:00
ycmd ycmd: typescript completion support 2020-04-24 19:02:31 +00:00
yodl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00