[Collab-qa-commits] r667 - in svnbuildstat/trunk: . root/src/teams script
goneri-guest at alioth.debian.org
goneri-guest at alioth.debian.org
Sun Jan 20 21:33:42 UTC 2008
Author: goneri-guest
Date: 2008-01-20 21:33:41 +0000 (Sun, 20 Jan 2008)
New Revision: 667
Modified:
svnbuildstat/trunk/root/src/teams/main.tt2
svnbuildstat/trunk/schema-pg.sql
svnbuildstat/trunk/script/svnbuildstat_agent.pl
svnbuildstat/trunk/script/svnbuildstat_tarball.pl
svnbuildstat/trunk/script/svnbuildstat_update-db.pl
svnbuildstat/trunk/svnbuildstat.ini
Log:
save some uncommited changes
Modified: svnbuildstat/trunk/root/src/teams/main.tt2
===================================================================
--- svnbuildstat/trunk/root/src/teams/main.tt2 2008-01-20 21:33:12 UTC (rev 666)
+++ svnbuildstat/trunk/root/src/teams/main.tt2 2008-01-20 21:33:41 UTC (rev 667)
@@ -9,7 +9,7 @@
<table>
[% FOREACH team IN teams -%]
<tr>
-<td><a href="[% Catalyst.uri_for('/teams//') _ team.id %]"><strong>[% team.name %]</strong></a></td>
+<td><a href="[% Catalyst.uri_for('/teams/packages/') _ team.id %]"><strong>[% team.name %]</strong></a></td>
</tr>
[% END -%]
</table>
Modified: svnbuildstat/trunk/schema-pg.sql
===================================================================
--- svnbuildstat/trunk/schema-pg.sql 2008-01-20 21:33:12 UTC (rev 666)
+++ svnbuildstat/trunk/schema-pg.sql 2008-01-20 21:33:41 UTC (rev 667)
@@ -3,8 +3,10 @@
--
SET client_encoding = 'UTF8';
+SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
+SET escape_string_warning = off;
--
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
@@ -89,25 +91,11 @@
ALTER TABLE public.arch OWNER TO svnbuildstat;
--
--- Name: binarypackage_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
---
-
-CREATE SEQUENCE binarypackage_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MAXVALUE
- NO MINVALUE
- CACHE 1;
-
-
-ALTER TABLE public.binarypackage_id_seq OWNER TO svnbuildstat;
-
---
-- Name: binarypackage; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
CREATE TABLE binarypackage (
- id integer DEFAULT nextval('binarypackage_id_seq'::regclass) NOT NULL,
+ id integer NOT NULL,
name text NOT NULL
);
@@ -122,11 +110,23 @@
--
+-- Name: binarypackage_build; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE binarypackage_build (
+ id integer NOT NULL,
+ binarypackage_id integer NOT NULL,
+ build_id integer NOT NULL
+);
+
+
+ALTER TABLE public.binarypackage_build OWNER TO svnbuildstat;
+
+--
-- Name: binarypackage_build_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
CREATE SEQUENCE binarypackage_build_id_seq
- START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
@@ -136,19 +136,33 @@
ALTER TABLE public.binarypackage_build_id_seq OWNER TO svnbuildstat;
--
--- Name: binarypackage_build; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: binarypackage_build_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE binarypackage_build (
- id integer DEFAULT nextval('binarypackage_build_id_seq'::regclass) NOT NULL,
- binarypackage_id integer NOT NULL,
- build_id integer NOT NULL
-);
+ALTER SEQUENCE binarypackage_build_id_seq OWNED BY binarypackage_build.id;
-ALTER TABLE public.binarypackage_build OWNER TO svnbuildstat;
+--
+-- Name: binarypackage_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+--
+CREATE SEQUENCE binarypackage_id_seq
+ INCREMENT BY 1
+ NO MAXVALUE
+ NO MINVALUE
+ CACHE 1;
+
+
+ALTER TABLE public.binarypackage_id_seq OWNER TO svnbuildstat;
+
--
+-- Name: binarypackage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE binarypackage_id_seq OWNED BY binarypackage.id;
+
+
+--
-- Name: bug; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
@@ -181,6 +195,7 @@
CREATE TABLE build (
id integer DEFAULT nextval('build_id_seq'::regclass) NOT NULL,
+ repositoryentry_id integer,
svndebrelease text,
build_log text,
piuparts_log text,
@@ -199,44 +214,37 @@
ALTER TABLE public.build OWNER TO svnbuildstat;
--
--- Name: COLUMN build.svndebrelease; Type: COMMENT; Schema: public; Owner: svnbuildstat
+-- Name: COLUMN build.repositoryentry_id; Type: COMMENT; Schema: public; Owner: svnbuildstat
--
-COMMENT ON COLUMN build.svndebrelease IS 'deprecated, use changelogentry_id instead';
+COMMENT ON COLUMN build.repositoryentry_id IS 'deprecated, use changelogentry_id instead';
--
--- Name: COLUMN build.changelog; Type: COMMENT; Schema: public; Owner: svnbuildstat
+-- Name: COLUMN build.svndebrelease; Type: COMMENT; Schema: public; Owner: svnbuildstat
--
-COMMENT ON COLUMN build.changelog IS 'rcs log since the previous builded revision';
+COMMENT ON COLUMN build.svndebrelease IS 'deprecated, use changelogentry_id instead';
--
--- Name: changelogentry_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+-- Name: COLUMN build.changelog; Type: COMMENT; Schema: public; Owner: svnbuildstat
--
-CREATE SEQUENCE changelogentry_id_seq
- INCREMENT BY 1
- NO MAXVALUE
- NO MINVALUE
- CACHE 1;
+COMMENT ON COLUMN build.changelog IS 'rcs log since the previous builded revision';
-ALTER TABLE public.changelogentry_id_seq OWNER TO svnbuildstat;
-
--
-- Name: changelogentry; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
CREATE TABLE changelogentry (
- id integer DEFAULT nextval('changelogentry_id_seq'::regclass) NOT NULL,
+ id integer NOT NULL,
userlogin_id integer,
repositoryentry_id integer NOT NULL,
date timestamp without time zone,
text text,
- rev text NOT NULL,
- lastbuildstart timestamp without time zone
+ rev text NOT NULL
);
@@ -250,6 +258,26 @@
--
+-- Name: changelogentry_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+--
+
+CREATE SEQUENCE changelogentry_id_seq
+ INCREMENT BY 1
+ NO MAXVALUE
+ NO MINVALUE
+ CACHE 1;
+
+
+ALTER TABLE public.changelogentry_id_seq OWNER TO svnbuildstat;
+
+--
+-- Name: changelogentry_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE changelogentry_id_seq OWNED BY changelogentry.id;
+
+
+--
-- Name: host_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -281,7 +309,6 @@
--
CREATE SEQUENCE linda_id_seq
- START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
@@ -295,7 +322,6 @@
--
CREATE SEQUENCE lintian_id_seq
- START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
@@ -331,6 +357,18 @@
ALTER TABLE public.maintainer OWNER TO svnbuildstat;
--
+-- Name: qalog; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE qalog (
+ id integer NOT NULL,
+ log text
+);
+
+
+ALTER TABLE public.qalog OWNER TO svnbuildstat;
+
+--
-- Name: qalog_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -345,16 +383,26 @@
ALTER TABLE public.qalog_id_seq OWNER TO svnbuildstat;
--
--- Name: qalog; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: qalog_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE qalog (
- id integer DEFAULT nextval('qalog_id_seq'::regclass) NOT NULL,
- log text
+ALTER SEQUENCE qalog_id_seq OWNED BY qalog.id;
+
+
+--
+-- Name: qaresult; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE qaresult (
+ id integer NOT NULL,
+ qatool_id integer NOT NULL,
+ qastatus_id integer NOT NULL,
+ build_id integer NOT NULL,
+ qalog_id integer
);
-ALTER TABLE public.qalog OWNER TO svnbuildstat;
+ALTER TABLE public.qaresult OWNER TO svnbuildstat;
--
-- Name: qaresult_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
@@ -371,19 +419,24 @@
ALTER TABLE public.qaresult_id_seq OWNER TO svnbuildstat;
--
--- Name: qaresult; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: qaresult_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE qaresult (
- id integer DEFAULT nextval('qaresult_id_seq'::regclass) NOT NULL,
- qatool_id integer NOT NULL,
- qastatus_id integer NOT NULL,
- build_id integer NOT NULL,
- qalog_id integer
+ALTER SEQUENCE qaresult_id_seq OWNED BY qaresult.id;
+
+
+--
+-- Name: qaresult_qatag; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE qaresult_qatag (
+ id integer NOT NULL,
+ qaresult_id integer,
+ qatag integer
);
-ALTER TABLE public.qaresult OWNER TO svnbuildstat;
+ALTER TABLE public.qaresult_qatag OWNER TO svnbuildstat;
--
-- Name: qaresult_qatag_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
@@ -400,17 +453,23 @@
ALTER TABLE public.qaresult_qatag_id_seq OWNER TO svnbuildstat;
--
--- Name: qaresult_qatag; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: qaresult_qatag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE qaresult_qatag (
- id integer DEFAULT nextval('qaresult_qatag_id_seq'::regclass) NOT NULL,
- qaresult_id integer,
- qatag integer
+ALTER SEQUENCE qaresult_qatag_id_seq OWNED BY qaresult_qatag.id;
+
+
+--
+-- Name: qastatus; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE qastatus (
+ id integer NOT NULL,
+ name text
);
-ALTER TABLE public.qaresult_qatag OWNER TO svnbuildstat;
+ALTER TABLE public.qastatus OWNER TO svnbuildstat;
--
-- Name: qastatus_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
@@ -427,16 +486,23 @@
ALTER TABLE public.qastatus_id_seq OWNER TO svnbuildstat;
--
--- Name: qastatus; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: qastatus_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE qastatus (
- id integer DEFAULT nextval('qastatus_id_seq'::regclass) NOT NULL,
+ALTER SEQUENCE qastatus_id_seq OWNED BY qastatus.id;
+
+
+--
+-- Name: qatag; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE qatag (
+ id integer NOT NULL,
name text
);
-ALTER TABLE public.qastatus OWNER TO svnbuildstat;
+ALTER TABLE public.qatag OWNER TO svnbuildstat;
--
-- Name: qatag_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
@@ -453,18 +519,34 @@
ALTER TABLE public.qatag_id_seq OWNER TO svnbuildstat;
--
--- Name: qatag; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: qatag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE qatag (
- id integer DEFAULT nextval('qatag_id_seq'::regclass) NOT NULL,
- name text
+ALTER SEQUENCE qatag_id_seq OWNED BY qatag.id;
+
+
+--
+-- Name: qatool; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+--
+
+CREATE TABLE qatool (
+ id integer NOT NULL,
+ name text,
+ version integer NOT NULL,
+ description integer NOT NULL
);
-ALTER TABLE public.qatag OWNER TO svnbuildstat;
+ALTER TABLE public.qatool OWNER TO svnbuildstat;
--
+-- Name: TABLE qatool; Type: COMMENT; Schema: public; Owner: svnbuildstat
+--
+
+COMMENT ON TABLE qatool IS 'The qa tool used';
+
+
+--
-- Name: qatool_description_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -479,6 +561,13 @@
ALTER TABLE public.qatool_description_seq OWNER TO svnbuildstat;
--
+-- Name: qatool_description_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE qatool_description_seq OWNED BY qatool.description;
+
+
+--
-- Name: qatool_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -493,6 +582,13 @@
ALTER TABLE public.qatool_id_seq OWNER TO svnbuildstat;
--
+-- Name: qatool_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE qatool_id_seq OWNED BY qatool.id;
+
+
+--
-- Name: qatool_version_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -507,27 +603,13 @@
ALTER TABLE public.qatool_version_seq OWNER TO svnbuildstat;
--
--- Name: qatool; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
+-- Name: qatool_version_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
--
-CREATE TABLE qatool (
- id integer DEFAULT nextval('qatool_id_seq'::regclass) NOT NULL,
- name text,
- version integer DEFAULT nextval('qatool_version_seq'::regclass) NOT NULL,
- description integer DEFAULT nextval('qatool_description_seq'::regclass) NOT NULL
-);
+ALTER SEQUENCE qatool_version_seq OWNED BY qatool.version;
-ALTER TABLE public.qatool OWNER TO svnbuildstat;
-
--
--- Name: TABLE qatool; Type: COMMENT; Schema: public; Owner: svnbuildstat
---
-
-COMMENT ON TABLE qatool IS 'The qa tool used';
-
-
---
-- Name: repository_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -541,20 +623,6 @@
ALTER TABLE public.repository_id_seq OWNER TO svnbuildstat;
--
--- Name: repository_vcs_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
---
-
-CREATE SEQUENCE repository_vcs_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MAXVALUE
- NO MINVALUE
- CACHE 1;
-
-
-ALTER TABLE public.repository_vcs_id_seq OWNER TO svnbuildstat;
-
---
-- Name: repository; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
@@ -568,7 +636,7 @@
lastcheck timestamp without time zone,
shortname text NOT NULL,
team_id integer NOT NULL,
- vcs_id integer DEFAULT nextval('repository_vcs_id_seq'::regclass) NOT NULL
+ vcs_id integer NOT NULL
);
@@ -582,6 +650,26 @@
--
+-- Name: repository_vcs_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+--
+
+CREATE SEQUENCE repository_vcs_id_seq
+ INCREMENT BY 1
+ NO MAXVALUE
+ NO MINVALUE
+ CACHE 1;
+
+
+ALTER TABLE public.repository_vcs_id_seq OWNER TO svnbuildstat;
+
+--
+-- Name: repository_vcs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE repository_vcs_id_seq OWNED BY repository.vcs_id;
+
+
+--
-- Name: repositoryentry_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
@@ -602,6 +690,7 @@
id integer DEFAULT nextval('repositoryentry_id_seq'::regclass) NOT NULL,
tarballuri text,
repository_id integer NOT NULL,
+ istarballpresent boolean DEFAULT false,
isindebian boolean DEFAULT false,
svndebrelease text,
isuptodate boolean,
@@ -609,6 +698,7 @@
isnative boolean DEFAULT false,
lastcheck timestamp without time zone,
iswatchfilebroken boolean,
+ lastbuildstart timestamp without time zone,
blacklisted boolean DEFAULT false,
i386 boolean DEFAULT true,
powerpc boolean DEFAULT true,
@@ -631,6 +721,13 @@
ALTER TABLE public.repositoryentry OWNER TO svnbuildstat;
--
+-- Name: COLUMN repositoryentry.istarballpresent; Type: COMMENT; Schema: public; Owner: svnbuildstat
+--
+
+COMMENT ON COLUMN repositoryentry.istarballpresent IS 'vcs only, is it possible to find the upstream tarball to prepare the source repositoryentry to build';
+
+
+--
-- Name: COLUMN repositoryentry.isnative; Type: COMMENT; Schema: public; Owner: svnbuildstat
--
@@ -638,6 +735,13 @@
--
+-- Name: COLUMN repositoryentry.lastbuildstart; Type: COMMENT; Schema: public; Owner: svnbuildstat
+--
+
+COMMENT ON COLUMN repositoryentry.lastbuildstart IS 'last time a buildbot started to build this release of the repositoryentry';
+
+
+--
-- Name: COLUMN repositoryentry.blacklisted; Type: COMMENT; Schema: public; Owner: svnbuildstat
--
@@ -696,7 +800,6 @@
--
CREATE SEQUENCE severity_id_seq
- START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
@@ -718,24 +821,11 @@
ALTER TABLE public.severity OWNER TO svnbuildstat;
--
--- Name: sourcepackage_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
---
-
-CREATE SEQUENCE sourcepackage_id_seq
- INCREMENT BY 1
- NO MAXVALUE
- NO MINVALUE
- CACHE 1;
-
-
-ALTER TABLE public.sourcepackage_id_seq OWNER TO svnbuildstat;
-
---
-- Name: sourcepackage; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
CREATE TABLE sourcepackage (
- id integer DEFAULT nextval('sourcepackage_id_seq'::regclass) NOT NULL,
+ id integer NOT NULL,
name text
);
@@ -743,24 +833,31 @@
ALTER TABLE public.sourcepackage OWNER TO svnbuildstat;
--
--- Name: team_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+-- Name: sourcepackage_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
-CREATE SEQUENCE team_id_seq
+CREATE SEQUENCE sourcepackage_id_seq
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
-ALTER TABLE public.team_id_seq OWNER TO svnbuildstat;
+ALTER TABLE public.sourcepackage_id_seq OWNER TO svnbuildstat;
--
+-- Name: sourcepackage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE sourcepackage_id_seq OWNED BY sourcepackage.id;
+
+
+--
-- Name: team; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
CREATE TABLE team (
- id integer DEFAULT nextval('team_id_seq'::regclass) NOT NULL,
+ id integer NOT NULL,
shortname text,
name text,
url text
@@ -770,24 +867,31 @@
ALTER TABLE public.team OWNER TO svnbuildstat;
--
--- Name: userlogin_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+-- Name: team_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
-CREATE SEQUENCE userlogin_id_seq
+CREATE SEQUENCE team_id_seq
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
-ALTER TABLE public.userlogin_id_seq OWNER TO svnbuildstat;
+ALTER TABLE public.team_id_seq OWNER TO svnbuildstat;
--
+-- Name: team_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE team_id_seq OWNED BY team.id;
+
+
+--
-- Name: userlogin; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
CREATE TABLE userlogin (
- id integer DEFAULT nextval('userlogin_id_seq'::regclass) NOT NULL,
+ id integer NOT NULL,
maintainer_id integer,
name text
);
@@ -803,24 +907,31 @@
--
--- Name: vcs_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+-- Name: userlogin_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
--
-CREATE SEQUENCE vcs_id_seq
+CREATE SEQUENCE userlogin_id_seq
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
-ALTER TABLE public.vcs_id_seq OWNER TO svnbuildstat;
+ALTER TABLE public.userlogin_id_seq OWNER TO svnbuildstat;
--
+-- Name: userlogin_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE userlogin_id_seq OWNED BY userlogin.id;
+
+
+--
-- Name: vcs; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace:
--
CREATE TABLE vcs (
- id integer DEFAULT nextval('vcs_id_seq'::regclass) NOT NULL,
+ id integer NOT NULL,
name text
);
@@ -835,16 +946,148 @@
--
+-- Name: vcs_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
+--
+
+CREATE SEQUENCE vcs_id_seq
+ INCREMENT BY 1
+ NO MAXVALUE
+ NO MINVALUE
+ CACHE 1;
+
+
+ALTER TABLE public.vcs_id_seq OWNER TO svnbuildstat;
+
+--
+-- Name: vcs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: svnbuildstat
+--
+
+ALTER SEQUENCE vcs_id_seq OWNED BY vcs.id;
+
+
+--
-- Name: viewtobuild; Type: VIEW; Schema: public; Owner: svnbuildstat
--
CREATE VIEW viewtobuild AS
- SELECT changelogentry.id AS changelogentry_id, repositoryentry.i386, repositoryentry.powerpc, repositoryentry.sparc, repositoryentry.amd64 FROM ((changelogentry LEFT JOIN build ON ((changelogentry.id = build.changelogentry_id))) LEFT JOIN repositoryentry ON ((repositoryentry.id = changelogentry.repositoryentry_id))) WHERE (((repositoryentry.blacklisted = false) AND (repositoryentry.dscuri IS NOT NULL)) AND ((changelogentry.lastbuildstart IS NULL) OR (changelogentry.lastbuildstart < (now() - '03:00:00'::interval)))) ORDER BY (build.id IS NOT NULL), build."time", changelogentry.date;
+ SELECT repositoryentry.id, repositoryentry.i386, repositoryentry.powerpc, repositoryentry.sparc, repositoryentry.amd64, changelogentry.rev FROM ((repositoryentry LEFT JOIN build ON ((repositoryentry.id = build.repositoryentry_id))) LEFT JOIN changelogentry ON ((build.changelogentry_id = changelogentry.id))) WHERE (((repositoryentry.blacklisted = false) AND (repositoryentry.dscuri IS NOT NULL)) AND ((repositoryentry.lastbuildstart IS NULL) OR (repositoryentry.lastbuildstart < (now() - '03:00:00'::interval)))) ORDER BY (build.id IS NOT NULL), build."time";
ALTER TABLE public.viewtobuild OWNER TO svnbuildstat;
--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE binarypackage ALTER COLUMN id SET DEFAULT nextval('binarypackage_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE binarypackage_build ALTER COLUMN id SET DEFAULT nextval('binarypackage_build_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE changelogentry ALTER COLUMN id SET DEFAULT nextval('changelogentry_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qalog ALTER COLUMN id SET DEFAULT nextval('qalog_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qaresult ALTER COLUMN id SET DEFAULT nextval('qaresult_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qaresult_qatag ALTER COLUMN id SET DEFAULT nextval('qaresult_qatag_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qastatus ALTER COLUMN id SET DEFAULT nextval('qastatus_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qatag ALTER COLUMN id SET DEFAULT nextval('qatag_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qatool ALTER COLUMN id SET DEFAULT nextval('qatool_id_seq'::regclass);
+
+
+--
+-- Name: version; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qatool ALTER COLUMN version SET DEFAULT nextval('qatool_version_seq'::regclass);
+
+
+--
+-- Name: description; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE qatool ALTER COLUMN description SET DEFAULT nextval('qatool_description_seq'::regclass);
+
+
+--
+-- Name: vcs_id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE repository ALTER COLUMN vcs_id SET DEFAULT nextval('repository_vcs_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE sourcepackage ALTER COLUMN id SET DEFAULT nextval('sourcepackage_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE team ALTER COLUMN id SET DEFAULT nextval('team_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE userlogin ALTER COLUMN id SET DEFAULT nextval('userlogin_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE vcs ALTER COLUMN id SET DEFAULT nextval('vcs_id_seq'::regclass);
+
+
+--
-- Name: aliothlogin_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace:
--
@@ -1124,6 +1367,14 @@
--
+-- Name: build_repositoryentry_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
+--
+
+ALTER TABLE ONLY build
+ ADD CONSTRAINT build_repositoryentry_id_fkey FOREIGN KEY (repositoryentry_id) REFERENCES repositoryentry(id) ON DELETE CASCADE;
+
+
+--
-- Name: changelog_aliothlogin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
--
Modified: svnbuildstat/trunk/script/svnbuildstat_agent.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_agent.pl 2008-01-20 21:33:12 UTC (rev 666)
+++ svnbuildstat/trunk/script/svnbuildstat_agent.pl 2008-01-20 21:33:41 UTC (rev 667)
@@ -5,7 +5,6 @@
#use lib "/home/sites/svnbuildstat.debian.net/svnbuildstat/lib";
use Data::Dumper;
-use Net::FTP;
use File::Glob ':glob';
use Sys::Hostname;
#use SvnBuildStat::Config;
Modified: svnbuildstat/trunk/script/svnbuildstat_tarball.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_tarball.pl 2008-01-20 21:33:12 UTC (rev 666)
+++ svnbuildstat/trunk/script/svnbuildstat_tarball.pl 2008-01-20 21:33:41 UTC (rev 667)
@@ -34,12 +34,12 @@
my $tarball;
my $filename = mkTarballFromChangelogentry(\$changelogentry);
- if (-f $tarballdir.'/'.$filename) {
- $tarball = $schema->resultset('Tarball')->find_or_create({ name => $filename });
- $changelogentry->tarball_id($tarball->id);
- $changelogentry->update();
- next;
- }
+# if (-f $tarballdir.'/'.$filename) {
+# $tarball = $schema->resultset('Tarball')->find_or_create({ name => $filename });
+# $changelogentry->tarball_id($tarball->id);
+# $changelogentry->update();
+# next;
+# }
my $repositoryentry = $changelogentry->repositoryentry_id;
my $dataFromDebianFtp = getDataFromDebianFtp(\$changelogentry);
Modified: svnbuildstat/trunk/script/svnbuildstat_update-db.pl
===================================================================
--- svnbuildstat/trunk/script/svnbuildstat_update-db.pl 2008-01-20 21:33:12 UTC (rev 666)
+++ svnbuildstat/trunk/script/svnbuildstat_update-db.pl 2008-01-20 21:33:41 UTC (rev 667)
@@ -115,7 +115,6 @@
print $control->{packagesrc}."\n";
my $sourcepackage = $schema->resultset('Sourcepackage')->find_or_create({name => $control->{packagesrc}});
$$repositoryentry->sourcepackage_id($sourcepackage->id);
-# TODO
# $$repositoryentry->dscuri(undef);
# $$repositoryentry->realsvndebrelease($changelog->{realsvndebrelease});
# $$repositoryentry->svndebrelease ($changelog->{svndebrelease});
Modified: svnbuildstat/trunk/svnbuildstat.ini
===================================================================
--- svnbuildstat/trunk/svnbuildstat.ini 2008-01-20 21:33:12 UTC (rev 666)
+++ svnbuildstat/trunk/svnbuildstat.ini 2008-01-20 21:33:41 UTC (rev 667)
@@ -1,11 +1,12 @@
[db]
-dsn = DBI:Pg:database=svnbuildstat;host=127.0.0.1
-user = svnbuildstat
-password = zob
+dsn = DBI:Pg:database=svnbuildstat
+user =
+password =
[path]
-debmirror = http://ftp.debian.org
-repositorydir = /home/sites/nana.rulezlan.org/debian
-repositoryurl = http://nana.rulezlan.org/debian
-uploaddir = /home/sites/svnbuildstat.debian.net/svnbuildstat/uploads
-vcscache = /home/sites/svnbuildstat.debian.net/svnbuildstat/vcscache
+debmirror = http://ftp.fr.debian.org
+repositorydir = /home/goneri/public_html/debian
+repositoryurl = http://wawax.info/~goneri/debian
+uploaddir = /home/goneri/cache/svnbuildstat/uploads
+vcscache = /home/goneri/cache/vcscache
+tarball = /home/goneri/cache/tarball
More information about the Collab-qa-commits
mailing list