Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License details (for SPDX compliance) #554

Open
toothbrush7777777 opened this issue Jan 29, 2024 · 2 comments
Open

License details (for SPDX compliance) #554

toothbrush7777777 opened this issue Jan 29, 2024 · 2 comments

Comments

@toothbrush7777777
Copy link

toothbrush7777777 commented Jan 29, 2024

I would like to clarify something about the licenses that the Buck2 prelude is released under.
In the prelude, it says this:

This source code is licensed under both the MIT license found in the
LICENSE-MIT file in the root directory of this source tree and the Apache
License, Version 2.0 found in the LICENSE-APACHE file in the root directory
of this source tree.

Is the meaning in SPDX notation Apache-2.0 AND MIT (i.e. you must comply with both licenses) or Apache-2.0 OR MIT (i.e. you may choose to use the file under either license)?

@dtolnay
Copy link

dtolnay commented Jan 29, 2024

Or is MIT OR Apache-2.0, the same license used by rustc and many other foundational Rust projects.

buck2/Cargo.toml

Lines 105 to 106 in bcbc65c

[workspace.package]
license = "MIT OR Apache-2.0"

I agree the wording describing this in the prelude is unclear. Thank you for flagging this.

@toothbrush7777777
Copy link
Author

Thank you for clarifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants