-
Notifications
You must be signed in to change notification settings - Fork 18
/
.licensure.yml
143 lines (134 loc) Β· 4.3 KB
/
.licensure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
change_in_place: true
# Regexes which if matched by a file path will always be excluded from
# getting a license header
excludes:
- NOTICE
- .gitmodules
- Makefile
- justfile
- \.gitignore
- .*lock
- \.git/.*
- \.licensure\.yml
- README.*
- LICENSE.*
- .*\.(nix|toml|yml|md|rst|txt)
- config/.*
- lib/.*
- script/.*
- tests/.*
- website/.*
- data/.*
- docs/.*
- src/gen/.*
- gen/.*
- distribution/.*
- contrib/.*
- bin/.*
- benches/.*
- assets/.*
- /config/.*
- \..*/.*
# Definition of the licenses used on this project and to what files
# they should apply.
#
# No default license configuration is provided. This section must be
# configured by the user.
#
# Make sure to delete the [] below when you add your configs.
licenses:
- files: any
ident: AGPL-3.0-or-later
authors:
- name: INFINI Labs Team
email: hello@infini.ltd
auto_template: false
template: |
Copyright (C) INFINI Labs & INFINI LIMITED.
The INFINI Framework is offered under the GNU Affero General Public License v3.0
and as commercial software.
For commercial licensing, contact us at:
- Website: infinilabs.com
- Email: hello@infini.ltd
Open Source licensed under AGPL V3:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
unwrap_text: false
commenter:
type: line
comment_char: "//"
trailing_lines: 1
# Define type of comment characters to apply based on file extensions.
comments:
# The extensions (or singular extension) field defines which file
# extensions to apply the commenter to.
- extensions:
- js
- rs
- go
# The commenter field defines the kind of commenter to
# generate. There are two types of commenters: line and block.
#
# This demonstrates a line commenter configuration. A line
# commenter type will apply the comment_char to the beginning of
# each line in the license header. It will then apply a number of
# empty newlines to the end of the header equal to trailing_lines.
#
# If trailing_lines is omitted it is assumed to be 0.
commenter:
type: line
comment_char: "//"
trailing_lines: 1
- extensions:
- css
- cpp
- c
# This demonstrates a block commenter configuration. A block
# commenter type will add start_block_char as the first character
# in the license header and add end_block_char as the last character
# in the license header. If per_line_char is provided each line of
# the header between the block start and end characters will be
# line commented with the per_line_char
#
# trailing_lines works the same for both block and line commenter
# types
commenter:
type: block
start_block_char: "/*\n"
end_block_char: "*/"
per_line_char: "*"
trailing_lines: 0
# In this case extension is singular and a single string extension is provided.
- extension: html
commenter:
type: block
start_block_char: "<!--\n"
end_block_char: "-->"
- extensions:
- el
- lisp
commenter:
type: line
comment_char: ";;;"
trailing_lines: 0
# The extension string "any" is special and so will match any file
# extensions. Commenter configurations are always checked in the
# order they are defined, so if any is used it should be the last
# commenter configuration or else it will override all others.
#
# In this configuration if we can't match the file extension we fall
# back to the popular '#' line comment used in most scripting
# languages.
- extension: any
commenter:
type: line
comment_char: '#'
trailing_lines: 0