当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 0

Charles / rdesktop
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
genauthors 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
#!/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()
1
https://gitee.com/chanrain511/rdesktop.git
git@gitee.com:chanrain511/rdesktop.git
chanrain511
rdesktop
rdesktop
master

搜索帮助