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

[Question] Does this let github identify the license used? #9

Open
EmmaRamirez opened this issue Jan 11, 2018 · 3 comments
Open

[Question] Does this let github identify the license used? #9

EmmaRamirez opened this issue Jan 11, 2018 · 3 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@EmmaRamirez
Copy link

When you use this tool, will it also update the license property on the project's Github Repo?

i.e. I have a LICENSE.md with MIT in my repo, so Github displays that my repo uses MIT

@developit
Copy link
Owner

Github uses Licensee to detect licenses within projects, which should be able to find license information from your package.json or similar files:

https://github.com/benbalter/licensee/blob/master/lib/licensee/project_files/package_manager_file.rb#L20

(interestingly, I'm not seeing "MIT" show up for this repo, which has it listed in the package.json. strange!)

@developit developit added help wanted Extra attention is needed question Further information is requested labels Jan 11, 2018
@JasonEtco
Copy link
Contributor

JasonEtco commented Jan 14, 2018

There's some more to it than that I believe, I know there are some specific requirements to the file itself. However, if you're pulling the templates directly from the GitHub API... 🤔

Edit: For this repo you'd still need the actual LICENSE file for the MIT thing to show up 💪

Edit2: Oh no that can't be right otherwise this whole project wouldn't work 🤔

@JODIN1727
Copy link

Hi .. I am having the issue to have the published of the license and we are now working it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants
@developit @EmmaRamirez @JasonEtco @JODIN1727 and others