GNU bug report logs -
#74459
[PATCH 0/8] Linter improvements (eliminate false positives)
Previous Next
Reported by: Gabriel Wicki <gabriel <at> erlikon.ch>
Date: Thu, 21 Nov 2024 12:41:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 12 Dec 2024 12:07:41 +0100
with message-id <8734itcg76.fsf <at> gnu.org>
and subject line Re: [bug#74459] comments
has caused the debbugs.gnu.org bug report #74459,
regarding [PATCH 0/8] Linter improvements (eliminate false positives)
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
74459: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74459
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi there!
In my recent venture where i linted each and every packages' description and synopsis, I found quite a bunch of false positives. These usually don't hurt when we lint single packages, but are quite annoying when linting all of them. Hence I summed my findings up in some code improvements.
Have a nice week!
gabber
Gabriel Wicki (8):
guix: lint: Fix indentation.
guix: lint: Refine description start check logic.
guix: lint: Allow texinfo markup at beginning of description.
guix: lint: Allow texinfo markup at beginning of synopsis.
guix: lint: Prevent false positives in description typo check.
guix: lint: Ignore initials from double space check.
guix: lint: More abbreviations.
gnu: Move depending packages next to each other.
gnu/packages/cpp.scm | 50 +++++++++++++++++------------------
guix/lint.scm | 56 +++++++++++++++++++++++++--------------
tests/lint.scm | 62 +++++++++++++++++++++++++++++++++++++-------
3 files changed, 114 insertions(+), 54 deletions(-)
base-commit: 33665c52c4670bc3b4d337c89ac9cc6c4c69b26f
--
2.46.0
[Message part 3 (message/rfc822, inline)]
Hi,
Gabriel Wicki <gabriel <at> erlikon.ch> skribis:
> Thanks for your review, Ludo'! I've addressed your concern and came up
> with an even more readable solution -- I hope you agree.
Yes, that’s nice. Applied, thanks!
I removed “guix:” from commit subject lines and also followed up with a
commit that pre-compiles the regexp instead of recompiling it every time
via ‘string-match’ (it can make a difference when linting a large number
of packages as is the case in the Data Service for example).
Thanks!
Ludo’.
This bug report was last modified 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.