aboutsummaryrefslogtreecommitdiff
path: root/tests/cve.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2024-02-19 17:53:52 +0100
committerLudovic Courtès <ludo@gnu.org>2024-03-09 18:55:49 +0100
commit47a0e5d9fb2209a27c2bffa163becbcb3356bf00 (patch)
tree62072dcf7565f88fdb30c74dbc070d3102234a70 /tests/cve.scm
parent3328dec08757a14ae47f4cbd7017b7518adc689e (diff)
downloadguix-47a0e5d9fb2209a27c2bffa163becbcb3356bf00.tar.gz
guix-47a0e5d9fb2209a27c2bffa163becbcb3356bf00.zip
lint: archival: Trigger “Save Code Now” for VCSes other than Git.
Until now, ‘save-origin’ would be called only when given a <git-reference>. With this change, ‘save-origin’ gets called for other version control systems as well. * guix/lint.scm (swh-response->warning): New procedure, formerly in ‘check-archival’. (vcs-origin, save-package-source): New procedures. (check-archival)[response->warning]: Remove. Call ‘save-package-source’ in both the Git and the non-Git cases. * tests/lint.scm ("archival: missing svn revision"): New test. Change-Id: I535e4ec89488faf83bfa544d5e4935fa73ef54fb
Diffstat (limited to 'tests/cve.scm')
0 files changed, 0 insertions, 0 deletions