|
8 | 8 | contributors = {
|
9 | 9 | 'anya' : 'Anya Helene Bagge',
|
10 | 10 | 'biz002' : 'Tero Hasu',
|
11 |
| - 'eva' : 'Anya Helene Bagge' |
| 11 | + 'eva' : 'Anya Helene Bagge', |
| 12 | + 'andreash' : 'Andreas Hjortland', |
| 13 | + 'magne' : 'Magne Haveraaen' |
12 | 14 | }
|
13 | 15 | # list of copyright owners that should have their years updated from the log
|
14 | 16 | autoYear = []
|
|
17 | 19 | autoCopyright = {
|
18 | 20 | "University of Bergen" : "*",
|
19 | 21 | "Anya Helene Bagge" : "Anya Helene Bagge",
|
20 |
| - "Tero Hasu" : "Tero Hasu" |
| 22 | + "Tero Hasu" : "Tero Hasu", |
| 23 | + "Magne Haveraaen" : "Magne Haveraaen" |
21 | 24 | }
|
22 | 25 |
|
23 | 26 | standard_licenses = [("", {"GPLv3+", "EPLv1"})]
|
| 27 | +#standard_licenses = [("", {"MIT"})] |
24 | 28 |
|
25 | 29 | # format for copyright lines
|
26 | 30 | fmt_copyright = "Copyright (c) %s %s\n"
|
|
50 | 54 | re_eplIdLine = re.compile(r'.*(http://www.eclipse.org/legal/epl-v10.html).*') # lines identifying an EPLv1.0 notice
|
51 | 55 | re_gplLine = re.compile(r'.*(free software: you can redistribute it|GNU General Public License|any later version\.|http://www.gnu.org/licenses/).*') # lines in a GPL notice
|
52 | 56 | re_gplIdLine = re.compile(r'.*(Free Software Foundation, either version 3 of the License, or).*') # lines identifying a GPLv3+ notice
|
| 57 | +re_mitIdLine = re.compile(r'.*(copy, modify, merge, publish, distribute, sublicense).*') # line identifing a MIT notice |
53 | 58 | re_mitLine = re.compile(r'.*(hereby granted, free of charge|software and associated documentation|Software without restriction|copy, modify, merge, publish, distribute, sublicense|and to permit persons to|do so, subject to the following conditions|substantial portions of the Software|WITHOUT WARRANTY OF ANY KIND|BUT NOT LIMITED TO THE WARRANTIES|PARTICULAR PURPOSE AND NONINFRINGEMENT|BE LIABLE FOR ANY CLAIM|WHETHER IN AN ACTION OF CONTRACT|THE SOFTWARE).*')
|
54 | 59 | re_moreInfoLine = re.compile(r'.*See.*for more info.*')
|
55 | 60 | re_copyright = re.compile(r'\s*Copyright\s*(\([cC]\)|©)\s*([0-9–, -]*)\s*(.*)$') # copyright lines
|
@@ -213,7 +218,7 @@ def decodeCopyright(copy):
|
213 | 218 | elif re_gplIdLine.match(l):
|
214 | 219 | licenses.add("GPLv3+")
|
215 | 220 | mode = 'n'
|
216 |
| - elif re_gplIdLine.match(l): |
| 221 | + elif re_mitIdLine.match(l): |
217 | 222 | licenses.add("MIT")
|
218 | 223 | mode = 'n'
|
219 | 224 | elif re_eplLine.match(l) or re_gplLine.match(l) or re_mitLine.match(l) or re_moreInfoLine.match(l):
|
|
0 commit comments