]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
insane: Promote long standing warnings to errors
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jul 2024 09:37:37 +0000 (10:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 14 Jul 2024 12:04:26 +0000 (13:04 +0100)
commitb79b191cc43a45dde2adb61ea349b426cb2461d1
treec2847499739e293b403d96140838a5590679a3ef
parent8dae8778ee14caebea92acd0bebf28c5681e39f3
insane: Promote long standing warnings to errors

Most of these warnings have been around and enabled for a long time. In particular,
buildpaths has been like this for two years. I'm aware some layers still have not
been able to resolve all the warnings but I believe that regardless, it is still
time to raise the bar. If the warnings don't get fixed, it is probably a sign
that nobody cares about the recipe and it should be dropped.

For anyone coming here to find out what changed and how to disable it, if
you are going to remove from ERROR_QA and add back to WARN_QA (or just ignore
the warnings), please do it with a layer specific override rather than making
it global. We have fixed these issues in core and intend to keep them all fixed.
If you globally disable the errors, it just means we get patches which end up
regressing things.

You can do things like:

ERROR_QA:remove:layer-mylayername = "buildpaths"

not that I'd recommend it.

Also note that the next version of Yocto Project Compatible will only be
available to layers which are not disabling some set of these errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass