-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Better license shields #1093
Comments
I like the idea of colors! Probably I would make the unrecognized license either gray, which we usually use for unknown, or red, since some rando license is not so safe, and might even be proprietary. |
unrecognized license may be proprietary, but it is probably not proprietary, since it is not detected as proprietary (proprietary licenses have some special wording and lack other wording specific for free software/culture licenses, so this heuristics can be used to detect explicitly proprietary licenses not in the DB) , so orange |
I like the idea too 👍 . I think we have to sort the all licence -- but is it not huge? -- I don't know. |
tldrlegal and github have done the work for us. We only need to get the data through API and draw a shield |
from github, i can find only these - "agpl-3.0",
"lgpl-3.0",
"bsd-2-clause",
"epl-1.0",
"bsd-3-clause",
"gpl-2.0",
"mpl-2.0",
"mit",
"gpl-3.0",
"lgpl-2.1",
"unlicense",
"apache-2.0" |
I will implement this improvement. |
Addressed in #1190! Though perhaps we should leave this open until we apply these changes to the rest of the license badges. |
The rest of thingsm like icons for clauses are still not implemented. |
There's been some discussion of license colors in #2026 so let's finish that discussion there. By default, we don't show icons on badges; that's something users can opt into. |
1 Open https://tldrlegal.com/license/apache-license-2.0-(apache-2.0) .
Look at the page.
You see 3 columns of different colors. Each column has clauses describing license in short, each clause has own pictogram.
2 GitHub has an API returning the similar information.
So, how should the license shield look like?
0 Background color:
1 a logo: License logos #1219
2 a SPDX identifier
3 areas of pictograms, each area has own background color, and contains pictogramms matching the corresponding column of tldrlegal. Of course you'll have to find own source of icons since tldrlegal's ones are copyrighted and not in svg.
The text was updated successfully, but these errors were encountered: