Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	Alexander Kanavin <alex.kanavin@gmail.com>,
	Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Ross Burton <Ross.Burton@arm.com>,
	OE-core <openembedded-core@lists.openembedded.org>
Subject: RE: [OE-core] [PATCH 1/3] insane: Improve patch warning/error handling
Date: Sun, 22 Jan 2023 12:46:36 +0000	[thread overview]
Message-ID: <b354270257b047d5bcfcc73a7ac13270@axis.com> (raw)
In-Reply-To: <3b311ccc982ae39cc72c428ddc97386fe8d653e7.camel@linuxfoundation.org>

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Richard Purdie
> Sent: den 21 januari 2023 00:01
> To: Alexander Kanavin <alex.kanavin@gmail.com>; Bruce Ashfield
> <bruce.ashfield@gmail.com>
> Cc: Ross Burton <Ross.Burton@arm.com>; OE-core <openembedded-
> core@lists.openembedded.org>
> Subject: Re: [OE-core] [PATCH 1/3] insane: Improve patch warning/error
> handling
> 
> On Fri, 2023-01-20 at 20:38 +0100, Alexander Kanavin wrote:
> > On Fri, 20 Jan 2023 at 20:29, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> > > Because I'm simply not going to insist on it in all the patches. I
> > > need all the contributions I can get, and I'm not going to
> > > pedantically insist on that.
> > >
> > > meta-virt is not oe-core, I do the lifting. Therefore, if bitbake
> > > errors, I have to fix it.
> >
> > But you do not need to insist on the needed metadata or fix it after
> > the fact. Bitbake will do the insisting for you, when contributors
> > test the change locally *before* they send it to you. If bitbake
> > errors on your side, this means they never built their contribution,
> > and you should raise a concern for that reason, and not for the
> > missing metadata.
> 
> It isn't that simple since this is a configurable QA warning, all it
> takes is one layer/distro to disable it and it is disabled for all
> layers that user works on.
> 
> This is why "core" is a separate config to "noncore" but we can't have
> a config for every layer and even if we did, people would still turn it
> off.

Rather than having separate QA tests for "patch-status-core" and 
"patch-status-noncore", couldn't we have a single "patch-status" and then 
configure it using a separate variable that specifies the layers that 
require the Upstream-Status trailer? Then each layer with this requirement 
can add itself in its layer.conf file and thus it is up to the maintainer 
to decide whether they want it or not.

> If it is turned off, it means people send patches and Bruce has to fix
> them, or ask them to resubmit which is extra overhead to the
> maintainer.
> 
> I've been thinking about this and if I do make it the default, it will
> mean warnings show up on other CI systems and layer maintainers will
> get patches or complaints about the warnings. I'm not sure I really
> want to get into this.
> 
> I do think it is something the project should be doing but I don't want
> to burn out our existing maintainers. Since there isn't wide community
> buy in, I suspect I should just drop the idea.
> 
> Cheers,
> 
> Richard

//Peter


  reply	other threads:[~2023-01-22 12:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18 14:22 [PATCH 1/3] insane: Improve patch warning/error handling Richard Purdie
2023-01-18 14:22 ` [PATCH 2/3] pseudo: Update to pull in linux-libc-headers race fix Richard Purdie
2023-01-18 14:22 ` [PATCH 3/3] pseudo: Switch back to the master branch Richard Purdie
2023-01-18 16:46   ` [OE-core] " Luca Ceresoli
2023-01-18 17:04     ` Richard Purdie
2023-01-19  9:24 ` [OE-core] [PATCH 1/3] insane: Improve patch warning/error handling Luca Ceresoli
2023-01-19  9:57   ` Richard Purdie
2023-01-19 13:55     ` Bruce Ashfield
2023-01-19 14:40       ` Richard Purdie
2023-01-19 14:52         ` Bruce Ashfield
2023-01-19 14:55           ` Richard Purdie
2023-01-19 14:56       ` Ross Burton
2023-01-20 14:26         ` Bruce Ashfield
2023-01-20 19:10           ` Alexander Kanavin
2023-01-20 19:29             ` Bruce Ashfield
2023-01-20 19:38               ` Alexander Kanavin
2023-01-20 23:00                 ` Richard Purdie
2023-01-22 12:46                   ` Peter Kjellerstedt [this message]
2023-01-22 22:19                     ` Richard Purdie
2023-01-23  8:08                       ` Mikko Rapeli
2023-01-23  9:18                         ` Alexander Kanavin
     [not found] ` <173BAB83B1A056B8.24231@lists.openembedded.org>
2023-01-19  9:52   ` Luca Ceresoli

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=b354270257b047d5bcfcc73a7ac13270@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=Ross.Burton@arm.com \
    --cc=alex.kanavin@gmail.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox