Include all licenses in SPDX expression and LICENSE file - #540
Conversation
Change the SPDX license expression from `MIT` to `MIT AND Apache-2.0 AND BSD-3-Clause` to reflect all of the licenses that apply to the crate’s sources. Add license text for `Apache-2.0` and the `BSD-3-Clause` license from Go’s `time` module to `LICENSE`. Like `MIT`, both of these licenses require the license text to be distributed with source and/or binaries.
|
Ben Beasley (@musicinmybrain) Thanks for fixing this. Curious: Golang's time pkg (https://pkg.go.dev/time) is BSD-3. Where is the Apache-2.0 coming from? |
|
Burak Varlı (@unexge), Can you also take a look at this PR? I'm OK with this PR as-is since we should be correct about licenses, but want to understand where Apache 2.0 is coming from. |
Within the “source code,” there is regorus/src/builtins/time/diff.rs Line 2 in 5afbd96 and more clearly identifies regorus/src/builtins/time/diff.rs Lines 13 to 19 in 5afbd96 and regorus/src/builtins/time/diff.rs Line 62 in 5afbd96 A number of the regorus/tests/kata/data/pod-cm1/policy.rego Lines 1 to 3 in 5afbd96 |
|
By the way, the |
|
Ben Beasley (@musicinmybrain) Thanks! |
d626f75
into
microsoft:main
Change the SPDX license expression from
MITtoMIT AND Apache-2.0 AND BSD-3-Clauseto reflect all of the licenses that apply to the crate’s sources.Add license text for
Apache-2.0and theBSD-3-Clauselicense from Go’stimemodule toLICENSE. LikeMIT, both of these licenses require the license text to be distributed with source and/or binaries.