Skip to content

WIP: Add LICENSE type detection

Aslak Knutsen requested to merge aslakknutsen/gitlab-ce:license_detection into master

In the spirit of 'making GitLab great for Open Source projects':

How about detecting the type of license and displaying it on the Project page. Instead of just detecting that there is a LICENSE file of some sort in the project.

Someone with more design skills than me could probably even make this look good. Further work could include adding more info from choosealicense.com into the Project page; e.g. a mouse-over that display the 'properties' of the license? (ref http://choosealicense.com/licenses/apache-2.0/) :)

Currently using the 'licensee'[0] gem that use data from choosealicense.com.

Screenshot_from_2016-01-19_18-52-56

[0] https://github.com/benbalter/licensee

Merge request reports