{"action":"closed","issue":{"url":"https://api.github.com/repos/fossology/fossology/issues/567","labels_url":"https://api.github.com/repos/fossology/fossology/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/fossology/fossology/issues/567/comments","events_url":"https://api.github.com/repos/fossology/fossology/issues/567/events","html_url":"https://github.com/fossology/fossology/issues/567","id":119068860,"number":567,"title":"Multiple Licenses in One File with Bulk and Decider","user":{"login":"mcjaeger","id":3418977,"avatar_url":"https://avatars.githubusercontent.com/u/3418977?v=3","gravatar_id":"","url":"https://api.github.com/users/mcjaeger","html_url":"https://github.com/mcjaeger","followers_url":"https://api.github.com/users/mcjaeger/followers","following_url":"https://api.github.com/users/mcjaeger/following{/other_user}","gists_url":"https://api.github.com/users/mcjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mcjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcjaeger/subscriptions","organizations_url":"https://api.github.com/users/mcjaeger/orgs","repos_url":"https://api.github.com/users/mcjaeger/repos","events_url":"https://api.github.com/users/mcjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mcjaeger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fossology/fossology/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/fossology/fossology/labels/needs%20review","name":"needs review","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"wuan","id":563314,"avatar_url":"https://avatars.githubusercontent.com/u/563314?v=3","gravatar_id":"","url":"https://api.github.com/users/wuan","html_url":"https://github.com/wuan","followers_url":"https://api.github.com/users/wuan/followers","following_url":"https://api.github.com/users/wuan/following{/other_user}","gists_url":"https://api.github.com/users/wuan/gists{/gist_id}","starred_url":"https://api.github.com/users/wuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuan/subscriptions","organizations_url":"https://api.github.com/users/wuan/orgs","repos_url":"https://api.github.com/users/wuan/repos","events_url":"https://api.github.com/users/wuan/events{/privacy}","received_events_url":"https://api.github.com/users/wuan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/fossology/fossology/milestones/6","html_url":"https://github.com/fossology/fossology/milestones/3.1.0","labels_url":"https://api.github.com/repos/fossology/fossology/milestones/6/labels","id":1277966,"number":6,"title":"3.1.0","description":"Originally, Non-critical bug fixes for 3.0.0 but there are too many improvements already to call this minor release or patch level increment.","creator":{"login":"mcjaeger","id":3418977,"avatar_url":"https://avatars.githubusercontent.com/u/3418977?v=3","gravatar_id":"","url":"https://api.github.com/users/mcjaeger","html_url":"https://github.com/mcjaeger","followers_url":"https://api.github.com/users/mcjaeger/followers","following_url":"https://api.github.com/users/mcjaeger/following{/other_user}","gists_url":"https://api.github.com/users/mcjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mcjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcjaeger/subscriptions","organizations_url":"https://api.github.com/users/mcjaeger/orgs","repos_url":"https://api.github.com/users/mcjaeger/repos","events_url":"https://api.github.com/users/mcjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mcjaeger/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":36,"state":"open","created_at":"2015-08-28T17:10:03Z","updated_at":"2015-12-21T19:33:02Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-11-26T15:53:26Z","updated_at":"2015-12-21T19:33:02Z","closed_at":"2015-12-21T19:33:02Z","body":"There are numerous examples for multiple licenses in one files. A popular case is the dual licensing, another case is just that some part of the file is licensed under license A and another part is licensed under license B.\r\n\r\nExample:\r\nhttp://mxr.mozilla.org/firefox/source/parser/htmlparser/src/nsExpatDriver.cpp\r\n\r\nThe main problem with handling for such files is that the efficient bulk mechanism to automatically decisions will not work well.\r\n\r\nThere will be scanner results for MPL, GPL and LGPL, however, no bulk scan can automatically conclude, because, any other license scan result than defined for the particular bulk scan will pose a conflict.\r\n\r\nSetting to ignore conflict is not an option, because no one will now what other side effects will occur with other findings.\r\n\r\nTherefore a bulk scan setup would be required that allows for defining to remove or add several licenses at once / at the same time. Then, a decider should automatically create a license conclusion base on the condition when every bulk scan license hit matches a scan result license hit and no other additional scan result are there.\r\n\r\n"}}