Skip to content

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

Open

Description

@emzinnia

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

Activity

  1. developit commented on Jan 11, 2018

    @developit
    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!)

  2. JasonEtco commented on Jan 14, 2018

    @JasonEtco
    Contributor

    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 🤔

  3. JODIN1727 commented on May 15, 2021

    @JODIN1727

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions