Changes to 'refs/tags/spacewalk-backend-1.8.65-1'
by Jan Pazdziora
Tag 'spacewalk-backend-1.8.65-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2012-09-07 12:21 +0000
Tagging package [spacewalk-backend] version [1.8.65-1] in directory [backend/].
Changes since spacewalk-utils-1.8.28-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-backend] release [1.8.65-1].
---
backend/spacewalk-backend.spec | 6 +++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
---
11 years, 8 months
backend/spacewalk-backend.spec rel-eng/packages
by Jan Pazdziora
backend/spacewalk-backend.spec | 6 +++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 55babc98558a91ec9164fa57c82e4e00716d8c5c
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Sep 7 14:21:14 2012 +0200
Automatic commit of package [spacewalk-backend] release [1.8.65-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 0c2dbfa..4d0a911 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -12,7 +12,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2
-Version: 1.8.64
+Version: 1.8.65
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -647,6 +647,10 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Fri Sep 07 2012 Jan Pazdziora 1.8.65-1
+- Adding file path restoration functionality to spacewalk-data-fsck
+- 815964 - moving monitoring probe batch option from rhn.conf to rhn_web.conf
+
* Fri Aug 31 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.64-1
- fixed pylint errors
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index c4341d3..fb59886 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.64-1 backend/
+1.8.65-1 backend/
11 years, 8 months
rel-eng/packages utils/spacewalk-utils.spec
by Jan Pazdziora
rel-eng/packages/spacewalk-utils | 2 +-
utils/spacewalk-utils.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 8448d3e699e8dbcbe19e5ff231e7de67f4d6ee7a
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Sep 7 14:20:57 2012 +0200
Automatic commit of package [spacewalk-utils] release [1.8.28-1].
diff --git a/rel-eng/packages/spacewalk-utils b/rel-eng/packages/spacewalk-utils
index 19fb78b..375ede6 100644
--- a/rel-eng/packages/spacewalk-utils
+++ b/rel-eng/packages/spacewalk-utils
@@ -1 +1 @@
-1.8.27-1 utils/
+1.8.28-1 utils/
diff --git a/utils/spacewalk-utils.spec b/utils/spacewalk-utils.spec
index f884113..358ab4f 100644
--- a/utils/spacewalk-utils.spec
+++ b/utils/spacewalk-utils.spec
@@ -1,7 +1,7 @@
%define rhnroot %{_prefix}/share/rhn
Name: spacewalk-utils
-Version: 1.8.27
+Version: 1.8.28
Release: 1%{?dist}
Summary: Utilities that may be run against a Spacewalk server.
@@ -86,6 +86,9 @@ spacewalk-pylint $RPM_BUILD_ROOT%{rhnroot}
%changelog
+* Fri Sep 07 2012 Jan Pazdziora 1.8.28-1
+- Format the timestamps as well.
+
* Fri Aug 31 2012 Jan Pazdziora 1.8.27-1
- 853025 - make sure the regular expressions actually match.
11 years, 8 months
Changes to 'refs/tags/spacewalk-utils-1.8.28-1'
by Jan Pazdziora
Tag 'spacewalk-utils-1.8.28-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2012-09-07 12:20 +0000
Tagging package [spacewalk-utils] version [1.8.28-1] in directory [utils/].
Changes since spacewalk-schema-1.8.73-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-utils] release [1.8.28-1].
---
rel-eng/packages/spacewalk-utils | 2 +-
utils/spacewalk-utils.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 8 months
Changes to 'refs/tags/spacewalk-schema-1.8.73-1'
by Jan Pazdziora
Tag 'spacewalk-schema-1.8.73-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2012-09-07 12:20 +0000
Tagging package [spacewalk-schema] version [1.8.73-1] in directory [schema/spacewalk/].
Changes since spacewalk-java-1.8.143-1:
Jan Pazdziora (4):
We need to recreate the index.
Make the rhnPackage.build_time timestamp (without time zone) on both databases.
Remove the postgres/tables/rhnPackage.sql, we now have the same columns.
Automatic commit of package [spacewalk-schema] release [1.8.73-1].
---
rel-eng/packages/spacewalk-schema | 2
schema/spacewalk/common/tables/rhnPackage.sql | 87 ++++++++++
schema/spacewalk/oracle/tables/rhnPackage.sql | 87 ----------
schema/spacewalk/postgres/tables/rhnPackage.sql | 81 ---------
schema/spacewalk/spacewalk-schema.spec | 12 +
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.oracle | 5
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.postgresql | 2
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.oracle | 30 +++
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.postgresql | 2
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.oracle | 1
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.postgresql | 7
11 files changed, 145 insertions(+), 171 deletions(-)
---
11 years, 8 months
rel-eng/packages schema/spacewalk
by Jan Pazdziora
rel-eng/packages/spacewalk-schema | 2 +-
schema/spacewalk/spacewalk-schema.spec | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
New commits:
commit 0c11c3c5de0706cd2147e5a542cd1c1c732de807
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Sep 7 14:20:39 2012 +0200
Automatic commit of package [spacewalk-schema] release [1.8.73-1].
diff --git a/rel-eng/packages/spacewalk-schema b/rel-eng/packages/spacewalk-schema
index b45a273..5293867 100644
--- a/rel-eng/packages/spacewalk-schema
+++ b/rel-eng/packages/spacewalk-schema
@@ -1 +1 @@
-1.8.72-1 schema/spacewalk/
+1.8.73-1 schema/spacewalk/
diff --git a/schema/spacewalk/spacewalk-schema.spec b/schema/spacewalk/spacewalk-schema.spec
index c8ebd4d..2c8a964 100644
--- a/schema/spacewalk/spacewalk-schema.spec
+++ b/schema/spacewalk/spacewalk-schema.spec
@@ -2,7 +2,7 @@ Name: spacewalk-schema
Group: Applications/Internet
Summary: Oracle SQL schema for Spacewalk server
-Version: 1.8.72
+Version: 1.8.73
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
@@ -68,6 +68,16 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/spacewalk-sql*
%changelog
+* Fri Sep 07 2012 Jan Pazdziora 1.8.73-1
+- Remove the postgres/tables/rhnPackage.sql, we now have the same columns.
+- Make the rhnPackage.build_time timestamp (without time zone) on both
+ databases.
+- We need to recreate the index.
+- 849018 - schema upgrade scripts for extending rhnPackageCapability.version.
+- 849018 - extending rhnPackageCapability.version.
+- 854686 - Fixing the rhn_command.command_class default.
+- Make the into variable match the data type of the table column.
+
* Mon Sep 03 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.72-1
- oracle's sql parser doesn't like comments after semicolon
11 years, 8 months
2 commits - schema/spacewalk
by Jan Pazdziora
schema/spacewalk/common/tables/rhnPackage.sql | 87 ++++++++++
schema/spacewalk/oracle/tables/rhnPackage.sql | 87 ----------
schema/spacewalk/postgres/tables/rhnPackage.sql | 81 ---------
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.oracle | 30 +++
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.postgresql | 2
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.oracle | 1
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.postgresql | 7
7 files changed, 127 insertions(+), 168 deletions(-)
New commits:
commit b4a5bc26f2363ba242157c16cb2b08b9ab7717f8
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Sep 7 13:21:48 2012 +0200
Remove the postgres/tables/rhnPackage.sql, we now have the same columns.
diff --git a/schema/spacewalk/common/tables/rhnPackage.sql b/schema/spacewalk/common/tables/rhnPackage.sql
new file mode 100644
index 0000000..fa1b3fd
--- /dev/null
+++ b/schema/spacewalk/common/tables/rhnPackage.sql
@@ -0,0 +1,87 @@
+--
+-- Copyright (c) 2008--2012 Red Hat, Inc.
+--
+-- This software is licensed to you under the GNU General Public License,
+-- version 2 (GPLv2). There is NO WARRANTY for this software, express or
+-- implied, including the implied warranties of MERCHANTABILITY or FITNESS
+-- FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
+-- along with this software; if not, see
+-- http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
+--
+-- Red Hat trademarks are not licensed under GPLv2. No permission is
+-- granted to use or replicate Red Hat trademarks that are incorporated
+-- in this software or its documentation.
+--
+
+
+CREATE TABLE rhnPackage
+(
+ id NUMBER NOT NULL
+ CONSTRAINT rhn_package_id_pk PRIMARY KEY
+ USING INDEX TABLESPACE [[4m_tbs]],
+ org_id NUMBER
+ CONSTRAINT rhn_package_oid_fk
+ REFERENCES web_customer (id)
+ ON DELETE CASCADE,
+ name_id NUMBER NOT NULL
+ CONSTRAINT rhn_package_nid_fk
+ REFERENCES rhnPackageName (id),
+ evr_id NUMBER NOT NULL
+ CONSTRAINT rhn_package_eid_fk
+ REFERENCES rhnPackageEvr (id),
+ package_arch_id NUMBER NOT NULL
+ CONSTRAINT rhn_package_paid_fk
+ REFERENCES rhnPackageArch (id),
+ package_group NUMBER
+ CONSTRAINT rhn_package_group_fk
+ REFERENCES rhnPackageGroup (id),
+ rpm_version VARCHAR2(16),
+ description VARCHAR2(4000),
+ summary VARCHAR2(4000),
+ package_size NUMBER NOT NULL,
+ payload_size NUMBER,
+ installed_size NUMBER,
+ build_host VARCHAR2(256),
+ build_time timestamp,
+ source_rpm_id NUMBER
+ CONSTRAINT rhn_package_srcrpmid_fk
+ REFERENCES rhnSourceRPM (id),
+ checksum_id NUMBER NOT NULL
+ CONSTRAINT rhn_package_chsum_fk
+ REFERENCES rhnChecksum (id),
+ vendor VARCHAR2(64) NOT NULL,
+ payload_format VARCHAR2(32),
+ compat NUMBER(1)
+ DEFAULT (0)
+ CONSTRAINT rhn_package_compat_check
+ CHECK (compat in ( 1 , 0 )),
+ path VARCHAR2(1000),
+ header_sig VARCHAR2(64),
+ copyright VARCHAR2(128),
+ cookie VARCHAR2(128),
+ last_modified DATE
+ DEFAULT (sysdate) NOT NULL,
+ created DATE
+ DEFAULT (sysdate) NOT NULL,
+ modified DATE
+ DEFAULT (sysdate) NOT NULL,
+ header_start NUMBER
+ DEFAULT (-1) NOT NULL,
+ header_end NUMBER
+ DEFAULT (-1) NOT NULL
+)
+ENABLE ROW MOVEMENT
+;
+
+CREATE INDEX rhn_package_oid_id_idx
+ ON rhnPackage (org_id, id)
+ TABLESPACE [[64k_tbs]]
+ NOLOGGING;
+
+CREATE INDEX rhn_package_nid_id_idx
+ ON rhnPackage (name_id, id)
+ TABLESPACE [[2m_tbs]]
+ NOLOGGING;
+
+CREATE SEQUENCE rhn_package_id_seq;
+
diff --git a/schema/spacewalk/oracle/tables/rhnPackage.sql b/schema/spacewalk/oracle/tables/rhnPackage.sql
deleted file mode 100644
index fa1b3fd..0000000
--- a/schema/spacewalk/oracle/tables/rhnPackage.sql
+++ /dev/null
@@ -1,87 +0,0 @@
---
--- Copyright (c) 2008--2012 Red Hat, Inc.
---
--- This software is licensed to you under the GNU General Public License,
--- version 2 (GPLv2). There is NO WARRANTY for this software, express or
--- implied, including the implied warranties of MERCHANTABILITY or FITNESS
--- FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
--- along with this software; if not, see
--- http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
---
--- Red Hat trademarks are not licensed under GPLv2. No permission is
--- granted to use or replicate Red Hat trademarks that are incorporated
--- in this software or its documentation.
---
-
-
-CREATE TABLE rhnPackage
-(
- id NUMBER NOT NULL
- CONSTRAINT rhn_package_id_pk PRIMARY KEY
- USING INDEX TABLESPACE [[4m_tbs]],
- org_id NUMBER
- CONSTRAINT rhn_package_oid_fk
- REFERENCES web_customer (id)
- ON DELETE CASCADE,
- name_id NUMBER NOT NULL
- CONSTRAINT rhn_package_nid_fk
- REFERENCES rhnPackageName (id),
- evr_id NUMBER NOT NULL
- CONSTRAINT rhn_package_eid_fk
- REFERENCES rhnPackageEvr (id),
- package_arch_id NUMBER NOT NULL
- CONSTRAINT rhn_package_paid_fk
- REFERENCES rhnPackageArch (id),
- package_group NUMBER
- CONSTRAINT rhn_package_group_fk
- REFERENCES rhnPackageGroup (id),
- rpm_version VARCHAR2(16),
- description VARCHAR2(4000),
- summary VARCHAR2(4000),
- package_size NUMBER NOT NULL,
- payload_size NUMBER,
- installed_size NUMBER,
- build_host VARCHAR2(256),
- build_time timestamp,
- source_rpm_id NUMBER
- CONSTRAINT rhn_package_srcrpmid_fk
- REFERENCES rhnSourceRPM (id),
- checksum_id NUMBER NOT NULL
- CONSTRAINT rhn_package_chsum_fk
- REFERENCES rhnChecksum (id),
- vendor VARCHAR2(64) NOT NULL,
- payload_format VARCHAR2(32),
- compat NUMBER(1)
- DEFAULT (0)
- CONSTRAINT rhn_package_compat_check
- CHECK (compat in ( 1 , 0 )),
- path VARCHAR2(1000),
- header_sig VARCHAR2(64),
- copyright VARCHAR2(128),
- cookie VARCHAR2(128),
- last_modified DATE
- DEFAULT (sysdate) NOT NULL,
- created DATE
- DEFAULT (sysdate) NOT NULL,
- modified DATE
- DEFAULT (sysdate) NOT NULL,
- header_start NUMBER
- DEFAULT (-1) NOT NULL,
- header_end NUMBER
- DEFAULT (-1) NOT NULL
-)
-ENABLE ROW MOVEMENT
-;
-
-CREATE INDEX rhn_package_oid_id_idx
- ON rhnPackage (org_id, id)
- TABLESPACE [[64k_tbs]]
- NOLOGGING;
-
-CREATE INDEX rhn_package_nid_id_idx
- ON rhnPackage (name_id, id)
- TABLESPACE [[2m_tbs]]
- NOLOGGING;
-
-CREATE SEQUENCE rhn_package_id_seq;
-
diff --git a/schema/spacewalk/postgres/tables/rhnPackage.sql b/schema/spacewalk/postgres/tables/rhnPackage.sql
deleted file mode 100644
index 03d31d3..0000000
--- a/schema/spacewalk/postgres/tables/rhnPackage.sql
+++ /dev/null
@@ -1,81 +0,0 @@
--- oracle equivalent source sha1 ac7c0bee7e76f6823a9208a8ce3b674efb0f99d7
---
--- Copyright (c) 2008--2010 Red Hat, Inc.
---
--- This software is licensed to you under the GNU General Public License,
--- version 2 (GPLv2). There is NO WARRANTY for this software, express or
--- implied, including the implied warranties of MERCHANTABILITY or FITNESS
--- FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
--- along with this software; if not, see
--- http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
---
--- Red Hat trademarks are not licensed under GPLv2. No permission is
--- granted to use or replicate Red Hat trademarks that are incorporated
--- in this software or its documentation.
---
-
-CREATE TABLE rhnPackage
-(
- id NUMERIC
- CONSTRAINT rhn_package_id_pk PRIMARY KEY,
- org_id NUMERIC
- CONSTRAINT rhn_package_oid_fk
- REFERENCES web_customer (id)
- ON DELETE CASCADE,
- name_id NUMERIC NOT NULL
- CONSTRAINT rhn_package_nid_fk
- REFERENCES rhnPackageName (id),
- evr_id NUMERIC NOT NULL
- CONSTRAINT rhn_package_eid_fk
- REFERENCES rhnPackageEvr (id),
- package_arch_id NUMERIC NOT NULL
- CONSTRAINT rhn_package_paid_fk
- REFERENCES rhnPackageArch (id),
- package_group NUMERIC
- CONSTRAINT rhn_package_group_fk
- REFERENCES rhnPackageGroup (id),
- rpm_version VARCHAR(16),
- description VARCHAR(4000),
- summary VARCHAR(4000),
- package_size NUMERIC NOT NULL,
- payload_size NUMERIC,
- installed_size NUMERIC,
- build_host VARCHAR(256),
- build_time TIMESTAMP WITHOUT TIME ZONE,
- source_rpm_id NUMERIC
- CONSTRAINT rhn_package_srcrpmid_fk
- REFERENCES rhnSourceRPM (id),
- checksum_id NUMERIC NOT NULL
- CONSTRAINT rhn_package_chsum_fk
- REFERENCES rhnChecksum (id),
- vendor VARCHAR(64) NOT NULL,
- payload_format VARCHAR(32),
- compat SMALLINT
- DEFAULT (0)
- CONSTRAINT rhn_package_compat_check
- CHECK (compat in ( 1 , 0 )),
- path VARCHAR(1000),
- header_sig VARCHAR(64),
- copyright VARCHAR(128),
- cookie VARCHAR(128),
- last_modified TIMESTAMPTZ
- DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
- created TIMESTAMPTZ
- DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
- modified TIMESTAMPTZ
- DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
- header_start NUMERIC
- DEFAULT (-1) NOT NULL,
- header_end NUMERIC
- DEFAULT (-1) NOT NULL
-)
-;
-
-CREATE INDEX rhn_package_oid_id_idx
- ON rhnPackage (org_id, id);
-
-CREATE INDEX rhn_package_nid_id_idx
- ON rhnPackage (name_id, id);
-
-CREATE SEQUENCE rhn_package_id_seq;
-
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.oracle b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.oracle
new file mode 100644
index 0000000..b7b00b1
--- /dev/null
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.oracle
@@ -0,0 +1 @@
+-- This file is intentionally left empty.
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.postgresql b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.postgresql
new file mode 100644
index 0000000..07cccb2
--- /dev/null
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/131-rhnPackage-common.sql.postgresql
@@ -0,0 +1,7 @@
+-- oracle equivalent source sha1 b14267384bc104605623a41b755e68e0103b5aa8
+
+alter table rhnpackage alter compat type numeric(1) ;
+
+alter table rhnpackage drop constraint rhn_package_compat_check;
+alter table rhnpackage add constraint rhn_package_compat_check CHECK (compat in ( 1 , 0 ));
+
commit 9b49eff1c218d6ca0fb78c95197f58b54339a1d5
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Sep 7 13:20:18 2012 +0200
Make the rhnPackage.build_time timestamp (without time zone) on both databases.
diff --git a/schema/spacewalk/oracle/tables/rhnPackage.sql b/schema/spacewalk/oracle/tables/rhnPackage.sql
index 5f605ec..fa1b3fd 100644
--- a/schema/spacewalk/oracle/tables/rhnPackage.sql
+++ b/schema/spacewalk/oracle/tables/rhnPackage.sql
@@ -1,5 +1,5 @@
--
--- Copyright (c) 2008--2010 Red Hat, Inc.
+-- Copyright (c) 2008--2012 Red Hat, Inc.
--
-- This software is licensed to you under the GNU General Public License,
-- version 2 (GPLv2). There is NO WARRANTY for this software, express or
@@ -42,7 +42,7 @@ CREATE TABLE rhnPackage
payload_size NUMBER,
installed_size NUMBER,
build_host VARCHAR2(256),
- build_time DATE,
+ build_time timestamp,
source_rpm_id NUMBER
CONSTRAINT rhn_package_srcrpmid_fk
REFERENCES rhnSourceRPM (id),
diff --git a/schema/spacewalk/postgres/tables/rhnPackage.sql b/schema/spacewalk/postgres/tables/rhnPackage.sql
index 0bcc914..03d31d3 100644
--- a/schema/spacewalk/postgres/tables/rhnPackage.sql
+++ b/schema/spacewalk/postgres/tables/rhnPackage.sql
@@ -1,4 +1,4 @@
--- oracle equivalent source sha1 198e4f2c8e26ecf4e6dc1b1118915d5b3163ab3f
+-- oracle equivalent source sha1 ac7c0bee7e76f6823a9208a8ce3b674efb0f99d7
--
-- Copyright (c) 2008--2010 Red Hat, Inc.
--
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.oracle b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.oracle
new file mode 100644
index 0000000..4ae4166
--- /dev/null
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.oracle
@@ -0,0 +1,30 @@
+
+begin
+ for rec in (
+ select trigger_name
+ from user_triggers
+ where table_name = 'RHNPACKAGE'
+ ) loop
+ execute immediate 'alter trigger ' || rec.trigger_name || ' disable';
+ end loop;
+end;
+/
+
+alter table rhnPackage add orig_date date;
+update rhnPackage set orig_date = build_time;
+update rhnPackage set build_time = null;
+alter table rhnPackage modify build_time timestamp;
+update rhnPackage set build_time = orig_date;
+alter table rhnPackage drop column orig_date;
+
+begin
+ for rec in (
+ select trigger_name
+ from user_triggers
+ where table_name = 'RHNPACKAGE'
+ ) loop
+ execute immediate 'alter trigger ' || rec.trigger_name || ' enable';
+ end loop;
+end;
+/
+
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.postgresql b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.postgresql
new file mode 100644
index 0000000..bea95a1
--- /dev/null
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/130-rhnPackage-build_time.sql.postgresql
@@ -0,0 +1,2 @@
+-- oracle equivalent source sha1 040fd923e5d8b4568372d4e19b3d2f28fb3f56b1
+-- This file is intentionally left empty.
11 years, 8 months
schema/spacewalk
by Jan Pazdziora
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.oracle | 5 +++++
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.postgresql | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 2ed9809ff0914a0f409d680f75f700634f7a4d59
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Sep 7 13:41:43 2012 +0200
We need to recreate the index.
Addressing
alter table rhnPackageCapability modify version varchar2(512)
*
ERROR at line 1:
ORA-01404: ALTER COLUMN will make an index too large
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.oracle b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.oracle
index dc5569b..1fabe97 100644
--- a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.oracle
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.oracle
@@ -1,3 +1,8 @@
+drop index rhn_pkg_cap_name_version_uq;
+
alter table rhnPackageCapability modify version varchar2(512) ;
+CREATE UNIQUE INDEX rhn_pkg_cap_name_version_uq
+ ON rhnPackageCapability (name, version);
+
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.postgresql b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.postgresql
index d54cbb7..1a8473a 100644
--- a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.postgresql
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/127-rhnPackageCapability-version.sql.postgresql
@@ -1,4 +1,4 @@
--- oracle equivalent source sha1 2ec08603934e79457fb7fe1a0a6075f4331363ba
+-- oracle equivalent source sha1 45038e4725945641a777666cdae258c004b36599
alter table rhnPackageCapability alter version type varchar(512) ;
11 years, 8 months
Changes to 'refs/tags/spacewalk-java-1.8.143-1'
by Tomas Lestach
Tag 'spacewalk-java-1.8.143-1' created by Tomas Lestach <tlestach(a)redhat.com> at 2012-09-07 09:00 +0000
Tagging package [spacewalk-java] version [1.8.143-1] in directory [java/].
Changes since spacewalk-web-1.8.35-1:
Tomas Lestach (2):
checkstyle fix
Automatic commit of package [spacewalk-java] release [1.8.143-1].
---
java/code/src/com/redhat/rhn/testing/TestUtils.java | 3 ++-
java/spacewalk-java.spec | 5 ++++-
rel-eng/packages/spacewalk-java | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
---
11 years, 8 months
2 commits - java/code java/spacewalk-java.spec rel-eng/packages
by Tomas Lestach
java/code/src/com/redhat/rhn/testing/TestUtils.java | 3 ++-
java/spacewalk-java.spec | 5 ++++-
rel-eng/packages/spacewalk-java | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
New commits:
commit 5f13fa265a5fc27337b1e6a5ae4e72c8bfedd571
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Fri Sep 7 11:00:22 2012 +0200
Automatic commit of package [spacewalk-java] release [1.8.143-1].
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index 8afed7e..e90c845 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -23,7 +23,7 @@ Name: spacewalk-java
Summary: Spacewalk Java site packages
Group: Applications/Internet
License: GPLv2
-Version: 1.8.142
+Version: 1.8.143
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -616,6 +616,9 @@ fi
%{jardir}/postgresql-jdbc.jar
%changelog
+* Fri Sep 07 2012 Tomas Lestach <tlestach(a)redhat.com> 1.8.143-1
+- checkstyle fix
+
* Fri Sep 07 2012 Tomas Lestach <tlestach(a)redhat.com> 1.8.142-1
- changing web.login_banner -> java.login_banner
- changing web.custom_footer -> java.custom_footer
diff --git a/rel-eng/packages/spacewalk-java b/rel-eng/packages/spacewalk-java
index 8ec9590..be13950 100644
--- a/rel-eng/packages/spacewalk-java
+++ b/rel-eng/packages/spacewalk-java
@@ -1 +1 @@
-1.8.142-1 java/
+1.8.143-1 java/
commit 89bb4ecf96ac3bf015f69fb9db116b683ad5d11c
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Fri Sep 7 10:59:35 2012 +0200
checkstyle fix
addressing:
./code/src/com/redhat/rhn/testing/TestUtils.java:400: Line is longer than 92 characters
diff --git a/java/code/src/com/redhat/rhn/testing/TestUtils.java b/java/code/src/com/redhat/rhn/testing/TestUtils.java
index cb625fa..40051d6 100644
--- a/java/code/src/com/redhat/rhn/testing/TestUtils.java
+++ b/java/code/src/com/redhat/rhn/testing/TestUtils.java
@@ -397,7 +397,8 @@ public class TestUtils {
IllegalArgumentException("java.l10n_debug is set to false. " +
"This test doesnt mean anything if its set to false. ");
}
- return (checkMe.startsWith(Config.get().getString("java.l10n_debug_marker", "$$$")));
+ return (checkMe.startsWith(
+ Config.get().getString("java.l10n_debug_marker", "$$$")));
}
/**
11 years, 8 months