guix/tests
Sarah Morgensen 9f526f5dad
upstream: Support updating and fetching 'git-fetch' origins.
Updaters need to be modified to return 'git-reference' objects.
This patch modifies the 'generic-git' and 'minetest' updater,
but others might need to be modified as well.

* guix/git.scm (git-reference->git-checkout): New procedure.
* guix/upstream.scm (package-update/git-fetch): New procedure.
  (<upstream-source>)[urls]: Document it can be a 'git-reference'.
  (%method-updates): Add 'git-fetch' mapping.
  (update-package-source): Support 'git-reference' sources.
  (upstream-source-compiler/url-fetch): Split off from ...
  (upstream-source-compiler): ... this, and call ...
  (upstream-source-compiler/git-fetch): ... this new procedure if the URL
  field contains a 'git-reference'.
* guix/import/git.scm
  (latest-git-tag-version): Always return two values and document that the tag
  is returned as well.
  (latest-git-release)[urls]: Use the 'git-reference' instead of the
  repository URL.
* guix/import/minetest.scm (latest-minetest-release)[urls]: Don't wrap the
  'git-reference' in a list.
* tests/minetest.scm (upstream-source->sexp): Adjust to new convention.

Co-authored-by: Maxime Devos <maximedevos@telenet.be>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-06 16:27:30 +01:00
..
keys tests: Move keys into ./tests/keys/ and add a third ed25519 key. 2021-12-22 10:53:19 +01:00
services Reinstate "services: Add a service for Jami." 2021-08-02 17:23:30 -04:00
accounts.scm
base16.scm
base32.scm
base64.scm
boot-parameters.scm Migrate to the new 'targets' field of bootloader-configuration. 2021-08-29 01:05:26 -04:00
bournish.scm
build-utils.scm
builders.scm tests: Add missing module import. 2021-09-17 01:27:40 +02:00
cache.scm
challenge.scm
channels.scm tests: Move keys into ./tests/keys/ and add a third ed25519 key. 2021-12-22 10:53:19 +01:00
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm import: cran: Fix description->package test. 2021-12-18 04:09:47 +01:00
crate.scm
cve-sample.json
cve.scm
debug-link.scm
derivations.scm daemon: Do not deduplicate files smaller than 8 KiB. 2021-11-16 14:34:28 +01:00
discovery.scm
egg.scm Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
elpa.scm import: elpa: Support ‘upstream-name’ property. 2021-12-18 22:51:55 +01:00
file-systems.scm pack: Streamline how files are included in tarballs. 2021-07-18 02:10:49 -04:00
gem.scm import: gem: Emit new-style package inputs. 2021-07-20 23:43:29 +02:00
gexp.scm gexp: 'file-append' correctly handles bases without an expander. 2021-11-27 23:06:17 +01:00
git-authenticate.scm tests: Move keys into ./tests/keys/ and add a third ed25519 key. 2021-12-22 10:53:19 +01:00
git.scm import: Add 'generic-git' updater. 2021-09-18 19:37:45 +02:00
glob.scm
gnu-maintenance.scm
go.scm tests: go: Fix typo. 2021-09-28 22:00:47 +02:00
grafts.scm
graph.scm graph: Add '--max-depth'. 2021-09-21 15:15:52 +02:00
gremlin.scm tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty. 2021-06-23 20:30:22 -07:00
guix-archive.sh
guix-authenticate.sh tests: Move keys into ./tests/keys/ and add a third ed25519 key. 2021-12-22 10:53:19 +01:00
guix-build-branch.sh
guix-build.sh Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-11-08 09:06:14 +02:00
guix-daemon.sh
guix-describe.sh
guix-download.sh
guix-environment-container.sh environment: Add tests for '--profile'. 2021-10-25 19:02:32 +02:00
guix-environment.sh Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-10-31 14:49:47 +02:00
guix-gc.sh
guix-git-authenticate.sh
guix-graph.sh
guix-hash.sh guix hash: Allow '--exclude-vcs' option using 'git' serializer. 2022-01-04 20:37:29 -05:00
guix-home.sh home: services: configuration: Support file-like objects. 2021-10-09 19:24:19 +03:00
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh
guix-package-aliases.sh
guix-package-net.sh
guix-package.sh
guix-repl.sh
guix-shell.sh Merge remote-tracking branch 'signed/master' into core-updates 2021-12-10 21:49:25 +01:00
guix-system.sh gnu: bootloader: Support multiple targets. 2021-08-29 01:05:26 -04:00
hackage.scm Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
home-import.scm home: import: Fix handling of manifest entries with specific output. 2022-01-05 23:44:18 +01:00
import-git.scm import: Add 'generic-git' updater. 2021-09-18 19:37:45 +02:00
import-utils.scm import: utils: Skip not found packages. 2021-09-01 23:41:42 +02:00
inferior.scm
ipfs.scm
lint.scm lint: Adjust patch file length check. 2021-12-17 21:04:25 -08:00
minetest.scm upstream: Support updating and fetching 'git-fetch' origins. 2022-01-06 16:27:30 +01:00
modules.scm Remove VM generation dead-code. 2021-12-23 10:54:00 +01:00
monads.scm
nar.scm daemon: Do not deduplicate files smaller than 8 KiB. 2021-11-16 14:34:28 +01:00
networking.scm
offload.scm
opam.scm tests: Adjust opam and pypi tests to simplified inputs. 2021-11-18 22:56:10 +01:00
openpgp.scm tests: Move keys into ./tests/keys/ and add a third ed25519 key. 2021-12-22 10:53:19 +01:00
pack.scm Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
packages.scm Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-10-31 14:49:47 +02:00
pki.scm
print.scm Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
processes.scm
profiles.scm profiles: Add 'package->development-manifest'. 2021-10-25 15:29:42 +02:00
publish.scm
pypi.scm tests: Adjust opam and pypi tests to simplified inputs. 2021-11-18 22:56:10 +01:00
records.scm records: Support field sanitizers. 2021-08-12 12:34:13 +02:00
scripts.scm
search-paths.scm
services.scm
sets.scm
size.scm
status.scm
store-database.scm
store-deduplication.scm daemon: Do not deduplicate files smaller than 8 KiB. 2021-11-16 14:34:28 +01:00
store-roots.scm
store.scm Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
style.scm Add 'guix style'. 2021-07-11 00:49:15 +02:00
substitute.scm
swh.scm
syscalls.scm syscalls: Add 'openpty' and 'login-tty'. 2021-10-26 12:46:27 +02:00
system.scm Migrate to the new 'targets' field of bootloader-configuration. 2021-08-29 01:05:26 -04:00
test.drv
texlive.scm tests: Replace texlive importer tests. 2021-11-18 13:17:57 +00:00
transformations.scm transformations: Add '--tune'. 2022-01-01 15:23:24 +01:00
ui.scm
union.scm
upstream.scm tests: Add failing tests for changed-inputs on new style inputs. 2022-01-05 21:17:58 +01:00
utils.scm utils: Define a target-x86-32? and target-x86-64? predicate. 2021-11-07 01:38:23 -04:00
uuid.scm
workers.scm