[Collab-qa-commits] r700 - wnpp-monitor
lucas at alioth.debian.org
lucas at alioth.debian.org
Thu Feb 7 09:58:10 UTC 2008
Author: lucas
Date: 2008-02-07 09:58:10 +0000 (Thu, 07 Feb 2008)
New Revision: 700
Modified:
wnpp-monitor/wnpp-monitor.rb
Log:
wnpp-monitor: minor tweaks.
Modified: wnpp-monitor/wnpp-monitor.rb
===================================================================
--- wnpp-monitor/wnpp-monitor.rb 2008-02-07 05:08:40 UTC (rev 699)
+++ wnpp-monitor/wnpp-monitor.rb 2008-02-07 09:58:10 UTC (rev 700)
@@ -37,7 +37,7 @@
$tmpdir = `mktemp -d /tmp/wnppmon.XXXXXX`.chomp
def write_mail(pkg, subject, body, bug)
- File::open($tmpdir + "/mail_#{pkg}.txt", 'w') do |f|
+ File::open($tmpdir + "/#{pkg}", 'w') do |f|
f.puts <<-EOF
From: WNPP Monitor <lucas at debian.org>
To: #{pkg}@packages.qa.debian.org
@@ -61,12 +61,12 @@
next
elsif (ow[pkg].nil? or ow[pkg] == 'RFA') and w[pkg] == 'O'
# now orphaned
- write_mail(pkg, "[wnpp] #{pkg} has been orphaned!",
+ write_mail(pkg, "[wnpp] #{pkg} has been orphaned",
"The #{pkg} package in Debian has been orphaned,\nand needs a new maintainer.",
$wnpp[pkg][1])
elsif ow[pkg] == 'ITA' and w[pkg] == 'O'
# was ITA, now O again
- write_mail(pkg, "[wnpp] #{pkg} has been orphaned again!",
+ write_mail(pkg, "[wnpp] #{pkg} has been orphaned again",
"The #{pkg} package in Debian has been orphaned again,\n and is looking for a new maintainer.\nSomeone was interested in adopting it, but changed his mind.",
$wnpp[pkg][1])
elsif (ow[pkg] == 'O' or ow[pkg] == 'ITA') and w[pkg].nil?
More information about the Collab-qa-commits
mailing list