Skip to content

replace /licenses listings with spectrum - #386

Merged
mlinksva merged 4 commits into
gh-pagesfrom
spectrum
Apr 9, 2016
Merged

mlinksva merged 4 commits into
gh-pagesfrom
spectrum

Conversation

@mlinksva

@mlinksva mlinksva commented Apr 8, 2016

Copy link
Copy Markdown
Contributor

(on home page, non-hidden) -> (agplv3 to unlicense)

@benbalter

Copy link
Copy Markdown
Contributor

@mlinksva would you be able to post a few screenshots and talk a bit more about the motivation? Suspect this is the right move, but hard to tell from a few low-level bullets.

@mlinksva

mlinksva commented Apr 8, 2016

Copy link
Copy Markdown
Contributor Author

The first bullet "emphasize macro (spectrum of oss licenses) rather than micro (families/variations) structure" is the big picture motivation.

The choices between GPLvN, LGPLvN and MIT/ISC/BSD-x aren't ones someone who doesn't already know about should be confronted with when there's a big picture to get. Eclipse and Artistic aren't licenses anyone should choose unless they already know about them because they're in the relevant communities.

before (left) after (right) screenshots

choosealicense-montage

@waldyrious

Copy link
Copy Markdown
Contributor

Am I missing something? How does one get to the full listing of licenses? I believe the summary in terms of permissions/conditions/limitations is very useful, and even though I get the reasoning for not providing an exhaustive list (of the project as a hole, and of this change in particular), I think completely hiding such useful summarized views from visitors does a disservice to them, as that information is hardly available elsewhere.

@mlinksva

mlinksva commented Apr 8, 2016

Copy link
Copy Markdown
Contributor Author

@waldyrious there never has been a full listing of licenses presented on the site. I can't find it now, but I recall suggesting or reading a suggestion that every license we have a page for be linked at the end of /licenses for discoverability purposes. I don't feel strongly one way or the other whether that's a good idea so I haven't opened an issue or implemented, but it'd be easy to do.

@waldyrious

Copy link
Copy Markdown
Contributor

there never has been a full listing of licenses presented on the site.

I understand. I meant the "fuller" list that is displayed now. In effect, curating a smaller subset as this PR proposes has a similar (and arguably higher) value as the curated subset that is currently displayed, so having as available options only the proposed shortlist and an exhaustive dump does lose the value of the intermediate selection. But I am not strongly opposed to that, I just want to make sure that the decision to get rid of the intermediate-size listing is explicit.

every license we have a page for be linked at the end of /licenses for discoverability purposes.

👍

@benbalter

Copy link
Copy Markdown
Contributor

Ah awesome thanks. A few questions:

  1. Why are we going from most restrictive to least restrictive? Assuming people have a short attention span, shouldn't we default to the most open?
  2. It looks like we're no longer displaying some of the licenses currently displayed. What's the rationale behind that? Why those licenses? Are we now "recommending" a smaller subset of (family-agnostic) licenses?
  3. Was there a discussion about Unlicense versus CC0 a while back? I can't seem to find it. Thinking maybe we should prefer CC0?
  4. It'd require some small design effort, but what if we made the continuum explicit with a TLDR on the side of the delta between each licenses (or at last "more restrictive" and "least restrictive"). E.g., between unlicense and MIT, you retain copyright. Between MIT and Apache, you also grant patents, etc.

@mlinksva

mlinksva commented Apr 8, 2016

Copy link
Copy Markdown
Contributor Author
  1. (a) first bullet "reverse order as on home page, Feedback from John Sullivan talk on license choosers #335 claims order potentially privileges"; re short attention span -- home page has correct order from your perspective -- but an aside: I wouldn't phrase as "more open", if I were trying to be neutral (b) unconditional licenses least well developed/accepted of spectrum (eg neither CC0 nor Unlicense on OSI list) so would rather not start there as much as I personally favor
  2. Except for CC0 the ones that would no longer appear on /licenses are covered by above "The choices between GPLvN, LGPLvN and MIT/ISC/BSD-x aren't ones someone who doesn't already know about should be confronted with when there's a big picture to get. Eclipse and Artistic aren't licenses anyone should choose unless they already know about them because they're in the relevant communities." CC0/Unlicense choice is similar -- to the MIT/ISC/BSD-x one -- cultural baggage, not substantive or helpful to present learner with.
  3. Unlicense is defaulted to in the present UI, so just going with that. CC0 is more problematic than Unlicense due to CC0's explicit patent non-grant.
  4. I've got zero design skills, but would be happy to see something like that. I think the decreasing number of conditions is already a pretty strong visual indicator of what is happening.

@ionas

ionas commented Apr 9, 2016

Copy link
Copy Markdown

I like the new design to the right. It allows you to compare very quickly what you want and not just choose something you know (MIT or GPL2 for instance). Thanks!

I also like the logical ordering. The top license enforces "about" the most, the most bottom enforces the least - allowing you to move back and forth between what you requirements and/or believes are.

@wolftune

wolftune commented Apr 9, 2016

Copy link
Copy Markdown

I wish I could +100 instead of +1. This is a major improvement.

  • It takes what was a complex, confusing 2-factor system and makes it a single linear list with one factor.
  • On one side is the most protective of openness, on the other side is the most permissive.
  • Being the opposite order as the homepage provides a balance between which side of this list is shown first.
  • It's visually easy to compare
  • removing Artistic and Eclipse is definitely correct. There's ZERO sense in recommending those to anyone who isn't already planning to use them.
  • removing Public Domain in favor of Unlicense is alright

It would be ideal from a design perspective if the one new bullet for each item going from top to bottom was highlighted somehow to indicate "moving up to this adds this bullet" more visually. But I think that would probably fit into a more full redesign.

Note of concern: as much as I favor going with the updated latest licenses, it remains the case that GPLv2 is indeed still used and provides some compatibility, especially as GPLv2+, that GPLv3 doesn't. Incidentally, this is less relevant to AGPL (which had no v2) and LGPL (which is less common and less compatibility issues). So, I would recommend that in the one case of GPLv3, there be an extra little link that would flip open an explanation about GPLv2 saying that it's still in use, and there are some compatibility reasons to stick to GPLv2 even though it lacks the updates of GPLv3; and there could be a mention about the "or later" option for all the GPL family somewhere. I don't think this stuff belongs in the core list, but for someone trying to make sense of things from this site, at least having a link to explain about the version situation with GPL is warranted.

@wolftune

wolftune commented Apr 9, 2016

Copy link
Copy Markdown

Another idea to consider: have a "similar licenses" dropdown under various things. This does not distract from the linear list because this would only be used where it really is somewhat inconsequential. Basically the idea would be to state that, e.g. BSD-2 and BSD-3 are effectively interchangeable with MIT, because this is not strictly about choosing a license, it can also be about learning to recognize licenses. I.e. I'd hope people can quickly see BSD licenses in use and recognize "oh, that's comparable to MIT in that spectrum of licenses". I'd only support this for BSD and maybe any other really popular licenses. And I'd not mind if this was rejected.

@ionas

ionas commented Apr 9, 2016

Copy link
Copy Markdown

I don't really buy into any argument based on popularity. But I'd like to see a list of "similar lics" tags as well. However I'd simply link to wikipedia or whatnot because maintaining nitpicky differences between them will be hard.

@wolftune

wolftune commented Apr 9, 2016

Copy link
Copy Markdown

@ionas agreed overall. @mlinksva work here is great, and for anything beyond this with more really thorough stuff, it could make sense to just link to the well-designed page at https://www.gnu.org/licenses/license-list.html#SoftwareLicenses

@ionas

ionas commented Apr 9, 2016

Copy link
Copy Markdown

Don't get me wrong, I'd personally link gnu.org but I think to be on neutral ground I'd rather link to the license entries on Wikipedia. There is also multi language options available over there for most of them.

@wolftune

wolftune commented Apr 9, 2016

Copy link
Copy Markdown

that particular gnu.org page is just superior to about any other in its clarity and thoroughness.

Anyway, to not get too tangential, my concern about GPL version from #386 (comment) above is outstanding too

@mlinksva

Copy link
Copy Markdown
Contributor Author

I don't think educating users about why they might want GPLv2+ instead of GPLv3(+) is a net win, at least on /licenses. Talk about a lot to digest. I'd love to swap in copyleft-next at some point, when it has a version that meets criteria for including in the site. There's a related unfortunate issue that I have yet to open but will soon...

@kentfredric

Copy link
Copy Markdown

removing Artistic and Eclipse is definitely correct. There's ZERO sense in recommending those to anyone who isn't already planning to use them.

How? Surely the value of a license stands on the merit of what the license allows you to do/restricts, and if somebodies interest falls squarely in line with an artistic license, then..... surely, they should use artistic, because it reflects what they want.

@wolftune

Copy link
Copy Markdown

@kentfredric (posted a bit hasty initially), the trouble is that there are hundreds of licenses if someone were to pick just right one for each preference. This list is necessarily a subset and small selection. Having re-read Artistic v2, I see it has some merit as being between MIT and MozillaPL, but still not sure it really is valuable to be included.

@mlinksva

Copy link
Copy Markdown
Contributor Author

Artistic v2, I see it has some merit as being between MIT and MozillaPL

Apache License 2.0 fills this space. Note at the granularity currently described by permissions/conditions/limitations fields here, these two licenses are exact matches. Of course the licenses have subtle differences, but I don't see any that are worth calling out for people who aren't license nerds, something which contributors to open source should not be required to become.

I've no objection to anyone using Artistic 2.0 if it's what they want, but listing it on /licenses just makes the page noisier.

mlinksva added a commit that referenced this pull request Apr 17, 2016
cleanup variant/family/fields forgotten in #361 and #386
mlinksva added a commit that referenced this pull request Apr 26, 2016
was unused for choosealicense.com display after
#386

but choosealicense.com is vendored into licensee which eventually
is used in GitHub; 'featured' determines what is highlighted in
license drop-down eg at https://github.com/new
@mlinksva mlinksva mentioned this pull request Apr 26, 2016
@benbalter

Copy link
Copy Markdown
Contributor

Noted over in #434, but similar to #398, there's value in exposing the hidden field (and using it for the site's templating, rather than hard-coding preferences, to distinguish license prominence.

mlinksva added a commit that referenced this pull request Sep 26, 2016
- document criteria for whether a license is hidden
  - needed for license spectrum on /licenses OR
  - on 'popular' list at https://opensource.org/licenses (some other list could be used in the future)
- adjust license properties and tests accordingly

This gets non-hidden list back close to what it was before #386 and (pending licensee vendoring this change, licensee release, and github.com licensee dependency version bump) some commonly requested licenses (eg #413 #449) will reappear in the github.com license drop-down.
@blahah

blahah commented Jul 9, 2017 •

Copy link
Copy Markdown

@mlinksva is there an issue already about re-adding CC0 to the UI (I only found closed ones and don't want to create new ones if you don't want to entertain them)? Removing it has killed the usefulness of the github new repo license UI for me and collabs. The unlicense is much more problematic than CC0 in its lack of fallback for jurisdictions where total public domain dedication is not possible. (happy to discuss in detail)

@trucktank trucktank left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/AdobeDocs/analytics-1.4-ap

KOLANICH pushed a commit to KOLANICH-datasets/GitHub_licenses_dataset that referenced this pull request Mar 2, 2021
was unused for choosealicense.com display after
github/choosealicense.com#386

but choosealicense.com is vendored into licensee which eventually
is used in GitHub; 'featured' determines what is highlighted in
license drop-down eg at https://github.com/new
KOLANICH pushed a commit to KOLANICH-datasets/GitHub_licenses_dataset that referenced this pull request Mar 2, 2021
was unused for choosealicense.com display after
github/choosealicense.com#386

but choosealicense.com is vendored into licensee which eventually
is used in GitHub; 'featured' determines what is highlighted in
license drop-down eg at https://github.com/new
KOLANICH pushed a commit to KOLANICH-datasets/GitHub_licenses_dataset that referenced this pull request Mar 2, 2021
was unused for choosealicense.com display after
github/choosealicense.com#386

but choosealicense.com is vendored into licensee which eventually
is used in GitHub; 'featured' determines what is highlighted in
license drop-down eg at https://github.com/new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recommend AGPL3, LGPL3 and GPL3

8 participants