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

Create LICENSE #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sammitachak
Copy link

Added a collated LICENSE file at the root level directory. The license are as per the README file (https://github.com/datanucleus/javax.persistence/blob/master/README.md#legal). The licenses are Eclipse Distribution License 1.0 (https://www.eclipse.org/org/documents/edl-v10.php) and Eclipse Public License 1.0 (http://www.eclipse.org/legal/epl-v10.html).

(Please note that the Copyright year and owner fields have been intentionally left empty since Google LLC doesn't own this repository)

Added a collated LICENSE file at the root level directory. The license are as per the README file (https://github.com/datanucleus/javax.persistence/blob/master/README.md#legal). The licenses are Eclipse Distribution License 1.0 (https://www.eclipse.org/org/documents/edl-v10.php) and Eclipse Public License 1.0 (http://www.eclipse.org/legal/epl-v10.html). 

(Please note that the Copyright year and owner fields have been intentionally left empty since Google LLC doesn't own this repository)
@andyjefferson
Copy link
Member

The LICENSE.txt is already under src/main/resources.

@sammitachak
Copy link
Author

Hello @andyjefferson ,

The Github API to fetch license does not work for the repository. It works if the license for the repository is present at the root level as per https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository#determining-the-location-of-your-license.

curl -L   -H "Accept: application/vnd.github+json"   -H "Authorization: Bearer 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"   -H "X-GitHub-Api-Version: 2022-11-28"   https://api.github.com/repos/datanucleus/javax.persistence/license


{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository"
}

We are making this fix for the Github API to fetch license.

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