Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1019432

Bug#725484: A way to override blhc false-positives

From simon@ruderich.org
Newsgroups linux.debian.bugs.dist
Subject Bug#725484: A way to override blhc false-positives
Date 2020-07-27 08:20 +0200
Message-ID <Ax4Ep-2AW-1@gated-at.bofh.it> (permalink)
References <lZUxr-12d-3@gated-at.bofh.it> <AwV85-58D-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Jul 26, 2020 at 12:25:23PM -0300, Eriberto Mota wrote:
> Em dom., 26 de jul. de 2020 às 03:27, escreveu:
>> Please have a look at the attached patch. It permits embedding
>> the "blhc: ignore-line-regexp: REGEXP" in the build log. All
>> lines (fully) matching REGEXP are then ignored (just like the
>> --ignore-line option). What do you think?
>>
>> Eriberto: Would this also work for the CI issues you mentioned in
>> #962990?
>
> Hi Simon,
>
> My last suggestion in #962990 is inappropriate because some systems in
> Debian, as Salsa CI pipelines, run blhc automatically. Please, see
> examples here[1][2][3][4].
>
> [1] https://salsa.debian.org/debian/blhc/-/pipelines/158444
> [2] https://salsa.debian.org/debian/blhc/-/blob/debian/master/debian/salsa-ci.yml
> [3] https://salsa.debian.org/debian/ngetty/-/pipelines/149456
> [4] https://salsa.debian.org/debian/ngetty/-/blob/debian/master/debian/salsa-ci.yml
>
> A manual option as --ignore-line will work for a final user but will
> fail for automated systems as Salsa. So, I suggest a configuration
> file in /etc/ with some rules. Thus, we will can send new rules to
> allow you to release new versions with preinstalled rules. I think
> this config file can have two sections, as shown below:
>
> [snip]

On Sun, Jul 26, 2020 at 05:05:05PM -0300, Eriberto wrote:
> Updating... The  /etc file is interesting because I will can provide
> patches in Debian package to solve some bugs related to false
> positives until you release a new upstream version.

I think a file in /etc and manually managing it has the same
issues as managing false positives in blhc itself. It prevents
the package maintainer from handling false positives without
outside help (unlike linitian which can be adapted by the package
maintainer).

Did you look at my approach about embedding the ignores inside
the build log? This should work for local builds, CI and
automatic build log parsing. And it can be fully controlled by
the package maintainer. However, I never used the Salsa CI
pipeline so feedback if that works (using my patch) is much
appreciated.

Regards
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#725484: A way to override blhc false-positives simon@ruderich.org - 2020-07-26 08:40 +0200
  Bug#725484: A way to override blhc false-positives Eriberto Mota <eriberto@debian.org> - 2020-07-26 17:30 +0200
    Bug#725484: A way to override blhc false-positives Eriberto <eriberto@eriberto.pro.br> - 2020-07-26 22:10 +0200
      Bug#725484: A way to override blhc false-positives simon@ruderich.org - 2020-07-27 08:20 +0200
        Bug#725484: A way to override blhc false-positives Eriberto <eriberto@eriberto.pro.br> - 2020-07-29 03:50 +0200
        Bug#725484: A way to override blhc false-positives Eriberto <eriberto@eriberto.pro.br> - 2020-07-29 04:00 +0200
          Bug#725484: A way to override blhc false-positives simon@ruderich.org - 2020-07-29 08:10 +0200

csiph-web