Skip to content

Commit 2221481

Browse files
authored
Merge pull request #601 from github/defer-source
rm source metadata, defer to SPDX record
2 parents d8a67ff + b5972d3 commit 2221481

40 files changed

Lines changed: 4 additions & 43 deletions

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AllCops:
2-
TargetRubyVersion: 2.4
2+
TargetRubyVersion: 2.5
33
Exclude:
44
- _site/**/*
55
- vendor/**/*

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ script: "./script/cibuild"
55
#environment
66
language: ruby
77
rvm:
8-
- 2.4.2
8+
- 2.5.1
99

1010
addons:
1111
apt:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
3535

3636
* `title` - The license full name specified by https://spdx.org/licenses/
3737
* `spdx-id` - Short identifier specified by https://spdx.org/licenses/
38-
* `source` - The URL to the license source text
3938
* `description` - A human-readable description of the license
4039
* `how` - Instructions on how to implement the license
4140
* `using` - A list of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/benbalter/licensee) in the form of `project_name: license_file_url`

_data/meta.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
description: Short identifier specified by https://spdx.org/licenses/
1010
required: true
1111

12-
- name: source
13-
description: The URL to the license source text
14-
required: true
15-
1612
- name: description
1713
description: A human-readable description of the license
1814
required: true

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h3>How to apply this license</h3>
1919

2020
{% if page.source %}
2121
<div class="source">
22-
<a href="{{ page.source }}">
22+
<a href="https://spdx.org/licenses/{{ page.spdx-id }}.html">
2323
<span class="license-sprite"></span>
2424
Source
2525
</a>

_licenses/afl-3.0.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Academic Free License v3.0
33
spdx-id: AFL-3.0
4-
source: https://opensource.org/licenses/afl-3.0
54

65
description: The Academic Free License is a variant of the Open Software License that does not require that the source code of derivative works be disclosed. It contains explicit copyright and patent grants and reserves trademark rights in the author.
76

_licenses/agpl-3.0.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: GNU Affero General Public License v3.0
33
spdx-id: AGPL-3.0
44
nickname: GNU AGPLv3
55
redirect_from: /licenses/agpl/
6-
source: https://www.gnu.org/licenses/agpl-3.0.txt
76
hidden: false
87

98
description: Permissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.

_licenses/apache-2.0.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Apache License 2.0
33
spdx-id: Apache-2.0
44
redirect_from: /licenses/apache/
5-
source: https://www.apache.org/licenses/LICENSE-2.0.html
65
featured: true
76
hidden: false
87

_licenses/artistic-2.0.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Artistic License 2.0
33
spdx-id: Artistic-2.0
44
redirect_from: /licenses/artistic/
5-
source: https://spdx.org/licenses/Artistic-2.0.html
65

76
description: Heavily favored by the Perl community, the Artistic license requires that modified versions of the software do not prevent users from running the standard version.
87

_licenses/bsd-2-clause.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: BSD 2-Clause "Simplified" License
33
spdx-id: BSD-2-Clause
44
redirect_from: /licenses/bsd/
5-
source: https://opensource.org/licenses/BSD-2-Clause
65
hidden: false
76

87
description: A permissive license that comes in two variants, the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause/">BSD 3-Clause</a>. Both have very minute differences to the MIT license.

0 commit comments

Comments
 (0)