import: Add 'generic-git' updater.
authorXinglu Chen <public@yoctocell.xyz>
Fri, 17 Sep 2021 08:04:49 +0000 (10:04 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 18 Sep 2021 17:37:45 +0000 (19:37 +0200)
commit59ee10754eddddb99e4a80b9e18aa12ed1b3d77a
tree0e5b7e9961218577b7b4f8dcf682f8fec3403cc9
parent6597f80839142cd341cbf6cee2f34eaf4de14533
import: Add 'generic-git' updater.

* guix/git.scm (ls-remote-refs): New procedure.
* tests/git.scm ("remote-refs" "remote-refs: only tags"): New tests.
* guix/import/git.scm: New file.
* doc/guix.texi (Invoking guix refresh): Document it.
* tests/import-git.scm: New test file.
* Makefile.am (MODULES, SCM_TESTS): Register the new files.

Co-authored-by: Sarah Morgensen <iskarian@mgsn.dev>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Makefile.am
doc/guix.texi
guix/git.scm
guix/import/git.scm [new file with mode: 0644]
tests/git.scm
tests/import-git.scm [new file with mode: 0644]