gnu-maintenance: 'generic-html' computes the right source URL.
authorLudovic Courtès <ludo@gnu.org>
Thu, 3 Jun 2021 10:58:41 +0000 (12:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 3 Jun 2021 11:04:20 +0000 (13:04 +0200)
commit1e8ebb16c997eeeb65ef1205e930dcce0f0e0345
treef65c38f4ba80d8b355e37d2b51871d8a64e14ebd
parentfe509e017fa1c0e3d0b057784b081def3aa621ad
gnu-maintenance: 'generic-html' computes the right source URL.

Fixes a regression introduced in
84f8bae0f85de081bbc55aa54ad6a50981a06a43, whereby the URL computed for
the new ffmpeg (for instance) would be:

  https://ffmpeg.org/ffmpeg-4.4.tar.xz

instead of:

  https://ffmpeg.org/releases/ffmpeg-4.4.tar.xz

Reported by Maxim Cournoyer.

* guix/gnu-maintenance.scm (latest-html-release)[url->release]: Adjust
computation in the case of a URI-reference with a relative path.
guix/gnu-maintenance.scm