diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-27 14:56:23 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-27 14:59:42 +0100 |
commit | 42314ffa072f31cc1cb44df38b1f8fcca19d9d3c (patch) | |
tree | 528aba2eec665b8df8288420e5902681f5cc8f21 /gnu | |
parent | 1ee3d2dcb8892b2ed1a0212fdd6ac2c47f2c8da2 (diff) | |
download | guix-42314ffa072f31cc1cb44df38b1f8fcca19d9d3c.tar guix-42314ffa072f31cc1cb44df38b1f8fcca19d9d3c.tar.gz |
refresh: Update the source code URL.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>
in <https://bugs.gnu.org/35010>.
* guix/upstream.scm (update-package-source): Take 'source' instead of
'version' as the second argument.
[update-expression]: Change to take 'replacements', a list of
replacement pairs.
Compute OLD-URL and NEW-URL and replace the dirname of the OLD-URL with
that of NEW-URL.
* guix/scripts/refresh.scm (update-package): Adjust call to
'update-package-source' accordingly.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions