diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-09-20 15:27:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-02 17:16:43 +0200 |
commit | 085a8a0cdfef7c414c92dcf2b0ea9aa970888a62 (patch) | |
tree | 02c0aba0c6e1a9452ce7e6b98609827e7dc1d36e /gnu/packages | |
parent | b7d8dc5841f9d71c6eac4c2c8faaf7f0b5e7748e (diff) | |
download | guix-patches-085a8a0cdfef7c414c92dcf2b0ea9aa970888a62.tar guix-patches-085a8a0cdfef7c414c92dcf2b0ea9aa970888a62.tar.gz |
import/minetest: Define an updater for mods on ContentDB.
Only detecting updates is currently supported. To actually
perform the uppdates, a patch like
<https://issues.guix.gnu.org/50072#4> is required.
* guix/import/minetest.scm
(version-style,minetest-package?,latest-minetest-release): New procedures.
(%minetest-updater): New updater.
* tests/minetest.scm
(upstream-source->sexp,expected-sexp,example-package): New procedure.
(test-release,test-no-release): New macro's.
("same version","new version (dotted)","new version (date)")
("new version (git -> dotted)","dotted->date","date->dotted")
("no commit informaton, no new release")
("minetest is not a minetest mod")
("technic is a minetest mod")
("upstream-name is required"): New tests.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions