Skip to content
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

Explicitly add GPLv3-or-later to license list #2842

Closed
1 task done
lofidevops opened this issue Nov 3, 2017 · 7 comments
Closed
1 task done

Explicitly add GPLv3-or-later to license list #2842

lofidevops opened this issue Nov 3, 2017 · 7 comments

Comments

@lofidevops
Copy link

Description

The GNU ethical repository criteria (see #1524) suggests that a host "recommends and encourages GPL 3-or-later licensing at least as much as any other kind of licensing"

At the moment the license dropdown simply lists "GPL-3.0" and places the GPL-3.0 license text in the repository. Unfortunately this is ambiguous and could be interpreted as GPL-3.0-only rather than GPL-3.0-or-later.

Suggested solution 1

  1. Modify the dropdown list as follows:
  • AGPL-3.0-only
  • AGPL-3.0-or-later
  • GPL-2.0-only
  • GPL-2.0-or-later
  • GPL-3.0-only
  • GPL-3.0-or-later

(I see GPL-1.0 is also listed, I'm not sure how this applies to that license.)

  1. Always include the full license text (current behaviour)

  2. When populating boilerplate paragraphs include the "or (at your option) any later version" text as appropriate.

Suggested solution 2

As above, but only list the "-or-later" options. Anyone who wants "-only" can do their licensing manually.

@bill-auger
Copy link

bill-auger commented Nov 3, 2017

this was just discussed on the mailing list - the premise of this issue is probably mis-guided - as i understand, all that the license selector does is add a verbatim copy of the GPL to the repo - there is nothing in the GPL itself that determines "or any later version" or not - so even if these were separate options on the GUI, the actual behavior would necessarily be identical - there is only one GPLv3 and it should never be modified

the declaration of "or any later version" appears only in the header of the source code files which at the time of repo creation do not yet exist - im not sure what are the "boilerplate paragraphs" mentioned here but they would be an inadequate carrier of that information in 99% of cases

@bkcsoft
Copy link
Member

bkcsoft commented Nov 3, 2017

We don't recommend any licence what so ever (hence they are equally unrecommended). They are listed in alphabetical order and they are vendored from https://github.com/spdx/license-list where the names also comes from.

As for 3.0-or-later, until FSF releases a license with that name I'm going to read that as "GPL v3, or any later version of GPL", which GPLv3 falls under.

@bkcsoft bkcsoft closed this as completed Nov 3, 2017
@lofidevops
Copy link
Author

Thanks for the feedback, I stand corrected. My understanding is that the SPDX may be updated to list both GPL-3.0-only and GPL-3.0+ but this is an upstream issue (and still under discussion).

@bill-auger
Copy link

it is sensible for SPDX to add them (GPL-3.0-only and GPL-3.0+) as distinct use-cases, but this is meaningful only after the source code is published - neither gitea nor SPDX can do anything to declare this distinction at the time of repo creation on the website - it would be absolutely pointless to present more than one GPLv2 and one GPLv3 select options on the GUI - there is only one single possible action that gitea could take for both cases - that is to add THE (one and only) GPLv3 to the repo - the distinction of "or any later version" can only be specified explicitly by the author of the project source code and this is typically done in the copyright header of project source code files which do not exist at the time of the website repo creation

@lofidevops
Copy link
Author

What if Gitea did something like:

Given user has picked a license
And user is informed a readme template must be selected
And user picks a readme template (otherwise default is used)
When repo is created
Then license text is added to repo
And license summary is added to readme

(just a rough idea, happy to create a new ticket to hash it out)

@bill-auger
Copy link

bill-auger commented Nov 7, 2017

you could do that but it is very unconventional - the README file rarely contains any licensing information - the text of the GPL itself recommends stating "or any later version" explicitly in each and every source code file and that is generally what everyone does

if the intention here is to make the license more visible to on-lookers then i would suggest a license detector script would be more helpful that shows the detected license at the top of the webpage like github does

@bkcsoft
Copy link
Member

bkcsoft commented Nov 9, 2017

@kwill Gitea will never force the user to do anything, esp not to pick a license.

@bill-auger Most projects have a license header at the bottom though 🤔

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants