* Custom QA Checks
@ 2022-08-07 19:21 Paul Wicks
2022-08-08 6:18 ` [yocto] " Alexander Kanavin
2022-08-17 13:53 ` Ross Burton
0 siblings, 2 replies; 4+ messages in thread
From: Paul Wicks @ 2022-08-07 19:21 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
Is it possible to create additional QA checks such that they apply to all
recipes automatically? Or even just to all recipes in a given layer?
-Paul Wicks
[-- Attachment #2: Type: text/html, Size: 292 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Custom QA Checks
2022-08-07 19:21 Custom QA Checks Paul Wicks
@ 2022-08-08 6:18 ` Alexander Kanavin
2022-08-17 13:53 ` Ross Burton
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2022-08-08 6:18 UTC (permalink / raw)
To: Paul Wicks; +Cc: Yocto-mailing-list
I don't have a ready example, but you can start by reading
meta/classes/insane.class - I think all of the things defined in it
are extensible from a different class.
Alex
On Sun, 7 Aug 2022 at 21:21, Paul Wicks <pwicks86@gmail.com> wrote:
>
> Is it possible to create additional QA checks such that they apply to all recipes automatically? Or even just to all recipes in a given layer?
>
> -Paul Wicks
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#57791): https://lists.yoctoproject.org/g/yocto/message/57791
> Mute This Topic: https://lists.yoctoproject.org/mt/92877742/1686489
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Custom QA Checks
2022-08-07 19:21 Custom QA Checks Paul Wicks
2022-08-08 6:18 ` [yocto] " Alexander Kanavin
@ 2022-08-17 13:53 ` Ross Burton
2022-08-23 15:41 ` Paul Wicks
1 sibling, 1 reply; 4+ messages in thread
From: Ross Burton @ 2022-08-17 13:53 UTC (permalink / raw)
To: pwicks86; +Cc: yocto
On 7 Aug 2022, at 20:21, Paul Wicks via lists.yoctoproject.org <pwicks86=gmail.com@lists.yoctoproject.org> wrote:
>
> Is it possible to create additional QA checks such that they apply to all recipes automatically? Or even just to all recipes in a given layer?
Yes, and yes.
For example, I have https://github.com/rossburton/meta-ross/blob/master/classes/insanitier.bbclass
This defines some new sanity checks, and adds them to WARN_QA so that they’re enabled and classified as warnings (use ERROR_QA if you want them to be errors).
Simply inheriting the class in your local or distro configuration with INHERIT += is enough to enable them for all recipes.
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Custom QA Checks
2022-08-17 13:53 ` Ross Burton
@ 2022-08-23 15:41 ` Paul Wicks
0 siblings, 0 replies; 4+ messages in thread
From: Paul Wicks @ 2022-08-23 15:41 UTC (permalink / raw)
To: Ross Burton; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
Thanks for the example, very helpful!
-Paul Wicks
On Wed, Aug 17, 2022 at 6:53 AM Ross Burton <Ross.Burton@arm.com> wrote:
> On 7 Aug 2022, at 20:21, Paul Wicks via lists.yoctoproject.org <pwicks86=
> gmail.com@lists.yoctoproject.org> wrote:
> >
> > Is it possible to create additional QA checks such that they apply to
> all recipes automatically? Or even just to all recipes in a given layer?
>
> Yes, and yes.
>
> For example, I have
> https://github.com/rossburton/meta-ross/blob/master/classes/insanitier.bbclass
>
> This defines some new sanity checks, and adds them to WARN_QA so that
> they’re enabled and classified as warnings (use ERROR_QA if you want them
> to be errors).
>
> Simply inheriting the class in your local or distro configuration with
> INHERIT += is enough to enable them for all recipes.
>
> Ross
[-- Attachment #2: Type: text/html, Size: 1537 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-23 15:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 19:21 Custom QA Checks Paul Wicks
2022-08-08 6:18 ` [yocto] " Alexander Kanavin
2022-08-17 13:53 ` Ross Burton
2022-08-23 15:41 ` Paul Wicks
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.