Hi Richard,

About moving the functions to license.py I have some trouble importing a
.bbclass file to the python file. In one of the functions I made use of a
function found in license.bbclass. Just wondering why it's better to move
the functions to license.py instead of leaving them at license.bbclass and
how I will deal with this import issue

Cheers,
Ida

On Wed, Feb 17, 2021 at 9:51 PM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Wed, 2021-02-17 at 17:55 +0100, Ida Delphine wrote:
> > Thanks for the feedback. I will get rid of the logic to take care of
> > those licenses with "or-later" and move the functions to license.py.
> > Does this also mean I shouldn't try removing "WITH-Linux-syscall-note"
> > from the licences?
>
> I think the idea of what you're looking at is to remove "noise" from the
> output and see if we can identify real licence issues. Removing the
> "XXX WITH-Linux-syscall-note" where XXX is removed is key to that but
> XXX must me removed too.
>
> > The point of me doing that was for there to be more matches and the
> > number of warnings reduced.
>
>
> > Also there is more license-related logic in package.bbclass. Will it
> > be okay if I move it as well to meta/lib/oe/license.py putting it
> > in functions?
>
> Possibly, but please do it in a separate patch which we can evaluate
> on its own merit, I haven't looked at which code you mean so its hard
> to tell offhand.
>
> Cheers,
>
> Richard
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148388): 
https://lists.openembedded.org/g/openembedded-core/message/148388
Mute This Topic: https://lists.openembedded.org/mt/80697040/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to