From 41a6075fb5b9b1aad13a5210c3bd34f28f7d3c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 4 Oct 2023 19:00:08 +0300 Subject: [PATCH] deny: Simplify license handling Deny all copyleft licenses except for the MPL-2.0 and add an exception for gst-plugin-threadshare to allow LGPL-2.1. --- deny.toml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/deny.toml b/deny.toml index 62ab05dd..d92a9165 100644 --- a/deny.toml +++ b/deny.toml @@ -19,16 +19,10 @@ ignore = [ [licenses] unlicensed = "deny" allow = [ - "Apache-2.0", + "MPL-2.0", ] -deny = [ - "GPL-1.0", - "GPL-2.0", - "GPL-3.0", - "AGPL-1.0", - "AGPL-3.0", -] -copyleft = "allow" +default = "deny" +copyleft = "deny" allow-osi-fsf-free = "either" confidence-threshold = 0.8 @@ -46,6 +40,11 @@ allow = ["AGPL-3.0"] name = "dssim-core" version = "3.2" +# Allow LGPL 2.1 for the threadshare plugin as it includes some LGPL code +[[licenses.exceptions]] +allow = ["LGPL-2.1"] +name = "gst-plugin-threadshare" + [bans] multiple-versions = "deny" highlight = "all"