#!/usr/bin/perl
-# $Id: service.in,v 1.74 2003/05/03 21:10:40 doogie Exp $
-# ^ more or less ^
+# $Id: service.in,v 1.111 2005/07/30 03:22:36 don Exp $
#
# Usage: service <code>.nn
# Temps: incoming/P<code>.nn
-use Mail::Address;
use File::Copy;
use MIME::Parser;
+use Debbugs::MIME qw(decode_rfc1522 encode_rfc1522);
$config_path = '/etc/debbugs';
$lib_path = '/usr/lib/debbugs';
# header and decoded body respectively
my (@headerlines, @bodylines);
+# Bug numbers to send e-mail to, hash so that we don't send to the
+# same bug twice.
+my (%bug_affected);
if ($entity and $entity->head->tags) {
@headerlines = @{$entity->head->header};
}
for (@headerlines) {
+ $_ = decode_rfc1522($_);
s/\n\s/ /g;
print ">$_<\n" if $debug;
if (s/^(\S+):\s*//) {
$quickabort = 1;
}
+my %limit_pkgs = ();
my %clonebugs = ();
my @bcc = ();
+sub addbcc {
+ push @bcc, $_[0] unless grep { $_ eq $_[0] } @bcc;
+}
+
for ($procline=0; $procline<=$#bodylines; $procline++) {
$state eq 'idle' || print "$state ?\n";
$lowstate eq 'idle' || print "$lowstate ?\n";
last;
}
#### interesting ones start here
- } elsif (m/^close\s+\#?(-?\d+)$/i) {
+ } elsif (m/^close\s+\#?(-?\d+)(?:\s+(\d.*))?$/i) {
$ok++;
$ref= $1;
+ $bug_affected{$ref}=1;
+ $version= $2;
if (&setbug) {
&transcript("'close' is deprecated; see http://$gWebDomain/Developer$gHTMLSuffix#closing.\n");
- if (length($data->{done})) {
+ if (length($data->{done}) and not defined($version)) {
&transcript("$gBug is already closed, cannot re-close.\n\n");
&nochangebug;
} else {
- $action= "$gBug closed, send any further explanations to $data->{originator}";
+ $action= "$gBug " .
+ (defined($version) ?
+ "marked as fixed in version $version" :
+ "closed") .
+ ", send any further explanations to $data->{originator}";
do {
- &addmaintainers($data->{package});
+ &addmaintainers($data);
if ( length( $gDoneList ) > 0 && length( $gListDomain ) >
0 ) { &addccaddress("$gDoneList\@$gListDomain"); }
$data->{done}= $replyto;
+ my @keywords= split ' ', $data->{keywords};
+ if (grep $_ eq 'pending', @keywords) {
+ $extramessage= "Removed pending tag.\n";
+ $data->{keywords}= join ' ', grep $_ ne 'pending',
+ @keywords;
+ }
+ addfixedversions($data, $data->{package}, $version, 'binary');
+
$message= <<END;
From: $gMaintainerEmail ($gProject $gBug Tracking System)
To: $data->{originator}
In-Reply-To: $data->{msgid}
Message-ID: <handler.$ref.$nn.notifdonectrl.$midix\@$gEmailDomain>
Reply-To: $ref\@$gEmailDomain
+X-$gProject-PR-Message: they-closed-control $ref
This is an automatic notification regarding your $gBug report
#$ref: $data->{subject},
} while (&getnextbug);
}
}
- } elsif (m/^reassign\s+\#?(-?\d+)\s+(\S.*\S)$/i) {
+ } elsif (m/^reassign\s+\#?(-?\d+)\s+(\S+)(?:\s+(\d.*))?$/i) {
$ok++;
$ref= $1; $newpackage= $2;
+ $bug_affected{$ref}=1;
+ $version= $3;
$newpackage =~ y/A-Z/a-z/;
if (&setbug) {
if (length($data->{package})) {
$action= "$gBug assigned to package \`$newpackage'.";
}
do {
- &addmaintainers($data->{package});
- &addmaintainers($newpackage);
+ &addmaintainers($data);
$data->{package}= $newpackage;
+ $data->{found_versions}= [];
+ $data->{fixed_versions}= [];
+ # TODO: what if $newpackage is a source package?
+ addfoundversions($data, $data->{package}, $version, 'binary');
+ &addmaintainers($data);
} while (&getnextbug);
}
} elsif (m/^reopen\s+\#?(-?\d+)$/i ? ($noriginator='', 1) :
m/^reopen\s+\#?(-?\d+)\s+(\S.*\S)$/i ? ($noriginator=$2, 1) : 0) {
$ok++;
$ref= $1;
+ $bug_affected{$ref}=1;
if (&setbug) {
+ if (@{$data->{fixed_versions}}) {
+ &transcript("'reopen' is deprecated when a bug has been closed with a version;\nuse 'found' or 'submitter' as appropriate instead.\n");
+ }
if (!length($data->{done})) {
&transcript("$gBug is already open, cannot reopen.\n\n");
&nochangebug;
$noriginator eq '' ? "$gBug reopened, originator not changed." :
"$gBug reopened, originator set to $noriginator.";
do {
- &addmaintainers($data->{package});
+ &addmaintainers($data);
$data->{originator}= $noriginator eq '' ? $data->{originator} : $noriginator;
+ $data->{fixed_versions}= [];
$data->{done}= '';
} while (&getnextbug);
}
}
+ } elsif (m/^found\s+\#?(-?\d+)(?:\s+(\d.*))?$/i) {
+ $ok++;
+ $ref= $1;
+ $version= $2;
+ if (&setbug) {
+ if (!length($data->{done}) and not defined($version)) {
+ &transcript("$gBug is already open, cannot reopen.\n\n");
+ &nochangebug;
+ } else {
+ $action=
+ defined($version) ?
+ "$gBug marked as found in version $version." :
+ "$gBug reopened.";
+ do {
+ &addmaintainers($data);
+ # The 'done' field gets a bit weird with version
+ # tracking, because a bug may be closed by multiple
+ # people in different branches. Until we have something
+ # more flexible, we set it every time a bug is fixed,
+ # and clear it precisely when a found command is
+ # received for the rightmost fixed-in version, which
+ # equates to the most recent fixing of the bug, or when
+ # a versionless found command is received.
+ if (defined $version) {
+ my $lastfixed =
+ (reverse @{$data->{fixed_versions}})[0];
+ # TODO: what if $data->{package} is a source package?
+ addfoundversions($data, $data->{package}, $version, 'binary');
+ if (defined $lastfixed and not grep { $_ eq $lastfixed } @{$data->{fixed_versions}}) {
+ $data->{done} = '';
+ }
+ } else {
+ # Versionless found; assume old-style "not fixed at
+ # all".
+ $data->{fixed_versions} = [];
+ $data->{done} = '';
+ }
+ } while (&getnextbug);
+ }
+ }
+ } elsif (m/^notfound\s+\#?(-?\d+)\s+(\d.*)$/i) {
+ $ok++;
+ $ref= $1;
+ $version= $2;
+ if (&setbug) {
+ $action= "$gBug marked as not found in version $version.";
+ if (length($data->{done})) {
+ $extramessage= "(By the way, this $gBug is currently marked as done.)\n";
+ }
+ do {
+ &addmaintainers($data);
+ removefoundversions($data, $data->{package}, $version, 'binary');
+ } while (&getnextbug);
+ }
} elsif (m/^submitter\s+\#?(-?\d+)\s+\!$/i ? ($newsubmitter=$replyto, 1) :
m/^submitter\s+\#?(-?\d+)\s+(\S.*\S)$/i ? ($newsubmitter=$2, 1) : 0) {
$ok++;
$ref= $1;
+ $bug_affected{$ref}=1;
if ($ref =~ m/^-\d+$/ && defined $clonebugs{$ref}) {
$ref = $clonebugs{$ref};
}
if (&getbug) {
- &foundbug;
- &addmaintainers($data->{package});
- $oldsubmitter= $data->{originator};
- $data->{originator}= $newsubmitter;
- $action= "Changed $gBug submitter from $oldsubmitter to $newsubmitter.";
- &savebug;
- &transcript("$action\n");
- if (length($data->{done})) {
- &transcript("(By the way, that $gBug is currently marked as done.)\n");
- }
- &transcript("\n");
- $message= <<END;
+ if (&checkpkglimit) {
+ &foundbug;
+ &addmaintainers($data);
+ $oldsubmitter= $data->{originator};
+ $data->{originator}= $newsubmitter;
+ $action= "Changed $gBug submitter from $oldsubmitter to $newsubmitter.";
+ &savebug;
+ &transcript("$action\n");
+ if (length($data->{done})) {
+ &transcript("(By the way, that $gBug is currently marked as done.)\n");
+ }
+ &transcript("\n");
+ $message= <<END;
From: $gMaintainerEmail ($gProject $gBug Tracking System)
To: $oldsubmitter
Subject: $gBug#$ref submitter address changed
In-Reply-To: $data->{msgid}
Message-ID: <handler.$ref.$nn.newsubmitter.$midix\@$gEmailDomain>
Reply-To: $ref\@$gEmailDomain
+X-$gProject-PR-Message: submitter-changed $ref
The submitter address recorded for your $gBug report
#$ref: $data->{subject}
has been changed.
-The new submitter address for this report is
+The old submitter address for this report was
+$oldsubmitter.
+The new submitter address is
$newsubmitter.
This change was made by
(administrator, $gProject $gBugs database)
END
- &sendmailmessage($message,$oldsubmitter);
+ &sendmailmessage($message,$oldsubmitter);
+ } else {
+ &cancelbug;
+ }
} else {
¬foundbug;
}
} elsif (m/^forwarded\s+\#?(-?\d+)\s+(\S.*\S)$/i) {
$ok++;
$ref= $1; $whereto= $2;
+ $bug_affected{$ref}=1;
if (&setbug) {
if (length($data->{forwarded})) {
$action= "Forwarded-to-address changed from $data->{forwarded} to $whereto.";
$extramessage= "(By the way, this $gBug is currently marked as done.)\n";
}
do {
- &addmaintainers($data->{package});
- if (length($gFowardList)>0 && length($gListDomain)>0 ) {
- &addccaddress("$gFowardList\@$gListDomain");
+ &addmaintainers($data);
+ if (length($gForwardList)>0 && length($gListDomain)>0 ) {
+ &addccaddress("$gForwardList\@$gListDomain");
}
$data->{forwarded}= $whereto;
} while (&getnextbug);
} elsif (m/^notforwarded\s+\#?(-?\d+)$/i) {
$ok++;
$ref= $1;
+ $bug_affected{$ref}=1;
if (&setbug) {
if (!length($data->{forwarded})) {
&transcript("$gBug is not marked as having been forwarded.\n\n");
} else {
$action= "Removed annotation that $gBug had been forwarded to $data->{forwarded}.";
do {
- &addmaintainers($data->{package});
+ &addmaintainers($data);
$data->{forwarded}= '';
} while (&getnextbug);
}
m/^priority\s+\#?(-?\d+)\s+([-0-9a-z]+)$/i) {
$ok++;
$ref= $1;
+ $bug_affected{$ref}=1;
$newseverity= $2;
if (!grep($_ eq $newseverity, @gSeverityList, "$gDefaultSeverity")) {
&transcript("Severity level \`$newseverity' is not known.\n".
} elsif (&setbug) {
$printseverity= $data->{severity};
$printseverity= "$gDefaultSeverity" if $printseverity eq '';
- $action= "Severity set to \`$newseverity'.";
+ $action= "Severity set to \`$newseverity' from \`$printseverity'";
do {
- &addmaintainers($data->{package});
+ &addmaintainers($data);
+ if (defined $gStrongList and isstrongseverity($newseverity)) {
+ addbcc("$gStrongList\@$gListDomain");
+ }
$data->{severity}= $newseverity;
} while (&getnextbug);
}
} elsif (m/^tags?\s+\#?(-?\d+)\s+(([=+-])\s*)?(\S.*)?$/i) {
$ok++;
$ref = $1; $addsubcode = $3; $tags = $4;
+ $bug_affected{$ref}=1;
$addsub = "add";
if (defined $addsubcode) {
$addsub = "sub" if ($addsubcode eq "-");
$action= "Tags removed: " . join(", ", @okaytags);
}
do {
- &addmaintainers($data->{package});
+ &addmaintainers($data);
$data->{keywords} = '' if ($addsub eq "set");
+ # Allow removing obsolete tags.
if ($addsub eq "sub") {
foreach my $t (@badtags) {
$data->{keywords} = join ' ', grep $_ ne $t,
split ' ', $data->{keywords};
}
}
+ # Now process all other additions and subtractions.
foreach my $t (@okaytags) {
$data->{keywords} = join ' ', grep $_ ne $t,
split ' ', $data->{keywords};
} elsif (m/^retitle\s+\#?(-?\d+)\s+(\S.*\S)\s*$/i) {
$ok++;
$ref= $1; $newtitle= $2;
+ $bug_affected{$ref}=1;
if ($ref =~ m/^-\d+$/ && defined $clonebugs{$ref}) {
$ref = $clonebugs{$ref};
}
if (&getbug) {
- &foundbug;
- &addmaintainers($data->{package});
- $data->{subject}= $newtitle;
- $action= "Changed $gBug title.";
- &savebug;
- &transcript("$action\n");
- if (length($data->{done})) {
- &transcript("(By the way, that $gBug is currently marked as done.)\n");
+ if (&checkpkglimit) {
+ &foundbug;
+ &addmaintainers($data);
+ $data->{subject}= $newtitle;
+ $action= "Changed $gBug title.";
+ &savebug;
+ &transcript("$action\n");
+ if (length($data->{done})) {
+ &transcript("(By the way, that $gBug is currently marked as done.)\n");
+ }
+ &transcript("\n");
+ } else {
+ &cancelbug;
}
- &transcript("\n");
} else {
¬foundbug;
}
} elsif (m/^unmerge\s+\#?(-?\d+)$/i) {
$ok++;
$ref= $1;
+ $bug_affected{$ref} = 1;
if (&setbug) {
if (!length($data->{mergedwith})) {
&transcript("$gBug is not marked as being merged with any others.\n\n");
$action= "Disconnected #$ref from all other report(s).";
@newmergelist= split(/ /,$data->{mergedwith});
$discref= $ref;
+ @bug_affected{@newmergelist} = 1 x @newmergelist;
do {
- &addmaintainers($data->{package});
+ &addmaintainers($data);
$data->{mergedwith}= ($ref == $discref) ? ''
: join(' ',grep($_ ne $ref,@newmergelist));
} while (&getnextbug);
}
}
- } elsif (m/^merge\s+(\d+(\s+\d+)+)\s*$/i) {
+ } elsif (m/^merge\s+#?(-?\d+(\s+#?-?\d+)+)\s*$/i) {
$ok++;
- @tomerge= sort { $a <=> $b } split(/\s+/,$1);
+ @tomerge= sort { $a <=> $b } split(/\s+#?/,$1);
@newmergelist= ();
my %tags = ();
+ my %found = ();
+ my %fixed = ();
&getmerge;
while (defined($ref= shift(@tomerge))) {
&transcript("D| checking merge $ref\n") if $dl;
$ref+= 0;
+ if ($ref =~ m/^-\d+$/ && defined $clonebugs{$ref}) {
+ $ref = $clonebugs{$ref};
+ }
next if grep($_ eq $ref,@newmergelist);
if (!&getbug) { ¬foundbug; @newmergelist=(); last }
+ if (!&checkpkglimit) { &cancelbug; @newmergelist=(); last; }
&foundbug;
&transcript("D| adding $ref ($data->{mergedwith})\n") if $dl;
$mismatch= '';
$data->{severity} = '$gDefaultSeverity' if $data->{severity} eq '';
&checkmatch('severity','m_severity',$data->{severity});
&checkmatch('done mark','m_done',length($data->{done}) ? 'done' : 'open');
+ &checkmatch('owner','m_owner',$data->{owner});
foreach my $t (split /\s+/, $data->{keywords}) { $tags{$t} = 1; }
+ foreach my $f (@{$data->{found_versions}}) { $found{$f} = 1; }
+ foreach my $f (@{$data->{fixed_versions}}) { $fixed{$f} = 1; }
if (length($mismatch)) {
&transcript("Mismatch - only $gBugs in same state can be merged:\n".
$mismatch."\n");
if (@newmergelist) {
@newmergelist= sort { $a <=> $b } @newmergelist;
$action= "Merged @newmergelist.";
+ delete @fixed{keys %found};
for $ref (@newmergelist) {
&getbug || die "huh ? $gBug $ref disappeared during merge";
- &addmaintainers($data->{package});
+ &addmaintainers($data);
+ @bug_affected{@newmergelist} = 1 x @newmergelist;
$data->{mergedwith}= join(' ',grep($_ ne $ref,@newmergelist));
$data->{keywords}= join(' ', keys %tags);
+ $data->{found_versions}= [sort keys %found];
+ $data->{fixed_versions}= [sort keys %fixed];
&savebug;
}
&transcript("$action\n\n");
$newbugsneeded = scalar(@newclonedids);
$ref = $origref;
+ $bug_affected{$ref} = 1;
if (&setbug) {
if (length($data->{mergedwith})) {
&transcript("$gBug is marked as being merged with others.\n\n");
&getnextbug;
my $ohash = get_hashname($origref);
$ref = $firstref;
+ @bug_affected{@newclonedids} = 1 x @newclonedids;
for $newclonedid (@newclonedids) {
$clonebugs{$newclonedid} = $ref;
my $hash = get_hashname($ref);
copy("db-h/$ohash/$origref.log", "db-h/$hash/$ref.log");
copy("db-h/$ohash/$origref.status", "db-h/$hash/$ref.status");
+ copy("db-h/$ohash/$origref.summary", "db-h/$hash/$ref.summary");
copy("db-h/$ohash/$origref.report", "db-h/$hash/$ref.report");
- &bughook('new', $ref, "$data->{originator}\n$data->{date}\n$data->{subject}\n$data->{msgid}\n$data->{package}\n$data->{keywords}\n$data->{done}\n$data->{forwarded}\n$data->{mergedwith}\n$data->{severity}\n");
+ &bughook('new', $ref, $data);
$ref++;
}
}
}
+ } elsif (m/^package\s+(\S.*\S)?\s*$/i) {
+ $ok++;
+ my @pkgs = split /\s+/, $1;
+ if (scalar(@pkgs) > 0) {
+ %limit_pkgs = map { ($_, 1) } @pkgs;
+ &transcript("Ignoring bugs not assigned to: " .
+ join(" ", keys(%limit_pkgs)) . "\n\n");
+ } else {
+ %limit_pkgs = ();
+ &transcript("Not ignoring any bugs.\n\n");
+ }
+ } elsif (m/^owner\s+\#?(-?\d+)\s+!$/i ? ($newowner = $replyto, 1) :
+ m/^owner\s+\#?(-?\d+)\s+(\S.*\S)$/i ? ($newowner = $2, 1) : 0) {
+ $ok++;
+ $ref = $1;
+ $bug_affected{$ref} = 1;
+ if (&setbug) {
+ if (length $data->{owner}) {
+ $action = "Owner changed from $data->{owner} to $newowner.";
+ } else {
+ $action = "Owner recorded as $newowner.";
+ }
+ if (length $data->{done}) {
+ $extramessage = "(By the way, this $gBug is currently " .
+ "marked as done.)\n";
+ }
+ do {
+ &addmaintainers($data);
+ $data->{owner} = $newowner;
+ } while (&getnextbug);
+ }
+ } elsif (m/^noowner\s+\#?(-?\d+)$/i) {
+ $ok++;
+ $ref = $1;
+ $bug_affected{$ref} = 1;
+ if (&setbug) {
+ if (length $data->{owner}) {
+ $action = "Removed annotation that $gBug was owned by " .
+ "$data->{owner}.";
+ do {
+ &addmaintainers($data);
+ $data->{owner} = '';
+ } while (&getnextbug);
+ } else {
+ &transcript("$gBug is not marked as having an owner.\n\n");
+ &nochangebug;
+ }
+ }
} else {
&transcript("Unknown command or malformed arguments to command.\n\n");
if (++$unknowns >= 5) {
$maintccs .= "Cc: " . join(",\n ",@maintccs) . "\n";
}
+# Add Bcc's to subscribed bugs
+push @bcc, map {"bugs=$_\@$gListDomain"} keys %bug_affected;
+
if (!defined $header{'subject'} || $header{'subject'} eq "") {
$header{'subject'} = "your mail";
}
References: $header{'message-id'}
Message-ID: <handler.s.$nn.transcript\@$gEmailDomain>
Precedence: bulk
+X-$gProject-PR-Message: transcript
${transcript}Please contact me if you need assistance.
unlink("incoming/P$nn") || &quit("unlinking incoming/P$nn: $!");
-sub get_addresses {
- return
- map { $_->address() }
- map { Mail::Address->parse($_) } @_;
-}
-
sub sendmailmessage {
local ($message,@recips) = @_;
$message = "X-Loop: $gMaintainerEmail\n" . $message;
+ # The original message received is written out above, so before
+ # writing out the other messages we've sent out, we need to
+ # RFC1522 encode the header.
+ my ($header,$body) = split /\n\n/, $message, 2;
+ $header = encode_rfc1522($header);
+ $message = $header . qq(\n\n). $body;
+
print "mailing to >@recips<\n" if $debug;
$c= open(D,"|-");
defined($c) || &quit("mailing forking for sendmail: $!");
}
}
+sub checkpkglimit {
+ if (keys %limit_pkgs and not defined $limit_pkgs{$data->{package}}) {
+ &transcript("$gBug number $ref belongs to package $data->{package}, skipping.\n\n");
+ return 0;
+ }
+ return 1;
+}
+
# High-level bug manipulation calls
# Do announcements themselves
#
&dlex("setbug => 0s");
return 0;
}
+
+ if (!&checkpkglimit) {
+ &cancelbug;
+ return 0;
+ }
+
@thisbugmergelist= split(/ /,$data->{mergedwith});
if (!@thisbugmergelist) {
&foundbug;
"\3\n".
"\7\n",@{escapelog(@log)},"\n\3\n") || &quit("writing db-h/$hash/$ref.log: $!");
close(L) || &quit("closing db-h/$hash/$ref.log: $!");
- writebug($ref, $data);
+ unlockwritebug($ref, $data);
$lowstate= "idle";
&dlex("savebug");
}
In-Reply-To: $header{'message-id'}
Message-ID: <handler.s.$nn.help.$midix\@$gEmailDomain>
Precedence: bulk
+X-$gProject-PR-Message: doc-text $relpath
END
$ok++;
sub sendlynxdocraw {
local ($relpath,$description) = @_;
$doc='';
- open(L,"lynx -nolist -dump $gCGIDomain/\Q$relpath\E 2>&1 |") || &quit("fork for lynx: $!");
+ open(L,"lynx -nolist -dump http://$gCGIDomain/\Q$relpath\E 2>&1 |") || &quit("fork for lynx: $!");
while(<L>) { $doc.=$_; }
$!=0; close(L);
if ($? == 255 && $doc =~ m/^\n*lynx: Can\'t access start file/) {
In-Reply-To: $header{'message-id'}
Message-ID: <handler.s.$nn.info.$midix\@$gEmailDomain>
Precedence: bulk
+X-$gProject-PR-Message: doc-html $relpath
END
$ok++;
sub addmaintainers {
# Data structure is:
# maintainer email address &c -> assoc of packages -> assoc of bug#'s
- my ($p, $addmaint, $pshow);
+ my $data = shift;
+ my ($p, $addmaint);
&ensuremaintainersloaded;
$anymaintfound=0; $anymaintnotfound=0;
- for $p (split(m/[ \t?,()]+/,$_[0])) {
+ for $p (split(m/[ \t?,():]+/, $data->{package})) {
$p =~ y/A-Z/a-z/;
- $pshow= ($p =~ m/[-+.a-z0-9]+/ ? $& : '');
+ $p =~ /([a-z0-9.+-]+)/;
+ $p = $1;
+ next unless defined $p;
if (defined $gSubscriptionDomain) {
if (defined($pkgsrc{$p})) {
- push @bcc, "$pkgsrc{$p}\@$gSubscriptionDomain";
+ addbcc("$pkgsrc{$p}\@$gSubscriptionDomain");
} else {
- push @bcc, "$p\@$gSubscriptionDomain";
+ addbcc("$p\@$gSubscriptionDomain");
}
}
+ if (defined $data->{severity} and defined $gStrongList and
+ isstrongseverity($data->{severity})) {
+ addbcc("$gStrongList\@$gListDomain");
+ }
if (defined($maintainerof{$p})) {
$addmaint= $maintainerof{$p};
&transcript("MR|$addmaint|$p|$ref|\n") if $dl>2;
$maintccreasons{$gUnknownMaintainerEmail}{$p}{$ref}= 1;
}
}
+
+ if (length $data->{owner}) {
+ $addmaint = $data->{owner};
+ &transcript("MO|$addmaint|$data->{package}|$ref|\n") if $dl>2;
+ $maintccreasons{$addmaint}{$data->{package}}{$ref} = 1;
+ print "owner add >$data->{package}|$addmaint<\n" if $debug;
+ }
}
sub ensuremaintainersloaded {
In-Reply-To: $header{'message-id'}
Message-ID: <handler.s.$nn.info.$midix\@$gEmailDomain>
Precedence: bulk
+X-$gProject-PR-Message: getinfo
$description follows: