Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [theia-dev] Failing license checks on PR's
  • From: Marc Dumais <marc.dumais@xxxxxxxxxxxx>
  • Date: Wed, 29 Mar 2023 15:32:01 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OCdQNdJEAIrrVN7e95tUXWKqu39vDNXOXr3NPnANdtY=; b=Lw3Lux22/x3qs0t2MybfzIrbZXm9eWFdbAeI3JoYdy/CSm7w5cFE3v6QIft1rv7iv3+6YW6iJSgP64BFYgzY2KF0kkBkPQJtyPi0p7jqJYl6l2lqRF17QDMPAUMkRmgbXmf0RDmImTA4kPqrw7zuyFEr0WMiqJzShhoRR5QaMLJVPlD0ubJL3oskYnL3XwpxJtPCq+CYvhLk4L6ue5aCtx9Uga3Qev0CrTeRgZwbkF/JjmL6kej38iz+JFuRjZgyxHH+IYDeGgCKljuXGzilUMc6yuiYfp4Jl8FS3cT7rJh2WvmyeunoSoAofRpNmlQxQvJXTkeyWbVul8HYtPuQRg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kkGyUogfc7ftWHlsjyhrVEVr+TfTSqJetuj6zvnlo5QBKuJJ7pCoMXk1VGxxvuTR+H01kI90h9jC8jzbCOP9oyq5ZjXh8JpX8mpgeyDXPDJbRmDHl0dkb7PngWXn1JxTQYGYE6286aRVoA88fgzlwn8KX3ytvqW0wzfTLJLzy/jzYx0In5KZOL1tHi47A1qPhajluEU8zX36cM8hgUJZ6TWgT+3orWtgCTZHzcfRpAGNeLZmefYtzO0krUdbHwx9lccdVo1r86yuD5x5hDygvU+mseVIoN/MEcRyqhqhrHdz8YZXC3ig8gva/L+w3wDKG8EoSQnKmmDTwQISvqlX+w==
  • Delivered-to: theia-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/theia-dev/>
  • List-help: <mailto:theia-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/theia-dev>, <mailto:theia-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/theia-dev>, <mailto:theia-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHZYidAcv8owbYAbEOy8HOy4AcBwq8Ru7BagAADZoCAAAtMsg==
  • Thread-topic: [theia-dev] Failing license checks on PR's

Hi Thomas,

I think something like this [1] may be happening with the newly failing dependency. TL;DR: probably the clearlydefined licensing "score" momentarily dropped below the threshold for automatic approval. No big deal - an IP request ticket was automatically opened on the EF Gitlab to deal with it, after which it should pass the check consistently, since it will not only rely on the clearlydefined score.

Good question about releasing while having a dependency that has not passed the "dash-licenses" IP check. We are given a bit of leeway in interpreting the results of the license check - dash-licenses is a tool to help us, not our overlord ๐Ÿ™‚. I had to dig, but I found a quote from Wayne Beaton (in cc) to that effect:
"Keep in mind that the tool is intended to help, not be the authority. One of
the things that we need to consider is adding an "ignore" list to the tool so
that committers can override it in those cases where they know better." [2]
Looking into this particular case I do not think there is an issue with the dependency. Falling back to our old manual process, directly using clearlydefined.io [3] [4] and also looking for mentions of licenses in the git repo[5], I conclude it's licensed under MIT without ambiguity. I expect the EF IP team will come to the same conclusion when they have time to look at the ticket. Furthermore, this is a development-time dependency [6], which makes it less likely to be a problem, even if we were wrong about the conclusion above, since we are not distributing it (could be approved for our project as "works with").

In such a case, what we have done in the past is to add the dependency in question as an entry into our repo's "ignore list" file, "dependency-check-baseline.json", that lives in the repo root.  The entry should mention that this dependency is still under review. This shows that we included it on purpose, and also this will make the license check pass. I suggest that we do that just before the release tomorrow, if the dependency has not yet been approved.

Sounds like a plan?

Regards,
Marc

P.S. a counterexample, where I think we would not want to proceed with a release without a 3PP being approved by the EF IP team, is when we have a new version of Electron, even if it passes the "dash-licenses" check. This may change if we get the green light here [7].

[4] "ClearlyDefined is a trusted source of license information" https://www.eclipse.org/projects/handbook/#ip-history-2019
[6] i.e. no result when running this command in Theia repo root: "yarn list --prod | grep openapi-types"




From: theia-dev <theia-dev-bounces@xxxxxxxxxxx> on behalf of Thomas Mรคder <t.s.maeder@xxxxxxxxx>
Sent: Wednesday, March 29, 2023 9:23 AM
To: theia developer discussions <theia-dev@xxxxxxxxxxx>
Subject: Re: [theia-dev] Failing license checks on PR's
 
Merging PRs is fine, but I would expect the foundation would frown upon doing a release with the IP checks failing, no? Isn't it up to the foundation to say if it's a false positive or not in this process?

/Thomas


------ Original Message ------
From "Marc Dumais" <marc.dumais@xxxxxxxxxxxx>
To "theia developer discussions" <theia-dev@xxxxxxxxxxx>; "Thomas Mรคder" <t.s.maeder@xxxxxxxxx>
Date 29/03/2023 15:14:52
Subject Re: [theia-dev] Failing license checks on PR's

Hi Thomas,

I will  have a look.

The license check is not configured as mandatory to pass, so if we believe that it fails because of a false-positive, we can go ahead with the release (or merging a PR in general).

Regards,
Marc


From: theia-dev <theia-dev-bounces@xxxxxxxxxxx> on behalf of Thomas Mรคder <t.s.maeder@xxxxxxxxx>
Sent: Wednesday, March 29, 2023 6:14 AM
To: theia developer discussions <theia-dev@xxxxxxxxxxx>
Subject: [theia-dev] Failing license checks on PR's
 
Hi folks,

I've noticed the license checks on our builds have started failing. I've found https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/7694. Can someone with insight into the problem explain what's happened and how we're going forward? The dependency it complains about has been present since mid-February :shrug:

Am I right to say this blocks tomorrow's release if not resolved?

/Thomas


From: theia-dev <theia-dev-bounces@xxxxxxxxxxx> on behalf of Thomas Mรคder <t.s.maeder@xxxxxxxxx>
Sent: Wednesday, March 29, 2023 9:23 AM
To: theia developer discussions <theia-dev@xxxxxxxxxxx>
Subject: Re: [theia-dev] Failing license checks on PR's
 
Merging PRs is fine, but I would expect the foundation would frown upon doing a release with the IP checks failing, no? Isn't it up to the foundation to say if it's a false positive or not in this process?

/Thomas


------ Original Message ------
From "Marc Dumais" <marc.dumais@xxxxxxxxxxxx>
To "theia developer discussions" <theia-dev@xxxxxxxxxxx>; "Thomas Mรคder" <t.s.maeder@xxxxxxxxx>
Date 29/03/2023 15:14:52
Subject Re: [theia-dev] Failing license checks on PR's

Hi Thomas,

I will  have a look.

The license check is not configured as mandatory to pass, so if we believe that it fails because of a false-positive, we can go ahead with the release (or merging a PR in general).

Regards,
Marc


From: theia-dev <theia-dev-bounces@xxxxxxxxxxx> on behalf of Thomas Mรคder <t.s.maeder@xxxxxxxxx>
Sent: Wednesday, March 29, 2023 6:14 AM
To: theia developer discussions <theia-dev@xxxxxxxxxxx>
Subject: [theia-dev] Failing license checks on PR's
 
Hi folks,

I've noticed the license checks on our builds have started failing. I've found https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/7694. Can someone with insight into the problem explain what's happened and how we're going forward? The dependency it complains about has been present since mid-February :shrug:

Am I right to say this blocks tomorrow's release if not resolved?

/Thomas

Back to the top