Repository: spark Updated Branches: refs/heads/master dba81e1dc -> 63036aee2
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 <yh...@databricks.com> Closes #16423 from yhuai/contributors. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/63036aee Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/63036aee Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/63036aee Branch: refs/heads/master Commit: 63036aee2271cdbb7032b51b2ac67edbcb82389e Parents: dba81e1 Author: Yin Huai <yh...@databricks.com> Authored: Thu Dec 29 14:20:56 2016 -0800 Committer: Yin Huai <yh...@databricks.com> Committed: Thu Dec 29 14:20:56 2016 -0800 ---------------------------------------------------------------------- dev/create-release/known_translations | 37 +++++++++++++++++++++++ dev/create-release/translate-contributors.py | 4 ++- 2 files changed, 40 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/63036aee/dev/create-release/known_translations ---------------------------------------------------------------------- diff --git a/dev/create-release/known_translations b/dev/create-release/known_translations index 3563fe3..0f30990 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 http://git-wip-us.apache.org/repos/asf/spark/blob/63036aee/dev/create-release/translate-contributors.py ---------------------------------------------------------------------- diff --git a/dev/create-release/translate-contributors.py b/dev/create-release/translate-contributors.py index 86fa02d..2cc64e4 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" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org