diff options
author | Yin Huai <yhuai@databricks.com> | 2016-12-29 14:20:56 -0800 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-12-29 14:20:56 -0800 |
commit | 63036aee2271cdbb7032b51b2ac67edbcb82389e (patch) | |
tree | 3434e414170a8a149d8768d55cf182e8cb8faada /dev | |
parent | dba81e1dcdea1e8bd196c88d4810f9a04312acbf (diff) | |
download | spark-63036aee2271cdbb7032b51b2ac67edbcb82389e.tar.gz spark-63036aee2271cdbb7032b51b2ac67edbcb82389e.tar.bz2 spark-63036aee2271cdbb7032b51b2ac67edbcb82389e.zip |
Update known_translations for contributor names and also fix a small issue in translate-contributors.py
## What changes were proposed in this pull request?
This PR updates dev/create-release/known_translations to add more contributor name mapping. It also fixes a small issue in translate-contributors.py
## How was this patch tested?
manually tested
Author: Yin Huai <yhuai@databricks.com>
Closes #16423 from yhuai/contributors.
Diffstat (limited to 'dev')
-rw-r--r-- | dev/create-release/known_translations | 37 | ||||
-rwxr-xr-x | dev/create-release/translate-contributors.py | 4 |
2 files changed, 40 insertions, 1 deletions
diff --git a/dev/create-release/known_translations b/dev/create-release/known_translations index 3563fe3cc3..0f309908e5 100644 --- a/dev/create-release/known_translations +++ b/dev/create-release/known_translations @@ -165,3 +165,40 @@ stanzhai - Stan Zhai tien-dungle - Tien-Dung Le xuchenCN - Xu Chen zhangjiajin - Zhang JiaJin +ClassNotFoundExp - Fu Xing +KevinGrealish - Kevin Grealish +MasterDDT - Mitesh Patel +VinceShieh - Vincent Xie +WeichenXu123 - Weichen Xu +Yunni - Yun Ni +actuaryzhang - Wayne Zhang +alicegugu - Gu Huiqin Alice +anabranch - Bill Chambers +ashangit - Nicolas Fraison +avulanov - Alexander Ulanov +biglobster - Liang Ke +cenyuhai - Cen Yu Hai +codlife - Jianfei Wang +david-weiluo-ren - Weiluo (David) Ren +dding3 - Ding Ding +fidato13 - Tarun Kumar +frreiss - Fred Reiss +gatorsmile - Xiao Li +hayashidac - Chie Hayashida +invkrh - Hao Ren +jagadeesanas2 - Jagadeesan A S +jiangxb1987 - Jiang Xingbo +jisookim0513 - Jisoo Kim +junyangq - Junyang Qian +krishnakalyan3 - Krishna Kalyan +linbojin - Linbo Jin +mpjlu - Peng Meng +neggert - Nic Eggert +petermaxlee - Peter Lee +phalodi - Sandeep Purohit +pkch - pkch +priyankagargnitk - Priyanka Garg +sharkdtu - Sharkd Tu +shenh062326 - Shen Hong +aokolnychyi - Anton Okolnychyi +linbojin - Linbo Jin diff --git a/dev/create-release/translate-contributors.py b/dev/create-release/translate-contributors.py index 86fa02d87b..2cc64e4444 100755 --- a/dev/create-release/translate-contributors.py +++ b/dev/create-release/translate-contributors.py @@ -147,7 +147,9 @@ print "\n========================== Translating contributor list =============== lines = contributors_file.readlines() contributions = [] for i, line in enumerate(lines): - temp_author = line.strip(" * ").split(" -- ")[0] + # It is possible that a line in the contributor file only has the github name, e.g. yhuai. + # So, we need a strip() to remove the newline. + temp_author = line.strip(" * ").split(" -- ")[0].strip() print "Processing author %s (%d/%d)" % (temp_author, i + 1, len(lines)) if not temp_author: error_msg = " ERROR: Expected the following format \" * <author> -- <contributions>\"\n" |