unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guix lint should support overrides
@ 2022-08-23 22:22 Vagrant Cascadian
  2022-08-24  8:08 ` zimoun
  2022-09-02 16:28 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 2 replies; 9+ messages in thread
From: Vagrant Cascadian @ 2022-08-23 22:22 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

I love guix lint! The vast majority of the time I even use it!

But... sometimes a guix lint suggestion isn't appropriate, at which
point it becomes noise for future contributors of that package.

tt might not be possible, or at least not worth the effort, to improve
guix lint to catch that particular case. Sometimes human judgement is
still valuable.

But, because there is no way to silence a particular inappropriate
suggestion from guix lint, it becomes noise, and each person evaluating
the results of the package in the future then needs to take time to
figure out if guix lint is wrong, or something should be changed.

You could add comments to the package about which lint warnings are
inappropriate, but would it be better if you could just override the
suggestion programatically, hiding it from the eyes and minds of the
valuable and limited humans with their great powers of judgement?

Debian's correlary, lintian, has a mechanism to do exactly this, where
you list the various things that aren't appropriate, and can even
comment on why, in a way that lintian basically hides the issue from
further attention.


The downside is this becomes one more thing to maintain... in exchange
for making the output having a higher degree of relevency in "guix lint"
output, so you can be more confident that someone hasn't already looked
at a given issue and decided it was best to just ignore it (not that
that will not ever happen anymore, but still).


Thoughts?


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-05 17:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 22:22 guix lint should support overrides Vagrant Cascadian
2022-08-24  8:08 ` zimoun
2022-08-24 20:47   ` Maxime Devos
2022-09-02 13:40     ` Ludovic Courtès
2022-08-24 21:06   ` Vagrant Cascadian
2022-09-05 16:52     ` zimoun
2022-09-05 17:43       ` Vagrant Cascadian
2022-08-25 11:31   ` Efraim Flashner
2022-09-02 16:28 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).