summary refs log tree commit diff
path: root/tests/guix-pack.sh
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-09-20 15:27:08 +0200
committerLudovic Courtès <ludo@gnu.org>2021-10-02 17:16:43 +0200
commit085a8a0cdfef7c414c92dcf2b0ea9aa970888a62 (patch)
tree02c0aba0c6e1a9452ce7e6b98609827e7dc1d36e /tests/guix-pack.sh
parentb7d8dc5841f9d71c6eac4c2c8faaf7f0b5e7748e (diff)
downloadguix-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 'tests/guix-pack.sh')
0 files changed, 0 insertions, 0 deletions