All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Alexander Kanavin <alex.kanavin@gmail.com>,
	 openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: Re: [OE-core] [PATCH 01/55] insane.bbclass: add a SUMMARY/HOMEPAGE check (oe-core recipes only)
Date: Wed, 14 Jun 2023 12:33:27 +0100	[thread overview]
Message-ID: <e11a1b213cb0a90b5d4cba87c7214369be182bae.camel@linuxfoundation.org> (raw)
In-Reply-To: <20230614092918.4065570-1-alex@linutronix.de>

On Wed, 2023-06-14 at 11:28 +0200, Alexander Kanavin wrote:
> This was done in a selftest, but that is too late and creates
> friction in integration as errors are not seen until autobuilder fails.
> 
> Bonus fix: SUMMARY check wasn't even working, as in the absence
> of one set in the recipe there is a default value set from bitbake.conf.
> 
> I left DESCRIPTION check out for now, as many recipes don't actually
> have it, and it's set from SUMMARY (plus a dot) if absent.
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  meta/classes-global/insane.bbclass         | 26 ++++++++++++++++
>  meta/lib/oeqa/selftest/cases/distrodata.py | 36 ----------------------
>  2 files changed, 26 insertions(+), 36 deletions(-)

I think this change is in the right direction but there are a few
things I think we need to tweak here.

a) I don't like the " if not '/meta/recipes-'" check at all. We now
have the groundwork for layer overrides in bitbake so I'd like to
complete that, then we can make some of these WARN_QA entries as layer
specific. This has the added bounus that other layers and more easily
adopt the tests and raise the bar on quality.

b) I really really don't want a do_fetch postfunc doing something that
isn't fetching. I know why you've done this, so it appears early in the
build and so on but it doesn't belong there.

There are other sanity tests at parse time in anonymous python which
also bother me since the increase parsing time and also shouldn't be
there. Those often aren't gated on ERROR_QA/WARN_QA options either so
can't be configured.

Given all this, do we want to consider a new task which covers these
kinds of tests? A new task does have certain overhead but I'm starting
to think we might need to do that. Of course there is then a dillema
about which task it would need to run before.

c) There is an issue that warnings are not restored from sstate. If you
rerun this build after seeing the warnings, the warnings will not show
again. This is going to confuse users and cause issues to get missed on
the autobuilder. There is an open bug for this one, it isn't an easy
fix unfortunately.

Cheers,

Richard


  parent reply	other threads:[~2023-06-14 11:33 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14  9:28 [PATCH 01/55] insane.bbclass: add a SUMMARY/HOMEPAGE check (oe-core recipes only) Alexander Kanavin
2023-06-14  9:28 ` [PATCH 02/55] insane.bbclass: add a RECIPE_MAINTAINER " Alexander Kanavin
2023-06-14  9:28 ` [PATCH 03/55] apmd: remove recipe and apm MACHINE_FEATURE Alexander Kanavin
2023-06-14  9:28 ` [PATCH 04/55] qemu: a pending patch was submitted and accepted upstream Alexander Kanavin
2023-06-14  9:28 ` [PATCH 05/55] sysfsutils: fetch a supported fork from github Alexander Kanavin
2023-06-14  9:28 ` [PATCH 06/55] sysfsutils: update 2.1.0 -> 2.1.1 Alexander Kanavin
2023-06-15 15:10   ` [OE-core] " Ross Burton
2023-06-15 15:24     ` Ross Burton
2023-06-15 17:40       ` Alexander Kanavin
2023-06-14  9:28 ` [PATCH 07/55] grub: submit determinism.patch upstream Alexander Kanavin
2023-06-14  9:28 ` [PATCH 08/55] ghostscript: remove mkdir-p.patch Alexander Kanavin
2023-06-16 10:39   ` [OE-core] " Ross Burton
2023-06-14  9:28 ` [PATCH 09/55] apr: upgrade 1.7.3 -> 1.7.4 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 10/55] at-spi2-core: upgrade 2.48.0 -> 2.48.3 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 11/55] btrfs-tools: upgrade 6.3 -> 6.3.1 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 12/55] attr: package /etc/xattr.conf with the library that consumes it Alexander Kanavin
2023-06-14  9:28 ` [PATCH 13/55] glib-2.0: backport a patch to address ptest fails caused by coreutils 9.2+ Alexander Kanavin
2023-06-15 22:26   ` [OE-core] " Alexandre Belloni
2023-06-15 22:34     ` Alexandre Belloni
2023-06-16  8:17       ` Alexander Kanavin
2023-06-14  9:28 ` [PATCH 14/55] coreutils: upgrade 9.1 -> 9.3 Alexander Kanavin
2023-06-15  8:14   ` [OE-core] " Ross Burton
2023-06-15  8:57     ` Alexander Kanavin
2023-06-14  9:28 ` [PATCH 15/55] diffoscope: upgrade 236 -> 242 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 16/55] dnf: upgrade 4.14.0 -> 4.16.1 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 17/55] ethtool: upgrade 6.2 -> 6.3 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 18/55] gawk: upgrade 5.2.1 -> 5.2.2 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 19/55] gdb: upgrade 13.1 -> 13.2 Alexander Kanavin
2023-06-14 17:12   ` [OE-core] " Khem Raj
2023-06-14  9:28 ` [PATCH 20/55] gnupg: upgrade 2.4.0 -> 2.4.2 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 21/55] gobject-introspection: upgrade 1.74.0 -> 1.76.1 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 22/55] kmscube: upgrade to latest revision Alexander Kanavin
2023-06-14  9:28 ` [PATCH 23/55] libmodulemd: upgrade 2.14.0 -> 2.15.0 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 24/55] libuv: license file was split in two in the 1.45.0 version update Alexander Kanavin
2023-06-14  9:28 ` [PATCH 25/55] libx11: upgrade 1.8.4 -> 1.8.5 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 26/55] libxcrypt: upgrade 4.4.33 -> 4.4.34 Alexander Kanavin
2023-06-14 17:11   ` [OE-core] " Khem Raj
2023-06-15  7:24     ` Alexander Kanavin
2023-06-14  9:28 ` [PATCH 27/55] libxslt: upgrade 1.1.37 -> 1.1.38 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 28/55] linux-firmware: upgrade 20230404 -> 20230515 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 29/55] ltp: upgrade 20230127 -> 20230516 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 30/55] mesa: upgrade 23.0.3 -> 23.1.1 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 31/55] meson: upgrade 1.1.0 -> 1.1.1 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 32/55] mmc-utils: upgrade to latest revision Alexander Kanavin
2023-06-14  9:28 ` [PATCH 33/55] nettle: upgrade 3.8.1 -> 3.9 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 34/55] nghttp2: upgrade 1.52.0 -> 1.53.0 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 35/55] parted: upgrade 3.5 -> 3.6 Alexander Kanavin
2023-06-14  9:28 ` [PATCH 36/55] puzzles: upgrade to latest revision Alexander Kanavin
2023-06-14  9:29 ` [PATCH 37/55] python3: upgrade 3.11.2 -> 3.11.3 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 38/55] python3-certifi: upgrade 2022.12.7 -> 2023.5.7 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 39/55] python3-docutils: upgrade 0.19 -> 0.20.1 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 40/55] python3-flit-core: upgrade 3.8.0 -> 3.9.0 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 41/55] python3-importlib-metadata: upgrade 6.2.0 -> 6.6.0 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 42/55] python3-pyasn1: upgrade 0.4.8 -> 0.5.0 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 43/55] python3-pyopenssl: upgrade 23.1.1 -> 23.2.0 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 44/55] python3-sphinx: remove BSD-3-Clause from LICENSE Alexander Kanavin
2023-06-14  9:29 ` [PATCH 45/55] serf: upgrade 1.3.9 -> 1.3.10 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 46/55] shaderc: upgrade 2023.2 -> 2023.4 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 47/55] squashfs-tools: upgrade 4.5.1 -> 4.6.1 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 48/55] strace: upgrade 6.2 -> 6.3 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 49/55] vala: upgrade 0.56.6 -> 0.56.8 Alexander Kanavin
2023-06-16 16:51   ` [OE-core] " Khem Raj
2023-06-14  9:29 ` [PATCH 50/55] vulkan: upgrade 1.3.243.0 -> 1.3.250.0 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 51/55] wget: upgrade 1.21.3 -> 1.21.4 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 52/55] wireless-regdb: upgrade 2023.02.13 -> 2023.05.03 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 53/55] xf86-input-libinput: upgrade 1.2.1 -> 1.3.0 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 54/55] xf86-input-mouse: upgrade 1.9.4 -> 1.9.5 Alexander Kanavin
2023-06-14  9:29 ` [PATCH 55/55] zstd: upgrade 1.5.4 -> 1.5.5 Alexander Kanavin
2023-06-14 11:33 ` Richard Purdie [this message]
2023-06-14 15:02   ` [OE-core] [PATCH 01/55] insane.bbclass: add a SUMMARY/HOMEPAGE check (oe-core recipes only) Ross Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e11a1b213cb0a90b5d4cba87c7214369be182bae.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alex.kanavin@gmail.com \
    --cc=alex@linutronix.de \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.