Skip to content

Commit 9e9f9b6

Browse files
authored
Merge branch 'gh-pages' into home-reform
2 parents 64a35c9 + fb331fd commit 9e9f9b6

45 files changed

Lines changed: 1219 additions & 250 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.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.0
8+
- 2.4.2
99

1010
addons:
1111
apt:

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,31 @@
22

33
We love Pull Requests! Your contributions help make ChooseALicense.com great.
44

5+
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE.md).
6+
57
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
68

79
## Getting Started
810

911
So you want to contribute to ChooseALicense. Great! We welcome any help we can
1012
get. But first, please make sure you understand what
11-
[this site is all about](http://choosealicense.com/about). It’s not a comprehensive list of all possible licenses.
13+
[this site is all about](https://choosealicense.com/about). It’s not a comprehensive list of all possible licenses.
1214

1315
## Adding a license
1416

15-
Choosealicense.com is intended to demystify license choices, not present or catalog all of them. As such, only a small number are highlighted on the home page or <http://choosealicense.com/licenses>, and there are several requirements for a license to be [cataloged](http://choosealicense.com/appendix/) on the site:
17+
Choosealicense.com is intended to demystify license choices, not present or catalog all of them. As such, only a small number are highlighted on the home page or <https://choosealicense.com/licenses>, and there are several requirements for a license to be [cataloged](https://choosealicense.com/appendix/) on the site:
1618

1719
1. The license must have [an SPDX identifier](https://spdx.org/licenses/). If your license isn't registered with SPDX, please [request that it be added](https://spdx.org/spdx-license-list/request-new-license).
1820
2. The license must be listed on one of the following approved lists of licenses:
1921
* [List of OSI approved licenses](https://opensource.org/licenses/alphabetical)
2022
* [GNU's list of free licenses](https://www.gnu.org/licenses/license-list.en.html) (*note: the license must be listed in one of the three "free" categories*)
21-
* [Open Definition's list of conformant licenses](http://opendefinition.org/licenses/) (non-code)
23+
* [Open Definition's list of conformant licenses](https://opendefinition.org/licenses/) (non-code)
2224
3. A [GitHub code search](https://github.com/search?q=MIT+filename%3ALICENSE&type=Code) must reveal at least *1,000* public repositories using the license
2325
4. Identification of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that could be detected by [licensee](https://github.com/benbalter/licensee) if it knew about the license
2426

2527
If your proposed license meets the above criteria, here's a few other things to keep in mind as you propose the license's addition:
2628

27-
* Is the license already cataloged? See <http://choosealicense.com/appendix/> for a list of all of the licenses known by the site.
29+
* Is the license already cataloged? See <https://choosealicense.com/appendix/> for a list of all of the licenses known by the site.
2830
* Licenses live in the `/_licenses` folder.
2931
* The license files should be in the format of `_licenses/[lowercased-spdx-id].txt` (e.g., `_licenses/mit.txt`)
3032
* Each license has both [required and optional metadata](https://github.com/github/choosealicense.com#license-metadata) that should be included.
@@ -43,8 +45,6 @@ find it in the GitHub repository. Then click the `Edit` button. Make your
4345
changes, type in a commit message, and click the `Propose File Change` button.
4446
That’s it!
4547

46-
You will be asked to sign the [GitHub Contributor License Agreement](https://cla.github.com/) for this project when you make your first pull request.
47-
4848
For more advanced changes, check out [the bootstrap instructions](https://github.com/github/choosealicense.com#run-it-on-your-machine) in the [project's readme](/README.md).
4949

5050
## Testing

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ end
1616

1717
group :test do
1818
gem 'html-proofer', '~> 3.0'
19-
gem 'nokogiri'
19+
gem 'licensee'
2020
gem 'rake'
2121
gem 'rspec'
2222
gem 'rubocop'

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2017 GitHub, Inc. and contributors
1+
Copyright (c) 2013-2018 GitHub, Inc. and contributors
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Like a Choose Your Own Adventure site, but only much less interesting.
88

99
A lot of repositories on GitHub.com don't have a license. GitHub provides a license chooser, but if you don't know anything about licenses, how are you supposed to make an informed decision?
1010

11-
[ChooseALicense.com](http://www.choosealicense.com "Choose A Licence website") is designed to help people make an informed decision about licenses by demystifying license choices through non-judgmental guidance.
11+
[ChooseALicense.com](https://www.choosealicense.com "Choose A Licence website") is designed to help people make an informed decision about licenses by demystifying license choices through non-judgmental guidance.
1212

1313
## Immediate Goals
1414

@@ -39,8 +39,8 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
3939

4040
#### Required fields
4141

42-
* `title` - The license full name specified by http://spdx.org/licenses/
43-
* `spdx-id` - Short identifier specified by http://spdx.org/licenses/
42+
* `title` - The license full name specified by https://spdx.org/licenses/
43+
* `spdx-id` - Short identifier specified by https://spdx.org/licenses/
4444
* `source` - The URL to the license source text
4545
* `description` - A human-readable description of the license
4646
* `how` - Instructions on how to implement the license
@@ -52,7 +52,7 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
5252
#### Optional fields
5353

5454
* `featured` - Whether the license should be featured on the main page (defaults to false)
55-
* `hidden` - Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](http://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
55+
* `hidden` - Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](https://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
5656
* `nickname` - Customary short name if applicable (e.g, GPLv3)
5757
* `note` - Additional information about the licenses
5858
* `redirect_from` - Relative path(s) to redirect to the license from, to prevent breaking old URLs
@@ -69,6 +69,7 @@ The licenses on choosealicense.com are regularly imported to GitHub.com to be us
6969
* `project` - The repository name
7070
* `description` - The description of the repository
7171
* `year` - The current year
72+
* `projecturl` - The repository URL or other project website
7273

7374
## License properties
7475

@@ -103,4 +104,4 @@ The license properties (rules) are stored as a bulleted list within the licenses
103104

104105
## License
105106

106-
The content of this project itself is licensed under the [Creative Commons Attribution 3.0 license](http://creativecommons.org/licenses/by/3.0/us/deed.en_US), and the underlying source code used to format and display that content is licensed under the [MIT license](http://opensource.org/licenses/mit-license.php).
107+
The content of this project itself is licensed under the [Creative Commons Attribution 3.0 license](https://creativecommons.org/licenses/by/3.0/us/deed.en_US), and the underlying source code used to format and display that content is licensed under the [MIT license](https://opensource.org/licenses/mit-license.php).

_data/fields.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@
2121

2222
- name: year
2323
description: The current year
24+
25+
- name: projecturl
26+
description: The repository URL or other project website

_data/meta.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
# The available fields are:
33

44
- name: title
5-
description: The license full name specified by http://spdx.org/licenses/
5+
description: The license full name specified by https://spdx.org/licenses/
66
required: true
77

88
- name: spdx-id
9-
description: Short identifier specified by http://spdx.org/licenses/
9+
description: Short identifier specified by https://spdx.org/licenses/
1010
required: true
1111

1212
- name: source
@@ -44,7 +44,7 @@
4444
required: false
4545

4646
- name: hidden
47-
description: Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](http://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
47+
description: Whether the license is neither [popular](https://opensource.org/licenses) nor fills out the [spectrum of licenses](https://choosealicense.com/licenses/) from strongly conditional to unconditional (defaults to true)
4848
required: false
4949

5050
- name: nickname

_includes/sidebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="sidebar">
22

33
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
4-
4+
55
<div class="how-to-apply">
66
<h3>How to apply this license</h3>
77
<p>
@@ -14,7 +14,7 @@ <h3>How to apply this license</h3>
1414
{% endif %}
1515
{% assign xgpl = false %}
1616
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
17-
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}</code>{% if xgpl %}+{% endif %}</strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
17+
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
1818
</div>
1919

2020
{% if page.source %}

0 commit comments

Comments
 (0)