diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2024-02-19 17:53:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-03-09 18:55:49 +0100 |
commit | 47a0e5d9fb2209a27c2bffa163becbcb3356bf00 (patch) | |
tree | 62072dcf7565f88fdb30c74dbc070d3102234a70 /tests/pypi.scm | |
parent | 3328dec08757a14ae47f4cbd7017b7518adc689e (diff) |
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/pypi.scm')
0 files changed, 0 insertions, 0 deletions