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


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

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

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Eriberto Mota <eriberto@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#725484: A way to override blhc false-positives
Date Sun, 26 Jul 2020 17:30:03 +0200
Message-ID <AwQL9-2pl-29@gated-at.bofh.it> (permalink)
References <suB22-1nm-17@gated-at.bofh.it> <zAaFP-8v7-1@gated-at.bofh.it> <AwIud-5Rt-3@gated-at.bofh.it> <lZUxr-12d-3@gated-at.bofh.it> <AwIud-5Rt-3@gated-at.bofh.it>
X-Original-To Simon Ruderich <simon@ruderich.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Jul 26 15:27:11 2020
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -0.7
Reply-To eriberto@debian.org, 725484@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Joao Eriberto Mota Filho <eriberto@debian.org>
X-Debian-Pr-Message followup 725484
X-Debian-Pr-Package blhc
X-Debian-Pr-Source blhc
X-Spam-Bayes score:0.0000 Tokens: new, 11; hammy, 149; neutral, 59; spammy, 1. spammytokens:0.960-+--s hammytokens:0.000-+--Salsa, 0.000-+--eriberto, 0.000-+--sk:ignore-, 0.000-+--Eriberto, 0.000-+--sk:salsa.d
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=KoDbWTJHahvzLe2zz8VKeQ6fwHmPkgPocnBdaaosNO4=; b=aol/FOcYOc610Inm6wlp3ZDLyFNkIp40HBgYLH7HHAQodyh3cwXUkIYZ8wSn8b1xHp 4BLphVdvhGHOyMYFTqyhzcIdjLT2Ej9NcehOpoGOs+Fn+2HH02dp04GYkgjuMi7zFQvm YHofz9jD6EoPLVXTY+/UvSpZimwZukaCNocvrUb1g89xqf9dVOi2PAGwBZ0xWhGp2ex0 AE2jjgtNyHn/lu5dW1UU+KFMdkGuc4Q7yRqEI5GGqpjrgxBLP6pgqDmjL52vwIXh0HPb vYcwWF4+S/wkowX3zQR1HDTMQ3S9kp55atH/LfOwgC9BhS5S1ZxRDUCN/ZbL75vEd7NK 3oJQ==
X-Gm-Message-State AOAM532wzXp4A3iYpwVMKYpOeBSN1av7tfQvmSnmGK0rA3JYW2c0wHSu eIxQovHNqNysBzcJ5xQ5i3DAusg6miQPBVH5iMX1q5c92fs=
X-Google-SMTP-Source ABdhPJyBwM+Xxpe4mjIlGKIHfYjot7wWGWCxG/fGrkt7WiMXInqMF+AgQwl+HbRWMUs1KmXhg8x+ca4BGkMd+2GXs1U=
X-Received by 2002:a05:651c:1350:: with SMTP id j16mr1866076ljb.227.1595777135759; Sun, 26 Jul 2020 08:25:35 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1615557
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 725484@bugs.debian.org
X-Original-Date Sun, 26 Jul 2020 12:25:23 -0300
X-Original-Message-ID <CAP+dXJe2kHrN0SQQYA=Fb69BPPFcTuUOq8hrdMFKDY785fPy6A@mail.gmail.com>
X-Original-References <874m46ckt3.fsf@cante.net> <20200215184109.zgd27733dqfgkpv5@bogus> <20200726062159.GA2095142@ruderich.org> <20131006111421.GA25071@darkstar.order.hcn-strela.ru> <20200726062159.GA2095142@ruderich.org>
Xref csiph.com linux.debian.bugs.dist:1019357

Show key headers only | View raw


Em dom., 26 de jul. de 2020 às 03:27, <simon@ruderich.org> escreveu:
> my first approach was that all false-positives should be
> handled/fixed in blhc so that nobody can simply "ignore" missing
> flags. But this approach doesn't scale.
>
> 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:

[GENERAL]
# To make blhc ignore this file, change to false.
enable = true

# To disable any blhc option below, change to false.
all = true
debian = true
color = true

[IGNORE]
# All lines matching with the regex shown below will be ignored by blhc.

# blhc
/t/logs/ignore-line --ignore-line.+prepare-script gcc test

# ngetty
^CC = diet -Os gcc -W$


Thanks a lot for your efforts to help.

Regards,

Eriberto

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