Skip to content

Commit 4e81aed

Browse files
Add copyright owner assertion for all license types (#45)
Add copyright owner assertion for all license types --------- Signed-off-by: Facundo Tuesca <facundo.tuesca@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com>
1 parent edf6169 commit 4e81aed

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

{{cookiecutter.project_slug}}/README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,45 @@
77
<!--- BADGES: END --->
88

99
{{ cookiecutter.project_description }}
10+
11+
## License
12+
{%- if cookiecutter.license == "Apache 2.0" %}
13+
```
14+
Copyright {% now 'local', '%Y' %} {{ cookiecutter.author_name }}
15+
16+
Licensed under the Apache License, Version 2.0 (the "License");
17+
you may not use this file except in compliance with the License.
18+
19+
You may obtain a copy of the License at
20+
http://www.apache.org/licenses/LICENSE-2.0
21+
22+
Unless required by applicable law or agreed to in writing, software
23+
distributed under the License is distributed on an "AS IS" BASIS,
24+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25+
See the License for the specific language governing permissions and
26+
limitations under the License.
27+
```
28+
{%- elif cookiecutter.license == "AGPL v3" %}
29+
```
30+
Copyright (C) {% now 'local', '%Y' %} {{ cookiecutter.author_name }}
31+
32+
This program is free software: you can redistribute it and/or modify
33+
it under the terms of the GNU Affero General Public License as published
34+
by the Free Software Foundation, either version 3 of the License, or
35+
(at your option) any later version.
36+
37+
This program is distributed in the hope that it will be useful,
38+
but WITHOUT ANY WARRANTY; without even the implied warranty of
39+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40+
GNU Affero General Public License for more details.
41+
42+
You should have received a copy of the GNU Affero General Public License
43+
along with this program. If not, see <https://www.gnu.org/licenses/>.
44+
```
45+
{%- elif cookiecutter.license == "Proprietary" %}
46+
```
47+
Copyright (C) {{ cookiecutter.author_name }}. All rights reserved.
48+
49+
Please contact {{ cookiecutter.author_email }} for licensing terms.
50+
```
51+
{%- endif %}

0 commit comments

Comments
 (0)