-
Notifications
You must be signed in to change notification settings - Fork 94
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
Bad license format #2035
Comments
Hi @hendrikebbers, I'm unsure whether this is the best place to create this issue. This is the repo for the Jakarta EE website. Perhaps @TanjaObradovic can help you communicate your request to the Jakarta EE repos? |
@TanjaObradovic @ivargrimstad what is the best place for such issue and can you transfer it? |
This is probably not an isolated Jakarta EE issue. Most likely affecting all Eclipse Foundation projects. I think we probably should create a GitLab issue for someone in the EMO or Webdev to look at. |
@waynebeaton might the the best person in that case, right? |
AFAICT, it's not the markdown formatting that's the problem. Rather, the problem is that the license file contains three different texts. GitHub correctly understands that the license is complex. An important detail here is that the Jakarta JSON-P project uses the EPL-2.0 with a secondary licence. Stating the licence as "EPL-2.0" isn't correct. In SPDX terms, the licence expression is I'm not aware of a means by which we can make GitHub accurately reflect a licence expression. If you want to pursue this more broadly, open an help desk issue and we'll figure out where to move it. |
Most repositories of JakartaEE store the EPL license in a markdown file (example: https://github.com/jakartaee/jsonp-api).
By doing so GitHub understands that a license is present but can not interpret it. Based on that the license name is not shown in the GitHub ui and the GitHub API returns "OTHER" for the license.
By switching the license file to plain text GitHub will understand it, show EPL directly in the UI and provides all metadata by the REST API:
A sample can be found at https://github.com/hendrikebbers/jsonp-api
I will be happy to help here and refactor the license files in a better format if you give me the go :)
The text was updated successfully, but these errors were encountered: