Archived
1
0
Fork 0

lint: archival: Warn about non-origin sources.

* guix/lint.scm (check-archival): Warn about non-origin sources.
This commit is contained in:
Ludovic Courtès 2021-09-10 14:59:53 +02:00
parent cb06f7c61e
commit 163d6385fd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1562,7 +1562,11 @@ Disarchive entry refers to non-existent SWH directory '~a'")
#:field 'source))))))) #:field 'source)))))))
((? content?) ((? content?)
'()))) '())))
'())))) '()))
(_
(list (make-warning package
(G_ "unsupported source type")
#:field 'source)))))
(match-lambda* (match-lambda*
(('swh-error url method response) (('swh-error url method response)
(response->warning url method response)) (response->warning url method response))