[Lsb-messages] /var/www/bzr/lsb/devel/dbadmin r279: broke something, roll back most of previous

Mats Wichmann mats at linuxfoundation.org
Fri Feb 22 17:50:40 UTC 2013


------------------------------------------------------------
revno: 279
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: dbadmin
timestamp: Fri 2013-02-22 10:50:40 -0700
message:
  broke something, roll back most of previous
modified:
  consistency/queries.php
-------------- next part --------------
=== modified file 'consistency/queries.php'
--- a/consistency/queries.php	2013-02-22 17:25:35 +0000
+++ b/consistency/queries.php	2013-02-22 17:50:40 +0000
@@ -542,8 +542,8 @@
                 OR (Ttype='FuncPtr' AND (Tname NOT LIKE '%(%' OR Tname NOT LIKE '%)%'))";
     $res = Query($select, "SAVE_SPACES");
     $numrows = count($res);
-    print("<h1>Type names to be beautified</h1>\n");
-    print("<h3>Type names not following <a href='https://www.linuxfoundation.org/en/Type_Table_Conventions'>naming conventions</a></h3>\n");
+    print("<h1>Type names to be beautified</h1>");
+    print("<h3>Type names not following <a href='https://www.linuxfoundation.org/en/Type_Table_Conventions'>naming conventions</a></h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('Tname');
@@ -914,8 +914,8 @@
     $res = Query($select);
     $numrows = count($res);
     $numFields = pdo_num_fields($res);
-    print("<h1>Derived Types without Base Type Information ($numrows ".entry($numrows).")</h1>"\n);
-    print("<h3>Derived types without base type information (ATbasetype is NULL or zero)</h3>"\n);
+    print("<h1>Derived Types without Base Type Information ($numrows ".entry($numrows).")</h1>");
+    print("<h3>Derived types without base type information (ATbasetype is NULL or zero)</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('Tid', 'Tname', 'Ttype');
@@ -944,8 +944,8 @@
     $res = Query($select);
     $numrows = count($res);
 
-    print("<h1>ApprovedLibrary Values with Digital Suffixes ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>Records in the ApprovedLibrary table should end with '.so' suffix, there is no need to specify any digits after it</h3>\n");
+    print("<h1>ApprovedLibrary Values with Digital Suffixes ($numrows ".entry($numrows).")</h1>");
+    print("<h3>Records in the ApprovedLibrary table should end with '.so' suffix, there is no need to specify any digits after it</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('ALsoname', 'ALlibname', 'Possible Fix');
@@ -977,8 +977,8 @@
     $res = Query($select);
     $numrows = count($res);
     $numFields = pdo_num_fields($res);
-    print("<h1>RawLibraries with Strange Names ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>The following RawLibrary records should be possibly dropped</h3>\n");
+    print("<h1>RawLibraries with Strange Names ($numrows ".entry($numrows).")</h1>");
+    print("<h3>The following RawLibrary records should be possibly dropped</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('RLid', 'RLname', 'Possible Fix');
@@ -1067,8 +1067,8 @@
                 .'DELETE FROM CompRILM WHERE CRMcid={$1}; '
                 .'DELETE FROM CompLDpath WHERE CLDcid={$1};';
 
-    print("<h1>Component Aliases with Associated Entities ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>Components with Calias &gt; 0 should not have any associated items</h3>\n");
+    print("<h1>Component Aliases with Associated Entities ($numrows ".entry($numrows).")</h1>");
+    print("<h3>Components with Calias &gt; 0 should not have any associated items</h3>");
     if ($numrows) {
         $numrows = count($res);
         $numFields = pdo_num_fields($res);
@@ -1110,8 +1110,8 @@
 
     $fix_tmpl='UPDATE Component SET Calias={$3} WHERE Cid={$1};';
 
-    print("<h1>Component Aliases on Aliases ($numrows ".entry($numrows) .")</h1>\n");
-    print("<h3>Calias field of the following Components references records that in turn have Calias > 0</h3>\n");
+    print("<h1>Component Aliases on Aliases ($numrows ".entry($numrows) .")</h1>");
+    print("<h3>Calias field of the following Components references records that in turn have Calias > 0</h3>");
     if ($numrows) {
         $numFields = pdo_num_fields($res);
         print("<table class='wikitable'>\n");
@@ -1217,8 +1217,8 @@
     $res = Query($select);
     $numrows = count($res);
     $numFields = pdo_num_fields($res);
-    print("<h1>Possibly missing SModStd Entries ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>Possibly missing SModStd Entries (Standards used for Interfaces but not referenced in the SModStd Table)</h3>\n");
+    print("<h1>Possibly missing SModStd Entries ($numrows ".entry($numrows).")</h1>");
+    print("<h3>Possibly missing SModStd Entries (Standards used for Interfaces but not referenced in the SModStd Table)</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('SMSsmid', 'ISsid', 'Possible Fix');
@@ -1273,8 +1273,8 @@
                 )";
     $res = Query($select);
     $numrows = count($res);
-    print("<h1>Typedef Basetype Architecture Mismatch</h1>\n");
-    print("<h3>Typedefs on complex Types are included for some architectures, while their basetypes have no archtype data for them. This means that devchk will not test such Types.</h3>\n");
+    print("<h1>Typedef Basetype Architecture Mismatch</h1>");
+    print("<h3>Typedefs on complex Types are included for some architectures, while their basetypes have no archtype data for them. This means that devchk will not test such Types.</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('Tid', 'Tname', 'ATbasetype', 'ATaid');
@@ -1332,8 +1332,8 @@
                 OR Cname LIKE '%.deb'";
     $res = Query($select);
     $numrows = count($res);
-    print("<h1>Component Names to be beautified</h1>\n");
-    print("<h3>Component names with '.deb' or '.rpm' suffix</h3>\n");
+    print("<h1>Component Names to be beautified</h1>");
+    print("<h3>Component names with '.deb' or '.rpm' suffix</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('Cname');
@@ -1357,9 +1357,9 @@
                 HAVING COUNT(DISTINCT RLarch) > 1";
     $res = Query($select);
     $numrows = count($res);
-    print("<h1>Biarch Components</h1>\n");
+    print("<h1>Biarch Components</h1>");
     print("<h3>The following components contain binary elements for more then one architecture. "
-                ."They should be divided into several records, one per architecture.</h3>\n");
+                ."They should be divided into several records, one per architecture.</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('Cid');
@@ -1386,8 +1386,8 @@
     $fix_tmpl='DELETE FROM RawInterface WHERE RIid={$1}';
     $numrows = count($res);
     $numFields = pdo_num_fields($res);
-    print("<h1>RawInterfaces Not Assigned to any Application or Library ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>Orphan RawInterfaces records that should be probably dropped</h3>\n");
+    print("<h1>RawInterfaces Not Assigned to any Application or Library ($numrows ".entry($numrows).")</h1>");
+    print("<h3>Orphan RawInterfaces records that should be probably dropped</h3>");
     if ($numrows) {
         print("<table class='wikitable'>\n");
         print_table_header('RIid', 'RIname', 'Possible Fix');
@@ -1421,8 +1421,8 @@
                  AND ISrefspecurl IS NULL";
     $res = Query($select);
     $numrows = count($res);
-    print("<h1>Interface Missing Reference URL ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>The following interfaces are marked as having a referenced spec in addition to a main spec, but have no URL to the referenced spec</h3>\n");
+    print("<h1>Interface Missing Reference URL ($numrows ".entry($numrows).")</h1>");
+    print("<h3>The following interfaces are marked as having a referenced spec in addition to a main spec, but have no URL to the referenced spec</h3>");
 
     if ($numrows) {
         print("<table class='wikitable'>\n");
@@ -1458,8 +1458,8 @@
                     .'SELECT LGid FROM LibGroup LEFT JOIN Library ON Lid=LGlib '
                     .'WHERE LGname=CONCAT(\'Class \',CIunmangled) AND Lname=\'libstdcxx\') WHERE CIid={$1}';
 
-    print("<h1>Libstdc++ Classes Assigned to Wrong LibGroups ($numrows ".entry($numrows).")</h1>\n");
-    print("<h3>Normally, a libstdc++ class should be assigned to lib group with name like 'Class ' + CIunmangled</h3>\n");
+    print("<h1>Libstdc++ Classes Assigned to Wrong LibGroups ($numrows ".entry($numrows).")</h1>");
+    print("<h3>Normally, a libstdc++ class should be assigned to lib group with name like 'Class ' + CIunmangled</h3>");
     if ($numrows) {
         $numFields = pdo_num_fields($res);
         print("<table class='wikitable'>\n");
@@ -2221,7 +2221,7 @@
     case "consist-mis-standard" :
         $title = "Included Interfaces without Standards";
         $desc = "The following interfaces are in the standard, but no behavioral specification has been assigned to them. ";
-        $desc = "Such interfaces will not appear in the interface tables in the specification. ":
+        $desc.= "Such interfaces will not appear in the interface tables in the specification. ";
         $desc.= "These can be considered outstanding issues.";
         $select = "SELECT Iid,Iname,Iunmangled, Ilibrary, Sname, COUNT(DISTINCT Sid) AS StdCnt, Surl FROM Interface
                     LEFT JOIN ArchInt ON AIint=Iid



More information about the lsb-messages mailing list