Hi, Ludovic Courtès <[email protected]> skribis:
> How about the attached patch? > > $ ./pre-inst-env guix lint -c archival ruby-sorbet-runtime racket > gnu/packages/ruby.scm:14081:12: > [email protected]: source is not an > origin, it cannot be archived > > (The version string of this package looks way too long.) > > Thanks, > Ludo’. > > From 153cb8e5782946bd0c9de22022a475ae9fef70ea Mon Sep 17 00:00:00 2001 > Message-Id: > <153cb8e5782946bd0c9de22022a475ae9fef70ea.1683184269.git.l...@gnu.org> > From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <[email protected]> > Date: Thu, 4 May 2023 09:09:03 +0200 > Subject: [PATCH] lint: archival: Warn against non-origin package sources. > > Suggested by Maxim Cournoyer <[email protected]> > and Simon Tournier <[email protected]>. > > * guix/lint.scm (check-archival): Add 'local-file?' clause. Clarify > message in case (package-source package) is not an origin. > * tests/lint.scm ("archival: not an origin"): New test. Pushed as 71fd35c1d55988c413a37c7d15006b4d38d7dde7. Let me know if anything’s amiss! Ludo’.
