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

Ensure crate abides by the Unicode Data Files and Software License #149

Merged

Conversation

lopopolo
Copy link
Member

@lopopolo lopopolo commented Aug 8, 2022

Update the SPDX license expression in Cargo.toml to be MIT AND Unicode-DFS-2016 to reflect the inclusion of CaseFolding.txt and the generated Rust sources that are derived from it.

Embed a copy of https://www.unicode.org/license.txt in the repository as LICENSE-UNICODE and distribute this license in crates.io bundles.

Update the License section in README.md and add explainer text to the rake task for fetching the Unicode Data Files and the script that generates source from the Unicode Data Files.

When updating the CaseFolding.txt data file with rake unicode:update, also fetch the license from https://www.unicode.org/license.txt.

Update the SPDX license expression in `Cargo.toml` to be `MIT AND
Unicode-DFS-2016` to reflect the inclusion of `CaseFolding.txt` and the
generated Rust sources that are derived from it.

Embed a copy of https://www.unicode.org/license.txt in the repository as
`LICENSE-UNICODE` and distribute this license in crates.io bundles.

Update the License section in `README.md` and add explainer text to the
rake task for fetching the Unicode Data Files and the script that
generates source from the Unicode Data Files.

When updating the `CaseFolding.txt` data file with `rake unicode:update`,
also fetch the license from https://www.unicode.org/license.txt.
@lopopolo lopopolo added A-project Area: Infrastructure for running an open source project. A-packaging Area: Packaging releases for distribution. labels Aug 8, 2022
@lopopolo
Copy link
Member Author

lopopolo commented Aug 8, 2022

I learned about the need for this license when unicode-ident 1.0.2 came out and tripped up cargo-deny in artichoke. Here's the ticket from focaccia:

@lopopolo lopopolo merged commit 995be99 into trunk Aug 8, 2022
@lopopolo lopopolo deleted the lopopolo/unicode-license-agreement-data-files-and-software branch August 8, 2022 23:17
@lopopolo
Copy link
Member Author

lopopolo commented Aug 9, 2022

lopopolo added a commit to artichoke/artichoke that referenced this pull request Sep 3, 2022
lopopolo added a commit to artichoke/generate_third_party that referenced this pull request Sep 3, 2022
This license was introduced with focaccia 1.2.0.

See 61fd5649c2a2c15f496fef7aaf7b8a8fe342828a and artichoke/focaccia#149.
@lopopolo lopopolo added the A-unicode Area: Unicode tables and version bumps. label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-packaging Area: Packaging releases for distribution. A-project Area: Infrastructure for running an open source project. A-unicode Area: Unicode tables and version bumps.
Development

Successfully merging this pull request may close these issues.

1 participant