OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 11-Feb-2005 16:27:28
Branch: HEAD Handle: 2005021115272800
Modified files:
openpkg-tools/cmd bf-db.pl
Log:
reduce uniqueness in favor of maintenance reduction (overwrite
information obsoleted by OS upgrade)
Summary:
Revision Changes Path
1.9 +2 -2 openpkg-tools/cmd/bf-db.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/bf-db.pl
============================================================================
$ cvs diff -u -r1.8 -r1.9 bf-db.pl
--- openpkg-tools/cmd/bf-db.pl 11 Feb 2005 15:23:26 -0000 1.8
+++ openpkg-tools/cmd/bf-db.pl 11 Feb 2005 15:27:28 -0000 1.9
@@ -347,7 +347,7 @@
$sql .= " st_build_begin INTEGER DEFAULT 0,\n"; # time_t
build began, 0 if unknown | 1105654183
$sql .= " st_build_end INTEGER DEFAULT 0,\n"; # time_t
build ended, 0 if unknown | 1105654224
$sql .= " st_build_color TEXT DEFAULT \"\",\n"; # red/green
depending on binary RPM | green
- $sql .= "PRIMARY KEY ( st_inst_host, st_inst_arch, st_inst_os,
st_inst_tag, st_package_name ) ON CONFLICT REPLACE\n";
+ $sql .= "PRIMARY KEY ( st_inst_host, st_inst_tag, st_package_name )
ON CONFLICT REPLACE\n";
$sql .= ");\n";
$dbh->do($sql);
$sql = '';
@@ -373,7 +373,7 @@
$sql .= " pr_package_version TEXT,\n"; # 2nd part of
$pkg in Makefile.rules | 4.13b
$sql .= " pr_package_release TEXT,\n"; # 3rd part of
$pkg in Makefile.rules | 20040816
$sql .= " pr_heartbeat INTEGER DEFAULT 0,\n"; # time_t last
update, 0 if unknown | 1105654183
- $sql .= "PRIMARY KEY ( pr_inst_host, pr_inst_arch, pr_inst_os,
pr_inst_tag ) ON CONFLICT REPLACE\n";
+ $sql .= "PRIMARY KEY ( pr_inst_host, pr_inst_tag ) ON CONFLICT
REPLACE\n";
$sql .= ");\n";
$dbh->do($sql);
};
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]