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

Bugfix/license cleanup #156

Merged
merged 6 commits into from
Dec 12, 2023
Merged

Bugfix/license cleanup #156

merged 6 commits into from
Dec 12, 2023

Conversation

Swandog
Copy link
Contributor

@Swandog Swandog commented Nov 22, 2023

I expect this to fail, due to some things being deliberately wrong in CITATION.cff and CHANGELOG.md that should be updated when the answers are figured out. Meanwhile, these are some things I thought should change as I was releasing Lace 0.5.0:

  • Changed all instances of the license identifier BSL-1.1 (which is not a valid SPDX identifier) to BUSL-1.1. The SPDX entry for BUSL-1.1 is here; I think it's the correct one for our Business Source License, despite the fact that within our license the acronym BSL is used. But @BaxterEaves , I would appreciate it if you verified that the BUSL-1.1 identifier looks like the correct one; otherwise, we can use license-file to specify our included LICENSE instead
    • Changed all Cargo.toml files with license-file = LICENSE to instead use license = BUSL-1.1. I considered this to be a MINOR semver changes because they should be the same license, just expressed in different ways. Semver did not appear to be clear on this issue.
    • Changed all Cargo.toml files with license = SSPL-1.0 to instead be license = BUSL-1.1. This list essentially is all the dependency crates of lace. I considered all of these changes to be MAJOR changes, since the license is changing.
  • Add CI job to validate the CITATION.CFF file
  • Stop running the tests on merges to master--only on PRs

License identifiers are mostly maintained by Spdx;
  their list of identifiers is here: https://spdx.github.io/license-list-data/
According to the above page,
  the correct identifier for the Business Source License is `BUSL-1.1`
This commit updates the license on all crates
Each crate that is being published under a new license is given a MAJOR semver change
Each crate that is being published under the same license,
  but using the SPDX instead of a license file,
  is given a MINOR semver change
Testing workflows are running on pushes to master, and it isn't necessary
Everything has to go through a pull request anyway, so the extra testing is superfluous and confusing
@Swandog Swandog self-assigned this Nov 22, 2023
@Swandog Swandog requested a review from a team as a code owner November 22, 2023 22:36
Changed the CITATION check to only run on release pushes
Added a check to make sure the `date-released` field gets updated from the last release
Restored the prior date-released in the CITATION.cff
Copy link
Contributor

@BaxterEaves BaxterEaves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Swandog Swandog merged commit 35f4a5c into master Dec 12, 2023
26 checks passed
@Swandog Swandog deleted the bugfix/license-cleanup branch December 12, 2023 23:13
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

Successfully merging this pull request may close these issues.

2 participants