guix/tests
Maxim Cournoyer 6953fb9241
gnu-maintenance: Add support to rewrite version in URL path.
Fixes <https://issues.guix.gnu.org/64015>.
Fixes <https://issues.guix.gnu.org/65304>.

Previously, the generic HTML updater would only look for the list of files
found at the parent of its current source URL, ignoring that the URL may embed
the version elsewhere in its path.  This could cause 'guix refresh' to report
no updates available, while in fact there were, such as for 'libuv'.

* guix/gnu-maintenance.scm (strip-trailing-slash): New procedure.
(%version-rx): New variable.
(rewrite-url): New procedure.
(import-html-release): New rewrite-url? argument.  When true, use the above
procedure.
(import-html-updatable-release): Call import-html-release with #:rewrite-url
set to #t.
* tests/gnu-maintenance.scm ("rewrite-url, to-version specified")
("rewrite-url, without to-version"): New tests.
2023-08-26 11:38:56 -04:00
..
keys
services services: Add pam-mount-volume-service-type. 2023-08-10 09:26:08 +02:00
accounts.scm
base16.scm
base32.scm
base64.scm
boot-parameters.scm
bournish.scm
build-emacs-utils.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
channels.scm
combinators.scm
containers.scm
cpan.scm tests: Ensure 'cpan' updater test does not access the network. 2023-06-09 14:19:14 +02:00
cpio.scm
cran.scm
crate.scm
cve-sample.json
cve.scm
debug-link.scm
derivations.scm
discovery.scm
egg.scm
elm.scm
elpa.scm tests: Ensure 'elpa' test does not access the network. 2023-06-09 14:19:14 +02:00
file-systems.scm
gem.scm tests: Use quasiquoted 'match' patterns for package sexps. 2023-05-31 23:50:06 +02:00
gexp.scm
git-authenticate.scm
git.scm
glob.scm
gnu-maintenance.scm gnu-maintenance: Add support to rewrite version in URL path. 2023-08-26 11:38:56 -04:00
go.scm
grafts.scm
graph.scm tests: Adjust 'node-back-edges' test for 'bag' to system-dependent glibc. 2023-08-21 16:16:47 +02:00
gremlin.scm
guix-archive.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-authenticate.sh
guix-build-branch.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-build.sh ui: 'load*' accepts /dev/fd/N files pointing to a pipe. 2023-08-17 17:33:53 +02:00
guix-daemon.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-describe.sh
guix-download.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-environment-container.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-environment.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-gc.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-git-authenticate.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-graph.sh tests: guix-graph.sh: Fix expected path from emacs to libffi. 2023-04-28 19:50:39 +02:00
guix-hash.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-home.sh tests: guix-home: Fix description search for home-mcron. 2023-08-25 17:45:47 +02:00
guix-lint.sh
guix-locate.sh Add 'guix locate'. 2023-06-18 23:44:29 +02:00
guix-pack-localstatedir.sh
guix-pack-relocatable.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-pack.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-package-aliases.sh tests: Relax two tests that expected a non-zero error code. 2023-04-21 17:09:46 +02:00
guix-package-net.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-package.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-refresh.sh refresh: Add --target-version option. 2023-08-15 09:38:29 -04:00
guix-repl.sh
guix-shell-export-manifest.sh
guix-shell.sh tests: guix-shell: Use bash instead of user's $SHELL. 2023-08-25 14:23:43 +02:00
guix-style.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-system.sh tests: Fix checks for expected failures. 2023-04-21 16:16:38 +02:00
guix-time-machine.sh scripts: time-machine: Error when attempting to visit too old commits. 2023-08-16 21:34:13 -04:00
hackage.scm
hexpm.scm tests: Use quasiquoted 'match' patterns for package sexps. 2023-05-31 23:50:06 +02:00
home-import.scm
home-services.scm
http-client.scm
import-git.scm
import-github.scm
import-utils.scm import/utils: beautify-description: Wrap class names in @code{...}. 2023-07-19 15:53:28 +02:00
inferior.scm
ipfs.scm
lint.scm lint: archival: Warn against non-origin package sources. 2023-05-06 17:12:45 +02:00
minetest.scm tests: Adjust minetest tests. 2023-06-09 14:19:14 +02:00
modules.scm
monads.scm
nar.scm
networking.scm services: ntp-service-type: Remove deprecated server as strings support. 2023-04-07 17:56:07 +02:00
offload.scm
opam.scm tests: Use quasiquoted 'match' patterns for package sexps. 2023-05-31 23:50:06 +02:00
openpgp.scm
pack.scm tests: pack: Fix indentation. 2023-07-18 16:56:06 -04:00
packages.scm tests: packages: Set system for expected result of package->bag. 2023-08-18 16:09:29 +02:00
pki.scm
print.scm
processes.scm
profiles.scm
publish.scm
pypi.scm tests: Use quasiquoted 'match' patterns for package sexps. 2023-05-31 23:50:06 +02:00
read-print.scm read-print: Correctly read "(. x)". 2023-05-05 23:47:48 +02:00
records.scm tests: records: Add test for ellipsis in body. 2023-06-04 10:59:28 +02:00
rpm.scm
scripts.scm
search-paths.scm
services.scm services: 'modify-services' preserves service ordering. 2023-06-06 11:54:39 +02:00
sets.scm
size.scm
status.scm
store-database.scm
store-deduplication.scm
store-roots.scm tests: store-roots: Remove bogus test. 2023-08-18 16:10:08 +02:00
store.scm
style.scm style: Add 'arguments' styling rule. 2023-05-18 20:01:32 +02:00
substitute.scm substitute: Gracefully retry after failed partial downloads. 2023-06-08 22:54:58 +02:00
swh.scm
syscalls.scm
system.scm
test.drv
texlive.scm tests: Fix texlive->guix-package test. 2023-08-13 02:00:00 +02:00
transformations.scm transformations: Add '--with-configure-flag'. 2023-05-04 17:06:44 +02:00
ui.scm
union.scm
upstream.scm tests: upstream: Restore test that was skipped. 2023-05-31 23:25:25 +02:00
utils.scm
uuid.scm
workers.scm