WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.49k stars 993 forks source link

Unspecified license tag icons #3419

Closed comradekingu closed 4 years ago

comradekingu commented 4 years ago

bilde

Should be GPLv2+, GPLv3, AGPLv3+ GPLv3-only etc. There is also a lot of difference between BSD variants. 2 clause. 3 clause etc.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/87464208-unspecified-license-tag-icons?utm_campaign=plugin&utm_content=tracker%2F253393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F253393&utm_medium=issues&utm_source=github).
nijel commented 4 years ago

The intention was to make this short indication of the license. We can't put full details here. We might a well just show OSI approved flag instead, but I thought this would be more useful.

comradekingu commented 4 years ago

@nijel It is more useful, but it has to be specific to be meaningful. I made a list of all the licenses in use on Hosted. (- signifies only).

Apache2.0

LGPLv2- LGPLv2+ LGPLv2.1- LGPLv2.1+

LGPLv3- LGPLv3+

GPLv2- GPLv2+ GPLv3- GPLv3+

AGPLv2- AGPLv2+ AGPLv3- AGPLv3+

GFDLv1.3+

MPL2.0

BSD2c BSD3c

ISC

MIT

Beerware

zlib

LaTeXv1.3c

CCZ1.0U CCBY4.0I CCBYSA4.0I CCBYND4.0I WTFPL Unfree

It would be a lot easier to navigate the list on https://hosted.weblate.org/accounts/profile/#licenses with these shorter names too.

nijel commented 4 years ago

I don't feel like reinventing license naming. We currently rely on SPDX for that. The simplified license currently is whatever is there up to fist dash:

https://github.com/WeblateOrg/weblate/blob/ef0508456ada99794e678f8b667ccdd0f5e6388e/weblate/trans/models/component.py#L2030-L2032

In other places, full license name is shown.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

comradekingu commented 4 years ago

@nijel Dropping the dashes and replacing "or later" with plus and "only" with - doesn't reinvent the license name, whereas cutting the name short at the first dash does.

The + for "or later" is common practice, could even do "only" instead of minus, as not a whole lot of projects even use that.

The CC licenses have nothing meaninful in common, and there are a lot of differences between the numbers and designations of other licenses.

github-actions[bot] commented 4 years ago

Thank you for your report, the issue you have reported has just been fixed.