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

Change license? #63

Closed
Peter9192 opened this issue Feb 16, 2023 · 2 comments · Fixed by #81
Closed

Change license? #63

Peter9192 opened this issue Feb 16, 2023 · 2 comments · Fixed by #81

Comments

@Peter9192
Copy link
Collaborator

This week we took on phenor as a dependency, and later also probably MODISTools. Both are released under an AGPL license, which is incompatible with our permissive Apache2 license. [Apparently](A “covered work”), the mere act of importing phenor in our code falls under 'linking', which under AGPL falls under the definition of a 'covered work'. Thus, we have a couple of options

  • Changing our own license to AGPL
  • Remove phenor and find alternatives
  • Separate the repo into
    1. a workflow tool written in python (under Apache) and
    2. a phenology workflow tool that uses 1. and phenor (under AGPL)

I think for now the the first option is the best, and we can save option 3 for later.

@Peter9192 Peter9192 added this to the Sprint one: data retrieval milestone Feb 16, 2023
@Peter9192
Copy link
Collaborator Author

Peter9192 commented Feb 16, 2023

Fourth option would be to use REUSE
Credits to Sarah and Stefan for the suggestion.

@Peter9192
Copy link
Collaborator Author

Peter9192 commented Mar 2, 2023

First annotate everything with apache, then manually change files that should be under (A)GPL

find "src" -type f -exec reuse annotate --copyright="Springtime authors" --license="Apache-2.0" {} \;
find "tests" -type f -exec reuse annotate --copyright="Springtime authors" --license="Apache-2.0" {} \;
find "docs" -type f -exec reuse annotate --copyright="Springtime authors" --license="Apache-2.0" {} \;
reuse annotate --copyright="Springtime authors" --license="Apache-2.0" README.md environment.yml mkdocs.yml pyproject.toml
reuse annotate --copyright="Springtime authors" --license="Apache-2.0" .gitignore .github/workflows/lint.yml .readthedocs.yaml

@Peter9192 Peter9192 mentioned this issue Mar 2, 2023
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 a pull request may close this issue.

1 participant