diff options
author | Lance Albertson <ramereth@gentoo.org> | 2005-10-03 13:36:22 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2005-10-03 13:36:22 +0000 |
commit | d33f1e2ba033b344b76b4466a39ea85cf1d49695 (patch) | |
tree | 292d91778dc06459b5de8a971c5cea3964d928ec /www-apps/viewcvs | |
parent | Mark 3.4.1 stable on alpha (diff) | |
download | historical-d33f1e2ba033b344b76b4466a39ea85cf1d49695.tar.gz historical-d33f1e2ba033b344b76b4466a39ea85cf1d49695.tar.bz2 historical-d33f1e2ba033b344b76b4466a39ea85cf1d49695.zip |
Added two mysql scripts I forgot, resolves #107969
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'www-apps/viewcvs')
-rw-r--r-- | www-apps/viewcvs/ChangeLog | 6 | ||||
-rw-r--r-- | www-apps/viewcvs/Manifest | 4 | ||||
-rw-r--r-- | www-apps/viewcvs/files/viewcvs-mysql-4.0.sql | 84 | ||||
-rw-r--r-- | www-apps/viewcvs/files/viewcvs-mysql-4.1.sql | 83 |
4 files changed, 175 insertions, 2 deletions
diff --git a/www-apps/viewcvs/ChangeLog b/www-apps/viewcvs/ChangeLog index e30b268f2b1c..4e96d6649a3d 100644 --- a/www-apps/viewcvs/ChangeLog +++ b/www-apps/viewcvs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/viewcvs # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/ChangeLog,v 1.20 2005/10/03 05:06:28 ramereth Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/ChangeLog,v 1.21 2005/10/03 13:36:22 ramereth Exp $ + + 03 Oct 2005; Lance Albertson <ramereth@gentoo.org> + +files/viewcvs-mysql-4.0.sql, +files/viewcvs-mysql-4.1.sql: + * Added two mysql scripts I forgot, resolves #107969 *viewcvs-1.0_pre20050929 (03 Oct 2005) diff --git a/www-apps/viewcvs/Manifest b/www-apps/viewcvs/Manifest index c57dd4ed48aa..b2c96a6616e3 100644 --- a/www-apps/viewcvs/Manifest +++ b/www-apps/viewcvs/Manifest @@ -1,4 +1,4 @@ -MD5 7f740f7db66e4d3b95dcf45e088484e6 ChangeLog 7116 +MD5 8a5aa422cb10556b2543e0f52984a5ca ChangeLog 7287 MD5 fa8daabae86da3beefbc3ea1e5ccd42c metadata.xml 779 MD5 de35d046cef5f9b95a5ddce9f2bf990d viewcvs-0.9.2_p20041207-r1.ebuild 2536 MD5 60259d2075951e829e25d800b66e6e5b viewcvs-0.9.3.ebuild 1479 @@ -14,3 +14,5 @@ MD5 550579a3a648e62d01ec4c3c3ee47327 files/viewcvs-CAN-2004-1062.patch 341 MD5 26ecfea58fa51e62bc28985ff0f73048 files/digest-viewcvs-0.9.4 65 MD5 8dd7c985d9b13ffa051e8f293e88ddb1 files/postinstall-new-en.txt 933 MD5 6ad94993c3421b9b0413f3268e5f09b6 files/digest-viewcvs-1.0_pre20050929 69 +MD5 9b65df9cd8e1bae9bca4fcf9623396e7 files/viewcvs-mysql-4.0.sql 2495 +MD5 6260728f582a42a165dcf791a36b4825 files/viewcvs-mysql-4.1.sql 2422 diff --git a/www-apps/viewcvs/files/viewcvs-mysql-4.0.sql b/www-apps/viewcvs/files/viewcvs-mysql-4.0.sql new file mode 100644 index 000000000000..98701648626e --- /dev/null +++ b/www-apps/viewcvs/files/viewcvs-mysql-4.0.sql @@ -0,0 +1,84 @@ +DROP TABLE IF EXISTS branches; +CREATE TABLE branches ( + id mediumint(9) DEFAULT '0' NOT NULL auto_increment, + branch varchar(64) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE branch (branch) +); + +DROP TABLE IF EXISTS checkins; +CREATE TABLE checkins ( + type enum('Change','Add','Remove'), + ci_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, + whoid mediumint(9) DEFAULT '0' NOT NULL, + repositoryid mediumint(9) DEFAULT '0' NOT NULL, + dirid mediumint(9) DEFAULT '0' NOT NULL, + fileid mediumint(9) DEFAULT '0' NOT NULL, + revision varchar(32) binary DEFAULT '' NOT NULL, + stickytag varchar(255) binary DEFAULT '' NOT NULL, + branchid mediumint(9) DEFAULT '0' NOT NULL, + addedlines int(11) DEFAULT '0' NOT NULL, + removedlines int(11) DEFAULT '0' NOT NULL, + descid mediumint(9), + UNIQUE repositoryid (repositoryid,dirid,fileid,revision), + KEY ci_when (ci_when), + KEY whoid (whoid), + KEY repositoryid_2 (repositoryid), + KEY dirid (dirid), + KEY fileid (fileid), + KEY branchid (branchid) +); + +DROP TABLE IF EXISTS descs; +CREATE TABLE descs ( + id mediumint(9) DEFAULT '0' NOT NULL auto_increment, + description text, + hash bigint(20) DEFAULT '0' NOT NULL, + PRIMARY KEY (id), + KEY hash (hash) +); +DROP TABLE IF EXISTS dirs; +CREATE TABLE dirs ( + id mediumint(9) DEFAULT '0' NOT NULL auto_increment, + dir varchar(255) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE dir (dir) +); + +DROP TABLE IF EXISTS files; +CREATE TABLE files ( + id mediumint(9) DEFAULT '0' NOT NULL auto_increment, + file varchar(255) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE file (file) +); + +DROP TABLE IF EXISTS people; +CREATE TABLE people ( + id mediumint(9) DEFAULT '0' NOT NULL auto_increment, + who varchar(32) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE who (who) +); + +DROP TABLE IF EXISTS repositories; +CREATE TABLE repositories ( + id mediumint(9) DEFAULT '0' NOT NULL auto_increment, + repository varchar(64) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE repository (repository) +); + +DROP TABLE IF EXISTS tags; +CREATE TABLE tags ( + repositoryid mediumint(9) DEFAULT '0' NOT NULL, + branchid mediumint(9) DEFAULT '0' NOT NULL, + dirid mediumint(9) DEFAULT '0' NOT NULL, + fileid mediumint(9) DEFAULT '0' NOT NULL, + revision varchar(32) binary DEFAULT '' NOT NULL, + UNIQUE repositoryid (repositoryid,dirid,fileid,branchid,revision), + KEY repositoryid_2 (repositoryid), + KEY dirid (dirid), + KEY fileid (fileid), + KEY branchid (branchid) +); diff --git a/www-apps/viewcvs/files/viewcvs-mysql-4.1.sql b/www-apps/viewcvs/files/viewcvs-mysql-4.1.sql new file mode 100644 index 000000000000..f1529ecc400b --- /dev/null +++ b/www-apps/viewcvs/files/viewcvs-mysql-4.1.sql @@ -0,0 +1,83 @@ +DROP TABLE IF EXISTS branches; +CREATE TABLE branches ( + id mediumint(9) NOT NULL auto_increment, + branch varchar(64) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE branch (branch) +); + +DROP TABLE IF EXISTS checkins; +CREATE TABLE checkins ( + type enum('Change','Add','Remove'), + ci_when datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, + whoid mediumint(9) DEFAULT '0' NOT NULL, + repositoryid mediumint(9) DEFAULT '0' NOT NULL, + dirid mediumint(9) DEFAULT '0' NOT NULL, + fileid mediumint(9) DEFAULT '0' NOT NULL, + revision varchar(32) binary DEFAULT '' NOT NULL, + stickytag varchar(255) binary DEFAULT '' NOT NULL, + branchid mediumint(9) DEFAULT '0' NOT NULL, + addedlines int(11) DEFAULT '0' NOT NULL, + removedlines int(11) DEFAULT '0' NOT NULL, + descid mediumint(9), + UNIQUE repositoryid (repositoryid,dirid,fileid,revision), + KEY ci_when (ci_when), + KEY whoid (whoid), + KEY repositoryid_2 (repositoryid), + KEY dirid (dirid), + KEY fileid (fileid), + KEY branchid (branchid) +); + +DROP TABLE IF EXISTS descs; +CREATE TABLE descs ( + id mediumint(9) NOT NULL auto_increment, + description text, + hash bigint(20) DEFAULT '0' NOT NULL, + PRIMARY KEY (id), + KEY hash (hash) +); + +DROP TABLE IF EXISTS dirs; +CREATE TABLE dirs ( + id mediumint(9) NOT NULL auto_increment, + dir varchar(255) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE dir (dir) +); +DROP TABLE IF EXISTS files; +CREATE TABLE files ( + id mediumint(9) NOT NULL auto_increment, + file varchar(255) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE file (file) +); + +DROP TABLE IF EXISTS people; +CREATE TABLE people ( + id mediumint(9) NOT NULL auto_increment, + who varchar(32) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE who (who) +); + +DROP TABLE IF EXISTS repositories; +CREATE TABLE repositories ( + id mediumint(9) NOT NULL auto_increment, + repository varchar(64) binary DEFAULT '' NOT NULL, + PRIMARY KEY (id), + UNIQUE repository (repository) +); +DROP TABLE IF EXISTS tags; +CREATE TABLE tags ( + repositoryid mediumint(9) DEFAULT '0' NOT NULL, + branchid mediumint(9) DEFAULT '0' NOT NULL, + dirid mediumint(9) DEFAULT '0' NOT NULL, + fileid mediumint(9) DEFAULT '0' NOT NULL, + revision varchar(32) binary DEFAULT '' NOT NULL, + UNIQUE repositoryid (repositoryid,dirid,fileid,branchid,revision), + KEY repositoryid_2 (repositoryid), + KEY dirid (dirid), + KEY fileid (fileid), + KEY branchid (branchid) +); |