aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-01-01 22:06:44 +0000
committerPascal Terjan <pterjan@mageia.org>2012-01-01 22:06:44 +0000
commitf4e450be6db003da884eab988bc523166578fdb1 (patch)
tree2b8f928e3373bf67e133efffefab54a349cfe97a /lib
parent0690bf5c4978e88c05d197d981a7d7a347f780f2 (diff)
downloadiurt-f4e450be6db003da884eab988bc523166578fdb1.tar
iurt-f4e450be6db003da884eab988bc523166578fdb1.tar.gz
iurt-f4e450be6db003da884eab988bc523166578fdb1.tar.bz2
iurt-f4e450be6db003da884eab988bc523166578fdb1.tar.xz
iurt-f4e450be6db003da884eab988bc523166578fdb1.zip
Generate email addresses from username
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Config.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Iurt/Config.pm b/lib/Iurt/Config.pm
index c7cde22..ac0427d 100644
--- a/lib/Iurt/Config.pm
+++ b/lib/Iurt/Config.pm
@@ -244,12 +244,9 @@ sub get_maint {
$email_maint, $srpm_name;
}
-# TODO: would be nicer (really?) to use repsys configuration directly, and
-# query the users list in there and LDAP according to it
sub get_author_email {
my ($user) = @_;
- my $authoremail = `repsys authoremail $user 2>/dev/null`;
- chomp($authoremail);
+ my $authoremail = $user . '@mageia.org';
return $authoremail;
}