diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-08-11 11:21:42 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-08-26 11:38:56 -0400 |
commit | bdaef69556f68595e5ec0db1710bf8ad208abe20 (patch) | |
tree | 5fd394bc8aec998a2bae30205ce17600cfe6f033 /tests/packages.scm | |
parent | 6953fb924111c400a064255d8274a2caa68f7436 (diff) | |
download | guix-bdaef69556f68595e5ec0db1710bf8ad208abe20.tar guix-bdaef69556f68595e5ec0db1710bf8ad208abe20.tar.gz |
gnu-maintenance: Allow mirror URLs to fallback to the generic HTML updater.
* guix/gnu-maintenance.scm (http-url?): Extract from html-updatable-package?,
modify to return the HTTP URL, and support the mirror:// scheme.
(%disallowed-hosting-sites): New variable, extracted from
html-updatable-package.
(html-updatable-package?): Rewrite a mirror:// URL to an HTTP or HTTPS one.
* guix/download.scm (%mirrors): Update comment.
Diffstat (limited to 'tests/packages.scm')
0 files changed, 0 insertions, 0 deletions