diff options
author | Andrew Or <andrew@databricks.com> | 2014-12-03 19:08:29 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2014-12-03 19:10:07 -0800 |
commit | a4dfb4efef89f686cbf146db42c2d891fef42500 (patch) | |
tree | 8b884b0ad30bcf33bd6021bd81e5eb52a08e8c2c /data | |
parent | 657a88835d8bf22488b53d50f75281d7dc32442e (diff) | |
download | spark-a4dfb4efef89f686cbf146db42c2d891fef42500.tar.gz spark-a4dfb4efef89f686cbf146db42c2d891fef42500.tar.bz2 spark-a4dfb4efef89f686cbf146db42c2d891fef42500.zip |
[Release] Correctly translate contributors name in release notes
This commit involves three main changes:
(1) It separates the translation of contributor names from the
generation of the contributors list. This is largely motivated
by the Github API limit; even if we exceed this limit, we should
at least be able to proceed manually as before. This is why the
translation logic is abstracted into its own script
translate-contributors.py.
(2) When we look for candidate replacements for invalid author
names, we should look for the assignees of the associated JIRAs
too. As a result, the intermediate file must keep track of these.
(3) This provides an interactive mode with which the user can
sit at the terminal and manually pick the candidate replacement
that he/she thinks makes the most sense. As before, there is a
non-interactive mode that picks the first candidate that the
script considers "valid."
TODO: We should have a known_contributors file that stores
known mappings so we don't have to go through all of this
translation every time. This is also valuable because some
contributors simply cannot be automatically translated.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions