Make it possible to automatically generate the AUTHORS file from the
source code. This adds a few new developers to AUTHORS. In some cases, the email adress is also changed. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1617 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
b47063c74f
commit
3bff3477c8
@ -159,3 +159,6 @@ configure: configure.ac
|
|||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) -o $@ -c $<
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
|
.PHONY:
|
||||||
|
doc/AUTHORS:
|
||||||
|
./genauthors *.c
|
||||||
|
12
doc/AUTHORS
12
doc/AUTHORS
@ -2,13 +2,19 @@ This is an attempt at a list of people who have made significant
|
|||||||
contributions to the code. If you have been unintentionally omitted
|
contributions to the code. If you have been unintentionally omitted
|
||||||
please let one of the team members know.
|
please let one of the team members know.
|
||||||
|
|
||||||
|
Alexi Volkov <alexi@myrealbox.com>
|
||||||
Erik Forsberg <forsberg@cendio.se>
|
Erik Forsberg <forsberg@cendio.se>
|
||||||
|
GuoJunBo <guojunbo@ict.ac.cn>
|
||||||
|
Henrik Andersson <hean01@cendio.se> for Cendio AB
|
||||||
Hugo Trippaers <spark@ision.nl>
|
Hugo Trippaers <spark@ision.nl>
|
||||||
Jay Sorg <j@american-data.com>
|
Jay Sorg <j@american-data.com>
|
||||||
|
Jeremy Meng <void.foo@gmail.com>
|
||||||
Jeroen Meijer <jeroen@oldambt7.com>
|
Jeroen Meijer <jeroen@oldambt7.com>
|
||||||
Matt Chapman <matthewc@cse.unsw.edu.au>
|
Matrox Graphics Inc.
|
||||||
Michael Gernoth <michael@gernoth.net>
|
Matthew Chapman <matthewc.unsw.edu.au>
|
||||||
|
Michael Gernoth <mike@zerfleddert.de>
|
||||||
Michal Mihalik <mmihalik@sme.sk>
|
Michal Mihalik <mmihalik@sme.sk>
|
||||||
Norbert Federa <nob@thinstuff.com>
|
Norbert Federa <nob@thinstuff.com>
|
||||||
|
Peter Astrand <astrand@cendio.se> for Cendio AB
|
||||||
Peter Kallden <peter.kallden@ub.oru.se>
|
Peter Kallden <peter.kallden@ub.oru.se>
|
||||||
Peter Åstrand <astrand@cendio.se>
|
Pierre Ossman <ossman@cendio.se> for Cendio AB
|
||||||
|
58
genauthors
Executable file
58
genauthors
Executable file
@ -0,0 +1,58 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# -*-mode: python; coding: utf-8 -*-
|
||||||
|
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# Filled in with historical authors which are not mentioned in the source
|
||||||
|
authors = {
|
||||||
|
"Hugo Trippaers <spark@ision.nl>": 1,
|
||||||
|
"Michal Mihalik <mmihalik@sme.sk>": 1,
|
||||||
|
"Norbert Federa <nob@thinstuff.com>": 1,
|
||||||
|
"Peter Kallden <peter.kallden@ub.oru.se>": 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def dostatement(s):
|
||||||
|
# Get rid of (C)
|
||||||
|
s = re.sub('\(C\)', '', s).strip()
|
||||||
|
|
||||||
|
# Get rid of years
|
||||||
|
s = re.sub('\d\d\d\d(-\d\d\d\d)?', '', s).strip()
|
||||||
|
|
||||||
|
# Get rid of in-code statements
|
||||||
|
if s.find('"') != -1:
|
||||||
|
return
|
||||||
|
|
||||||
|
global authors
|
||||||
|
authors[s] = 1
|
||||||
|
|
||||||
|
|
||||||
|
def dofile(fname):
|
||||||
|
f = open(fname)
|
||||||
|
pt = re.compile('\sCopyright (.*)')
|
||||||
|
for line in f:
|
||||||
|
m = pt.search(line)
|
||||||
|
if m != None:
|
||||||
|
dostatement(m.group(1).strip())
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
for fname in sys.argv[1:]:
|
||||||
|
dofile(fname)
|
||||||
|
|
||||||
|
print """This is an attempt at a list of people who have made significant
|
||||||
|
contributions to the code. If you have been unintentionally omitted
|
||||||
|
please let one of the team members know.
|
||||||
|
"""
|
||||||
|
|
||||||
|
keys = authors.keys()
|
||||||
|
keys.sort()
|
||||||
|
for k in keys:
|
||||||
|
print k
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
main()
|
Loading…
Reference in New Issue
Block a user