From d657524e4678f3e3b1871e5a8fd8813770d4bd20 Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Sat, 22 Jan 2022 23:38:19 +0000 Subject: [PATCH 1/9] 404 screen --- 404.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 404.md diff --git a/404.md b/404.md new file mode 100644 index 0000000..595e6bc --- /dev/null +++ b/404.md @@ -0,0 +1,6 @@ +--- +title: 404 Not Found +--- +Sorry! We could not find the page you were looking for. + +If you were trying to see a license, go to [licenses](/licenses). From e56839b73a7d51912d197bc474cf3e99870abf92 Mon Sep 17 00:00:00 2001 From: Anthony Swierkosz Date: Wed, 23 Feb 2022 03:47:36 -0500 Subject: [PATCH 2/9] Replace px font units with rem, resolves #904 --- assets/css/application.scss | 40 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/assets/css/application.scss b/assets/css/application.scss index 3e56c4a..ed8ca00 100644 --- a/assets/css/application.scss +++ b/assets/css/application.scss @@ -7,7 +7,7 @@ body { background: #fafafa; color: #5c5855; - font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; + font: 0.875rem/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; } @media (prefers-color-scheme: dark) { @@ -68,7 +68,7 @@ h1, h2, h3, h5 { } h1 { - font-size: 35px; + font-size: 2.1875rem; margin-bottom: 25px; } @@ -78,19 +78,19 @@ h1 { h2 { opacity: 0.8; - font-size: 24px; + font-size: 1.5rem; margin-top: 24px; margin-bottom: 10px; } h3 { - font-size: 15px; + font-size: 0.9375rem; margin-top: 20px; margin-bottom: 10px; } h5 { - font-size: 14px; + font-size: 0.875rem; margin-bottom: 15px; } @@ -120,12 +120,12 @@ strong { } .home h1 { - font-size: 60px; + font-size: 3.75rem; } .home h2 { color: #687072; - font-size: 27px; + font-size: 1.6875rem; line-height: 70px; margin-bottom: 45px; vertical-align: middle; @@ -134,7 +134,7 @@ strong { .home h2 span { color: rgba(127,127,127,10%); - font-size: 70px; + font-size: 4.375rem; padding: 0 5px; position: relative; top: 10px; @@ -160,7 +160,7 @@ strong { } .triptych h3 { - font-size: 22px; + font-size: 1.375rem; margin: 0 auto 20px auto; width: 220px; } @@ -218,7 +218,7 @@ strong { } .license-overview-name { - font-size: 28px; + font-size: 1.75rem; margin-top: 5px; } @@ -228,7 +228,7 @@ strong { .license-rules { border-bottom: solid 1px #ddd; - font-size: 13px; + font-size: 0.8125rem; line-height: 1.3; margin-bottom: 12px; width: 100%; @@ -240,7 +240,7 @@ strong { } .license-rules th { - font-size: 15px; + font-size: 0.9375rem; padding: 5px 10px 5px 0; vertical-align: bottom; } @@ -259,11 +259,11 @@ strong { } .license-rules .name a { - font-size: 28px; + font-size: 1.75rem; } .license-rules .name small a { - font-size: 16px; + font-size: 1rem; } .license-rules td { @@ -302,14 +302,14 @@ strong { } .license-body { - font-size: 15px; + font-size: 0.9375rem; float: left; width: 700px; } .license-body pre { font-family: Consolas, Monaco, Courier, monospace; - font-size: 14px; + font-size: 0.875rem; background-color: #fff; border: 1px solid #eee; -webkit-border-radius: 3px; @@ -327,7 +327,7 @@ strong { .sidebar { float: right; width: 220px; - font-size: 12px; + font-size: 0.75rem; } .sidebar a.button { @@ -398,7 +398,7 @@ strong { background-image: -o-linear-gradient(#eee, #ddd); background-image: linear-gradient(#eee, #ddd); display: inline-block; - font-size: 12px; + font-size: 0.75rem; font-weight: normal; padding: 5px 10px; text-align: center; @@ -423,7 +423,7 @@ strong { margin-top: 30px; padding-top: 20px; color: #555; - font-size: 12px; + font-size: 0.75rem; text-align: left; line-height: 1.5; } @@ -467,7 +467,7 @@ strong { .qtip-limitations, .qtip-fetching, .qtip-error { - font-size: 12px; + font-size: 0.75rem; line-height: 1.3; } From 1a37894edb35cdee650db8192e095c62f01b2c5c Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Wed, 16 Mar 2022 16:43:17 +0000 Subject: [PATCH 3/9] .NET Core > .NET --- _licenses/mit.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_licenses/mit.txt b/_licenses/mit.txt index 79d306c..bbee53e 100644 --- a/_licenses/mit.txt +++ b/_licenses/mit.txt @@ -10,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of using: Babel: https://github.com/babel/babel/blob/master/LICENSE - .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT + .NET: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE permissions: From d91f364d2ce30201d712dd065437339a70cca9f1 Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Wed, 16 Mar 2022 22:38:38 +0000 Subject: [PATCH 4/9] Update _licenses/mit.txt Co-authored-by: Mike Linksvayer --- _licenses/mit.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_licenses/mit.txt b/_licenses/mit.txt index bbee53e..1ad0488 100644 --- a/_licenses/mit.txt +++ b/_licenses/mit.txt @@ -10,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of using: Babel: https://github.com/babel/babel/blob/master/LICENSE - .NET: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT + .NET: https://github.com/dotnet/runtime/blob/main/LICENSE.TXT Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE permissions: From 639dac9dc52678b5f6063ad95e6e5f99e5708556 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Wed, 16 Mar 2022 16:08:34 -0700 Subject: [PATCH 5/9] Fix EUPL-1.1 guidance link --- _licenses/eupl-1.1.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_licenses/eupl-1.1.txt b/_licenses/eupl-1.1.txt index b2512b7..c174eb0 100644 --- a/_licenses/eupl-1.1.txt +++ b/_licenses/eupl-1.1.txt @@ -7,7 +7,7 @@ description: The “European Union Public Licence” (EUPL) is a copyleft free/o how: Create a text file (typically named COPYING or LICENCE.txt) in the root of your source code and copy the text of the license into the file. -note: The European Commission recommends taking the additional step of adding a [boilerplate notice](https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf#page=17) to the top of each file. +note: The European Commission recommends taking the additional step of adding a [boilerplate notice](https://joinup.ec.europa.eu/sites/default/files/inline-files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf#page=17) to the top of each file. using: From 5881f34b1e2f0824552c87a7b6aee9d63c9509db Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Thu, 14 Apr 2022 19:36:12 -0400 Subject: [PATCH 6/9] mulan: fix wrapping and trim space --- _licenses/mulanpsl-2.0.txt | 111 ++++++++++++++++++------------------- 1 file changed, 55 insertions(+), 56 deletions(-) diff --git a/_licenses/mulanpsl-2.0.txt b/_licenses/mulanpsl-2.0.txt index 90a2248..8b3d598 100644 --- a/_licenses/mulanpsl-2.0.txt +++ b/_licenses/mulanpsl-2.0.txt @@ -102,14 +102,13 @@ limitations: Copyright (c) [Year] [name of copyright holder] [Software Name] is licensed under Mulan PSL v2. -You can use this software according to the terms and conditions of the Mulan +You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 -THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO -NON-INFRINGEMENT, -MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details. Mulan Permissive Software License,Version 2 @@ -118,109 +117,109 @@ Mulan Permissive Software License,Version 2 (Mulan PSL v2) January 2020 http://license.coscl.org.cn/MulanPSL2 -Your reproduction, use, modification and distribution of the Software shall -be subject to Mulan PSL v2 (this License) with the following terms and +Your reproduction, use, modification and distribution of the Software shall +be subject to Mulan PSL v2 (this License) with the following terms and conditions: 0. Definition -Software means the program and related documents which are licensed under +Software means the program and related documents which are licensed under this License and comprise all Contribution(s). -Contribution means the copyrightable work licensed by a particular +Contribution means the copyrightable work licensed by a particular Contributor under this License. -Contributor means the Individual or Legal Entity who licenses its +Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License. -Legal Entity means the entity making a Contribution and all its +Legal Entity means the entity making a Contribution and all its Affiliates. -Affiliates means entities that control, are controlled by, or are under -common control with the acting entity under this License, ‘control’ means -direct or indirect ownership of at least fifty percent (50%) of the voting -power, capital or other securities of controlled or commonly controlled +Affiliates means entities that control, are controlled by, or are under +common control with the acting entity under this License, ‘control’ means +direct or indirect ownership of at least fifty percent (50%) of the voting +power, capital or other securities of controlled or commonly controlled entity. 1. Grant of Copyright License -Subject to the terms and conditions of this License, each Contributor hereby -grants to you a perpetual, worldwide, royalty-free, non-exclusive, -irrevocable copyright license to reproduce, use, modify, or distribute its +Subject to the terms and conditions of this License, each Contributor hereby +grants to you a perpetual, worldwide, royalty-free, non-exclusive, +irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not. 2. Grant of Patent License -Subject to the terms and conditions of this License, each Contributor hereby -grants to you a perpetual, worldwide, royalty-free, non-exclusive, -irrevocable (except for revocation under this Section) patent license to -make, have made, use, offer for sale, sell, import or otherwise transfer its -Contribution, where such patent license is only limited to the patent claims -owned or controlled by such Contributor now or in future which will be -necessarily infringed by its Contribution alone, or by combination of the -Contribution with the Software to which the Contribution was contributed. -The patent license shall not apply to any modification of the Contribution, -and any other combination which includes the Contribution. If you or your -Affiliates directly or indirectly institute patent litigation (including a -cross claim or counterclaim in a litigation) or other patent enforcement -activities against any individual or entity by alleging that the Software or -any Contribution in it infringes patents, then any patent license granted to -you under this License for the Software shall terminate as of the date such +Subject to the terms and conditions of this License, each Contributor hereby +grants to you a perpetual, worldwide, royalty-free, non-exclusive, +irrevocable (except for revocation under this Section) patent license to +make, have made, use, offer for sale, sell, import or otherwise transfer its +Contribution, where such patent license is only limited to the patent claims +owned or controlled by such Contributor now or in future which will be +necessarily infringed by its Contribution alone, or by combination of the +Contribution with the Software to which the Contribution was contributed. +The patent license shall not apply to any modification of the Contribution, +and any other combination which includes the Contribution. If you or your +Affiliates directly or indirectly institute patent litigation (including a +cross claim or counterclaim in a litigation) or other patent enforcement +activities against any individual or entity by alleging that the Software or +any Contribution in it infringes patents, then any patent license granted to +you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken. 3. No Trademark License -No trademark license is granted to use the trade names, trademarks, service -marks, or product names of Contributor, except as required to fulfill notice +No trademark license is granted to use the trade names, trademarks, service +marks, or product names of Contributor, except as required to fulfill notice requirements in section 4. 4. Distribution Restriction -You may distribute the Software in any medium with or without modification, -whether in source or executable forms, provided that you provide recipients -with a copy of this License and retain copyright, patent, trademark and +You may distribute the Software in any medium with or without modification, +whether in source or executable forms, provided that you provide recipients +with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software. 5. Disclaimer of Warranty and Limitation of Liability -THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY -KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR -COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT -LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING -FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO -MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF +THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY +KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR +COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT +LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING +FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO +MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 6. Language -THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION -AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF -DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION +THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION +AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF +DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL. END OF THE TERMS AND CONDITIONS -How to Apply the Mulan Permissive Software License,Version 2 +How to Apply the Mulan Permissive Software License,Version 2 (Mulan PSL v2) to Your Software -To apply the Mulan PSL v2 to your work, for easy identification by +To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps: -i. Fill in the blanks in following statement, including insert your software -name, the year of the first publication of your software, and your name +i. Fill in the blanks in following statement, including insert your software +name, the year of the first publication of your software, and your name identified as the copyright owner; -ii. Create a file named "LICENSE" which contains the whole context of this +ii. Create a file named "LICENSE" which contains the whole context of this License in the first directory of your software package; -iii. Attach the statement to the appropriate annotated syntax at the +iii. Attach the statement to the appropriate annotated syntax at the beginning of each source file. Copyright (c) [Year] [name of copyright holder] [Software Name] is licensed under Mulan PSL v2. -You can use this software according to the terms and conditions of the Mulan +You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 -THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details. From 242b0638db25f809980c1fcd212286996a270398 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Thu, 14 Apr 2022 16:50:00 -0700 Subject: [PATCH 7/9] update cncf link --- community.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community.md b/community.md index f4ea7d9..0caae39 100644 --- a/community.md +++ b/community.md @@ -14,7 +14,7 @@ Some communities have strong preferences for particular licenses. If you want to {: .bullets} * [Apache](https://www.apache.org/licenses/) requires [Apache License 2.0](/licenses/apache-2.0/) -* [Cloud Native Computing Foundation](https://github.com/cncf/toc/blob/master/process/project_proposals.adoc) dictates [Apache License 2.0](/licenses/apache-2.0/) by default +* [Cloud Native Computing Foundation](https://github.com/cncf/toc/blob/main/process/project_proposals.md) dictates [Apache License 2.0](/licenses/apache-2.0/) by default * [GNU](https://www.gnu.org/licenses/license-recommendations.html) recommends [GNU GPLv3](/licenses/gpl-3.0/) for most programs * [npm packages](https://libraries.io/search?platforms=npm) overwhelmingly use the [MIT](/licenses/mit/) or the very similar [ISC](/licenses/isc) licenses * [OpenBSD](https://www.openbsd.org/policy.html) prefers the [ISC License](/licenses/isc/) From 1a2ed662394573c2c369532f19f2403265ec11bf Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Wed, 27 Apr 2022 17:19:40 +0800 Subject: [PATCH 8/9] chore: remove git.io All links on git.io will stop redirecting after April 29, 2022. - https://github.blog/changelog/2022-04-25-git-io-deprecation/ --- spec/license_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/license_spec.rb b/spec/license_spec.rb index 0fd8a96..09460c6 100644 --- a/spec/license_spec.rb +++ b/spec/license_spec.rb @@ -28,7 +28,7 @@ describe 'licenses' do context 'industry approval' do it 'should be approved by OSI or FSF or OD' do - expect(approved_licenses).to include(spdx_lcase), 'See https://git.io/vzCTV.' + expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/master/CONTRIBUTING.md#adding-new-licenses.' end end From 8359cdcb3f4886976a8dd5616c6b52fd62f1fe22 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Wed, 27 Apr 2022 07:43:32 -0700 Subject: [PATCH 9/9] avoid master->gh-pages redirect --- spec/license_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/license_spec.rb b/spec/license_spec.rb index 09460c6..d0dbaf1 100644 --- a/spec/license_spec.rb +++ b/spec/license_spec.rb @@ -28,7 +28,7 @@ describe 'licenses' do context 'industry approval' do it 'should be approved by OSI or FSF or OD' do - expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/master/CONTRIBUTING.md#adding-new-licenses.' + expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-new-licenses.' end end