Skip to content

Suggest a License link to GitHub license chooser for GitHub-hosted repos #2187

Open

Description

@mlinksva

Currently https://libraries.io/explore/unlicensed-libraries links "Suggest a License" to a repo URL:

<%= link_to project.repository.try(:url), class: 'btn btn-primary' do %>
Suggest a License
<% end %>

If the repo is at github.com, it might be nice to link directly to a license chooser for that repo. Such a link can be constructed:

https://github.com/{USER|ORG}/{REPO}/community/license/new

Background:

Activity

  1. katzj commented on Jun 19, 2018

    @katzj
    Member

    Thanks for the suggestion! We'll try to take a look at it (and tagged as an easy thing for someone else to pick up as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions