aboutsummaryrefslogtreecommitdiff
path: root/tests/gnu-maintenance.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-08-11 11:21:42 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-08-26 11:38:56 -0400
commitbdaef69556f68595e5ec0db1710bf8ad208abe20 (patch)
tree5fd394bc8aec998a2bae30205ce17600cfe6f033 /tests/gnu-maintenance.scm
parent6953fb924111c400a064255d8274a2caa68f7436 (diff)
downloadguix-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/gnu-maintenance.scm')
0 files changed, 0 insertions, 0 deletions