This is an automated email from the ASF dual-hosted git repository.
feiwang pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new 995edcf4c [CELEBORN-2011][FOLLOWUP][INFRA] Write sorted authors for
release contributors
995edcf4c is described below
commit 995edcf4c63f37de22eb92733691d4949fa1940e
Author: Wang, Fei <[email protected]>
AuthorDate: Fri Jun 13 11:45:35 2025 -0700
[CELEBORN-2011][FOLLOWUP][INFRA] Write sorted authors for release
contributors
### What changes were proposed in this pull request?
Write the sorted authors to release contributors file.
### Why are the changes needed?
Fix typo.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
```
RELEASE_TAG=v0.6.0-rc0 PREVIOUS_RELEASE_TAG=v0.5.0
./build/release/pre_gen_release_notes.py
```
```
(base) ➜ celeborn git:(sort_author) cat
build/release/contributors-v0.6.0-rc0.txt
* Aidar Bariev
* Amandeep Singh
* Aravind Patnam
* Arsen Gumin
* avishnus
* Biao Geng
* Binjie Yang
* Björn Boschman
* Bowen Liang
* Cheng Pan
* Chongchen Chen
* Erik Fang
* Fei Wang
* Fu Chen
* Guangwei Hong
* Haotian Cao
* He Zhao
* Jiaming Xie
* Jianfu Li
* Jiashu Xiong
* Jinqian Fan
* Kerwin Zhang
* Keyong Zhou
* Kun Wan
* Leo Li
* Lianne Li
* Madhukar525722
* Minchu Yang
* Mingxiao Feng
* Mridul Muralidharan
* Nan Zhu
* Nicholas Jiang
* Nicolas Fraison
* Pengqi Li
* Sanskar Modi
* Saurabh Dubey
* Shaoyun Chen
* Shengjie Wang
* Shlomi Uubul
* Tao Zheng
* Veli Yang
* Wang, Fei
* Weijie Guo
* Xianming Lei
* Xinyu Wang
* Xu Huang
* xy2953396112
* Yajun Gao
* Yanze Jiang
* Yi Chen
* Yi Zhu
* Yuting Wang
* Yuxin Tan
* Zhao Zhao
* Zhengqi Zhang
* Ziyi Wu
```
Closes #3327 from turboFei/sort_authors.
Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
(cherry picked from commit cc13c1e643dfeeb44186c67d967c797165a2e325)
Signed-off-by: Wang, Fei <[email protected]>
---
build/release/pre_gen_release_notes.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/build/release/pre_gen_release_notes.py
b/build/release/pre_gen_release_notes.py
index 25d645cd2..9450fd906 100755
--- a/build/release/pre_gen_release_notes.py
+++ b/build/release/pre_gen_release_notes.py
@@ -32,7 +32,7 @@
# set environment variables: RELEASE_TAG and PREVIOUS_RELEASE_TAG, then
perform
# ./pre_gen_release_notes.py
# Example:
-# RELEASE_TAG=v0.6.0 PREVIOUS_RELEASE_TAG=0.5.0 ./pre_gen_release_notes.py
+# RELEASE_TAG=v0.6.0 PREVIOUS_RELEASE_TAG=v0.5.0 ./pre_gen_release_notes.py
# It outputs
# - commits-${RELEASE_TAG}.txt: the canonical commit list
@@ -214,8 +214,8 @@ print("Commits list is successfully written to %s!" %
commits_file_name)
# e.g. * Fu Chen
contributors_file = open(os.path.join(release_dir, contributors_file_name),
"w")
sorted_authors = list(authors)
-sorted_authors.sort(key=lambda author: author.split(" ")[-1])
-for author in authors:
+sorted_authors.sort(key=lambda author: author.split(" ")[0].lower())
+for author in sorted_authors:
contributors_file.write("* %s\n" % author)
contributors_file.close()
print("Contributors list is successfully written to %s!" %
contributors_file_name)