From 053ed7f5e638621ea474c77e0e244df0b3682889 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Jul 2023 09:49:53 +0200 Subject: [PATCH] Update code contributors --- CREDITS.md | 31 +++++++++++++++------------ scripts/generate-code-contributors.ts | 21 ++++++++++-------- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index 213b889c0..c1d23bad9 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -11,30 +11,30 @@ * Filip Bengtsson * Ihor Hordiichuk * Jeff Huang + * Payman Moghadam * Simon Brosdetzko * kontrollanten * Jiri Podhorecky - * Payman Moghadam * Phongpanot * hecko - * Laurent Ettouati * Milo Ivir + * Laurent Ettouati * kimsible * Zet * GunChleoc * Clemens Schielicke * Racida S - * Marcin Mikołajczak - * Ewout van Mansom - * Eivind Ødegård * Sveinn í Felli + * Ewout van Mansom + * Marcin Mikołajczak + * Eivind Ødegård * Tirifto * Kim + * Wicklow * Armin * Hannes Ylä-Jääski - * Mohamad Reza * Vodoyo Kamal - * Wicklow + * Mohamad Reza * John Livingston * Kimsible * Besnik Bleta @@ -71,6 +71,7 @@ * jan Seli * lutangar * 李奕寯 + * Blood Axe * Martin Hoefler * Porrumentzio * Poslovitch @@ -94,12 +95,10 @@ * Ms Kimsible * Thomas Citharel * Benjamin Bouvier - * Blood Axe * Joe Bill * Kemal Oktay Aktoğan * Lucas Declercq * Sirxy - * chris@famichiki.tube * matograine * Alexander Ivanov * Daniel Santos @@ -151,8 +150,8 @@ * Benjamin Seitz * Bob Oob * Booteille - * Chris Sakura 佐倉くりす on Youtube * DontUseGithub + * Farooq Karimi Zadeh * I_Automne * Iñigo * Joan Montané @@ -196,7 +195,6 @@ * Eder Etxebarria * Ehsan Gholami * Elga Ahmad Prayoga - * Farooq Karimi Zadeh * Girish Ramakrishnan * Hakim Oubouali * Hans Meiser @@ -206,6 +204,7 @@ * Jocelyn Jaubert * Johan Fleury * Jurij Podgoršek + * Kindred La Boneta * Kiro * Leopere * Linus @@ -235,6 +234,7 @@ * Ömer Faruk Çakmak * AQR_Rastiq * Al-Hassan Abdel-Raouf + * Alecks Gates * Amos Tamam * Andrew Morgan * Andy Khit @@ -246,10 +246,12 @@ * Average Dude * BitTube * Boo Teille + * Branislav Pavelka * Dashie * David Luís Pereira Pires * David Marzal * EndoGai + * Ettore Atalan * Fatih Özsoy * FediverseTV * Florent Fayolle @@ -265,6 +267,7 @@ * HybridGlucose * J C Worm * Jan Marsalek + * José M * Joël Galeran * Julien Lemaire * Lucas Teixeira @@ -299,6 +302,7 @@ * libertas * merty * plr20 + * q_h * qwerty * spf * taziden @@ -316,7 +320,6 @@ * Agron * Aitozl * Alberto Mardegan - * Alecks Gates * Alejandro Criado-Pérez * Aleksandr Sokolov * Alexander F. Rødseth @@ -342,7 +345,6 @@ * Cadence Ember * Cale * Charles de Lacombe - * Chris Sakura 佐倉くりす on Youtube - 日本語は第二言語やけ、間違っとったら思いっきり叩いてくださいw つたない日本語ばっかりやけど頑張りまーす♪ * Christoph Geschwind * Chronos * Claude @@ -382,6 +384,7 @@ * Iván Cabaleiro * J Webb * Jacen + * Jackson Chen * Jacob * Jacques Foucry * Jagannath Bhat @@ -491,6 +494,7 @@ * Vagelis F * Varik Valefor * Vegard Fjeldberg + * Victor Hampel * Vik * Vincent Stakenburg * WhiredPlanck @@ -540,7 +544,6 @@ * philippe lhardy * pitchum * potedeo - * q_h * rdxuan * retiolus * ruvilonix diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index 5357daf04..2fd0ecdf3 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts @@ -8,12 +8,12 @@ run() }) async function run () { - const blacklist = getContributorsBlacklist() + const excludeList = getContributorsExcludeList() { let contributors = await getGitContributors() contributors = contributors.concat(getZanataContributors()) - contributors = contributors.filter(c => blacklist[c.username] !== true) + contributors = contributors.filter(c => !excludeList.has(c.username)) console.log('# Code & Translators contributors\n') for (const contributor of contributors) { @@ -186,13 +186,16 @@ function getZanataContributors () { ] } -function getContributorsBlacklist () { - return { - 'Bigard Florian': true, - 'chocobozzz': true, - 'Rigel': true, +function getContributorsExcludeList () { + return new Set([ + 'Bigard Florian', + 'chocobozzz', + 'Rigel', // Requested by the contributor - 'Marcel Cramm': true - } + 'Marcel Cramm', + 'Chris Sakura 佐倉くりす on Youtube', + 'Chris Sakura 佐倉くりす on Youtube - 日本語は第二言語やけ、間違っとったら思いっきり叩いてくださいw つたない日本語ばっかりやけど頑張りまーす♪', + 'chris@famichiki.tube' + ]) }