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

add AGPL #2941

Open
nerdoc opened this issue Nov 20, 2020 · 4 comments · May be fixed by #3982
Open

add AGPL #2941

nerdoc opened this issue Nov 20, 2020 · 4 comments · May be fixed by #3982

Comments

@nerdoc
Copy link

nerdoc commented Nov 20, 2020

Please add the AGPL license to the list of available licenses! Thanks

@Andrew-Chen-Wang
Copy link
Contributor

@browniebroke It might just be worth it to use GitHub's choosealicense.com. We could vendor all the licenses from here (in case GitHub changes where they are stored or how they're laid out) and update anytime there is a change in their directory: https://github.com/github/choosealicense.com/tree/gh-pages/_licenses

@Andrew-Chen-Wang
Copy link
Contributor

Or instead perhaps make separate directories for each license rather than storing everything in a single file?

@browniebroke
Copy link
Member

Interesting idea to get them from that repo. A couple of things I noticed:

  • the files content are a bit more than just the license, they are templates with some sort of front matter
  • templates variables (year and author) seems to be using square brackets while cookiecutter (jinja) uses double curly braces

We could pull them and convert them regularly with a github workflow, but it might not be worth the trouble...

Splitting the current file into multiple ones would be a nice improvement on the maintenance front, would make it easier to see what we support.

@Andrew-Chen-Wang
Copy link
Contributor

Agreed; too much trouble. On the second thought, having to parse for a bunch of dashed lines to indicate the beginning of the license file is not really that good of an idea. But definitely splitting the licenses is an improvement, and importing each license from that repo and replacing them with the jinja curly braces would be needed.

Andrew-Chen-Wang added a commit to Andrew-Chen-Wang/cookiecutter-django that referenced this issue Feb 27, 2021
* Uses open source licenses (including the Jekyll format) from https://github.com/github/choosealicense.com/tree/gh-pages/_licenses
* Added license section in README.rst because some licenses want it to be explicit
* cookiecutter.json shows all licenses (including "Not open source") in lexicographical order except for "Not open source"
@alexzvk alexzvk linked a pull request Dec 6, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants