-
Notifications
You must be signed in to change notification settings - Fork 29
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
Template mod generator: Allow selection of license other than CC0 #24
Comments
Yes, this is something I want to do, thanks for the links. I found some raw license data here: https://github.com/github/choosealicense.com/tree/gh-pages/_licenses I dont think we want to present all of these options to the user so we should just display a small subset? (Maybe the same as Modrinth). I will also need to find a nice way to depend and parse this license data. Some liceses may require a header in the code, is this something we should worry about? If so it may require using a 3rd party gradle plugin such as spotless to enforce it? |
After some more digging I found: https://github.com/spdx/license-list-data/blob/main/json/details/Apache-2.0.json this data includes a |
The CC licenses (besides CC0) are only there for resource packs, they shouldn't really be used for code. Looks great otherwise! |
Ah, good to know. I will remove them. Many thanks 👍 |
Modrinth's licensing guide says that GPL and AGPL licenses are incompatible with MC
So they might need to be removed Also, would it be possible to add the |
Since last night I have made some changes and cut the list of liceses right down. I think keeping it simple is best. See the PR here with a few TODO's/questions #25 |
In my experience as a moderator for Modrinth, one of the most common rejection reasons is invalid metadata. Most commonly it relates to licensing, where they will select one license on Modrinth but still have the default CC0-1.0 license in their LICENSE file and in the fabric.mod.json.
If this template generator is going to eventually become the recommended way of creating a new mod, the one improvement I would like to see the most is to not assume that everyone is going to use CC0. Instead, the user should be prompted to select their own license, like how the MinecraftDev plugin does it:
Or how Modrinth does it:
Ideally there would also be a link to one of the many useful guides for choosing a license, such as GitHub's choosealicense.com or Modrinth's licensing guide.
The text was updated successfully, but these errors were encountered: