[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] for cron/people script : Use one single rule for all maintainers that don't provide several names



Hi.

Here's a patch for the cron script constructing the people page, which should avoid the maintenance of all particular cases of every maintainer who don't provide at least to names before their emails.

Hope this helps and this list is the right place to submit it.

Best regards,

Signed-off-by: Olivier Berger <olivier.berger@telecom-sudparis.eu>
---
 people_scripts/people.pl |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/people_scripts/people.pl b/people_scripts/people.pl
index 7586bfa..e04bd46 100755
--- a/people_scripts/people.pl
+++ b/people_scripts/people.pl
@@ -284,9 +284,6 @@ sub process_name {
 		elsif ($maintainer =~ /Pedro Zorzenon Neto <(.+)>/o) {
 			$lastname = 'Zorzenon Neto' ; $firstname = 'Pedro' ; $email = $1;
 		}
-		elsif ($maintainer =~ /Wookey <(.+)>/o) {
-			$lastname = 'Wookey' ; $firstname = '' ; $email = $1;
-		}
 		elsif ($maintainer =~ /Ramakrishnan M <(.+)>/o) {
 			$lastname = 'Muthukrishnan' ; $firstname = 'Ramakrishnan' ; $email = $1;
 		}
@@ -347,20 +344,12 @@ sub process_name {
 		elsif ($maintainer =~ /Alejandro Rios P\. <(.+)>/o) {
 			$lastname = 'Rios P.'; $firstname = 'Alejandro'; $email = $1;
 		}
-		elsif ($maintainer =~ /Elrond <(.+)>/o) {
-			$lastname = 'Elrond'; $firstname = ''; $email = $1;
-		}
-		elsif ($maintainer =~ /intrigeri <(.+)>/o) {
-			$lastname = 'intrigeri'; $firstname = ''; $email = $1;
-		}
 		elsif ($maintainer =~ /Chow Loong Jin <(.+)>/o) {
 			$lastname = 'Chow'; $firstname = 'Loong Jin'; $email = $1;
 		}
-		elsif ($maintainer =~ /bertagaz <(.+)>/o) {
-			$lastname = 'bertagaz'; $firstname = ''; $email = $1;
-		}
-		elsif ($maintainer =~ /matanya <(.+)>/o) {
-			$lastname = 'matanya'; $firstname = ''; $email = $1;
+		elsif ($maintainer =~ /^([^ ]*) +<(.+)>/o) {
+#		        printf STDERR "single-named $maintainer\n";
+			$lastname = $1; $firstname = ''; $email = $2;
 		}
 
 #
-- 
1.7.10.4


-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


Reply to: