[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: trunk/KDE/kde-common/hooks
From: Dirk Mueller <mueller () kde ! org>
Date: 2005-05-04 22:49:12
Message-ID: 1115246952.304817.16245.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 409512 by mueller:
fix auto-updating
M +14 -2 trunk/KDE/kde-common/hooks/post-commit.pl
--- trunk/KDE/kde-common/hooks/post-commit.pl #409511:409512
@@ -472,7 +472,6 @@
my @head;
push(@head, "To: $to\n");
push(@head, "Cc: $cc\n") if(length($cc));
- push(@head, "Bcc: svnupdate\@ktown.kde.org, svnupdate\@bluemchen.kde.org, \
kde-web-update\@trolltech.com\n"); push(@head, "From: $mail_from\n");
push(@head, "Subject: $subject\n");
push(@head, "Reply-to: $reply_to\n") if $reply_to;
@@ -512,7 +511,7 @@
if ($sendmail =~ /\w/ and length($userlist))
{
# Open a pipe to sendmail.
- my $command = "$sendmail -r $sender -oi $userlist";
+ my $command = "$sendmail -r \"$sender\" -oi $userlist";
if (open(SENDMAIL, "| $command"))
{
print SENDMAIL @head, @body;
@@ -685,6 +684,19 @@
$it->{email_addresses} = ['kmldonkey-cvs@kmldonkey.org'];
push(@settings, $it);
+ # auto notifications for updating
+ $it = &new_project;
+ $it->{match_regex} = "www";
+ $it->{email_addresses} = ['kde-web-update@trolltech.com',
+ 'svnupdate@bluemchen.kde.org', \
'svnupdate@ktown.kde.org']; + push(@settings, $it);
+
+ $it = &new_project;
+ $it->{match_regex} = "developer.kde.org";
+ $it->{email_addresses} = ['kde-web-update@trolltech.com',
+ 'svnupdate@bluemchen.kde.org', \
'svnupdate@ktown.kde.org']; + push(@settings, $it);
+
return @settings;
#
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic