Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions dev/create-release/generate-contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,16 @@ def populate(issue_type, components):
author_info[author][issue_type].add(component)
# Find issues and components associated with this commit
for issue in issues:
jira_issue = jira_client.issue(issue)
jira_type = jira_issue.fields.issuetype.name
jira_type = translate_issue_type(jira_type, issue, warnings)
jira_components = [translate_component(c.name, _hash, warnings)\
for c in jira_issue.fields.components]
all_components = set(jira_components + commit_components)
populate(jira_type, all_components)
try:
jira_issue = jira_client.issue(issue)
jira_type = jira_issue.fields.issuetype.name
jira_type = translate_issue_type(jira_type, issue, warnings)
jira_components = [translate_component(c.name, _hash, warnings)\
for c in jira_issue.fields.components]
all_components = set(jira_components + commit_components)
populate(jira_type, all_components)
except Exception as e:
print "Unexpected error:", e
# For docs without an associated JIRA, manually add it ourselves
if is_docs(title) and not issues:
populate("documentation", commit_components)
Expand Down Expand Up @@ -223,7 +226,8 @@ def populate(issue_type, components):
# E.g. andrewor14/SPARK-3425/SPARK-1157/SPARK-6672
if author in invalid_authors and invalid_authors[author]:
author = author + "/" + "/".join(invalid_authors[author])
line = " * %s -- %s" % (author, contribution)
#line = " * %s -- %s" % (author, contribution)
line = author
contributors_file.write(line + "\n")
contributors_file.close()
print "Contributors list is successfully written to %s!" % contributors_file_name
Expand Down
27 changes: 27 additions & 0 deletions dev/create-release/known_translations
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,30 @@ lee19 - Lee
lockwobr - Brian Lockwood
navis - Navis Ryu
pparkkin - Paavo Parkkinen
HyukjinKwon - Hyukjin Kwon
JDrit - Joseph Batchik
JuhongPark - Juhong Park
KaiXinXiaoLei - KaiXinXIaoLei
NamelessAnalyst - NamelessAnalyst
alyaxey - Alex Slusarenko
baishuo - Shuo Bai
fe2s - Oleksiy Dyagilev
felixcheung - Felix Cheung
feynmanliang - Feynman Liang
josepablocam - Jose Cambronero
kai-zeng - Kai Zeng
mosessky - mosessky
msannell - Michael Sannella
nishkamravi2 - Nishkam Ravi
noel-smith - Noel Smith
petz2000 - Patrick Baier
qiansl127 - Shilei Qian
rahulpalamuttam - Rahul Palamuttam
rowan000 - Rowan Chattaway
sarutak - Kousuke Saruta
sethah - Seth Hendrickson
small-wang - Wang Wei
stanzhai - Stan Zhai
tien-dungle - Tien-Dung Le
xuchenCN - Xu Chen
zhangjiajin - Zhang JiaJin