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

[conan-center] Validate license with the provided one on Github #389

Open
uilianries opened this issue Feb 24, 2022 · 1 comment · May be fixed by #401
Open

[conan-center] Validate license with the provided one on Github #389

uilianries opened this issue Feb 24, 2022 · 1 comment · May be fixed by #401
Assignees

Comments

@uilianries
Copy link
Member

The Github API offers a way to detect the license listed on the repository: https://docs.github.com/en/rest/reference/licenses

We could detect it when available, and compare to the license attribute.

So far, we have been doing manually when reviewing recipes.

It won't achieve 100% of PRs, because not all projects offer a license file or are not hosted on Github, but it improve our review time.

@uilianries
Copy link
Member Author

Gitlab also offers same https://docs.gitlab.com/ee/api/license.html We can do it on separated PRs.

@uilianries uilianries self-assigned this Mar 4, 2022
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