oss.ninja
oss.ninja copied to clipboard
[Question] Does this let github identify the license used?
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
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!)
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 🤔
Hi .. I am having the issue to have the published of the license and we are now working it..