[Collab-qa-commits] r1188 - buildstat/trunk/buildstat-server/lib/SvnBuildStat/Controller

goneri at alioth.debian.org goneri at alioth.debian.org
Mon Sep 1 13:06:47 UTC 2008


Author: goneri
Date: 2008-09-01 13:06:47 +0000 (Mon, 01 Sep 2008)
New Revision: 1188

Modified:
   buildstat/trunk/buildstat-server/lib/SvnBuildStat/Controller/Packages.pm
Log:
just add a warning about the fact that I just keep the 80th first charactere of the title of the bug

Modified: buildstat/trunk/buildstat-server/lib/SvnBuildStat/Controller/Packages.pm
===================================================================
--- buildstat/trunk/buildstat-server/lib/SvnBuildStat/Controller/Packages.pm	2008-09-01 13:05:29 UTC (rev 1187)
+++ buildstat/trunk/buildstat-server/lib/SvnBuildStat/Controller/Packages.pm	2008-09-01 13:06:47 UTC (rev 1188)
@@ -69,6 +69,7 @@
   repositoryentry.sourcepackage_id=sourcepackage.id
  AND maintainer.email='$email'
  GROUP BY sourcepackage.name, sourcepackage.id, changelogentry.id, changelogentry.dscuri, changelogentry.isnative, changelogentry.isindebian, repositoryentry.issyncedwithupstream, repositoryentry.iswatchfilebroken, maintainer.email, maintainer.name
+ ORDER BY sourcepackage.name 
         
         ", 1);
 
@@ -211,7 +212,7 @@
 
     foreach (keys %$bugsinfo) {
         my $bug_name = $bugsinfo->{$_}->{bug_name};
-        $bug_name =~ s/^(.{80})(.*)/$1 (...)/;
+        $bug_name =~ s/^(.{80})(.*)/$1 (...)/; # Just keep the 80th first chara of the bug name
         my $bugerror;
         my $bugwarning;
         if ($bugsinfo->{$_}->{bugseverity_name} =~ /important|serious|grave|critical/) {




More information about the Collab-qa-commits mailing list