rel-eng/packages schema/spacewalk
by Tomáš Kašpárek
rel-eng/packages/spacewalk-schema | 2 +-
schema/spacewalk/spacewalk-schema.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 0b2508da3a6206209909cead656bb77037dee6c8
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Feb 20 16:37:33 2013 +0100
Automatic commit of package [spacewalk-schema] release [1.9.31-1].
diff --git a/rel-eng/packages/spacewalk-schema b/rel-eng/packages/spacewalk-schema
index 248dde2..15fd11b 100644
--- a/rel-eng/packages/spacewalk-schema
+++ b/rel-eng/packages/spacewalk-schema
@@ -1 +1 @@
-1.9.30-1 schema/spacewalk/
+1.9.31-1 schema/spacewalk/
diff --git a/schema/spacewalk/spacewalk-schema.spec b/schema/spacewalk/spacewalk-schema.spec
index 2098cdd..c2f0c00 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.9.30
+Version: 1.9.31
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
@@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/spacewalk-sql*
%changelog
+* Wed Feb 20 2013 Tomas Kasparek <tkasparek(a)redhat.com> 1.9.31-1
+- Fixing typo
+
* Wed Feb 20 2013 Tomas Kasparek <tkasparek(a)redhat.com> 1.9.30-1
- Fixing sha1 of oracle equivavalents so packages can be built
11 years, 3 months
schema/spacewalk
by Tomáš Kašpárek
schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8e2dc3a3bbeb2f090f213903edb71b297f69016d
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Feb 20 16:36:18 2013 +0100
Fixing typo
diff --git a/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql b/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql
index f74757f..15ddedc 100644
--- a/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql
+++ b/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql
@@ -1,4 +1,4 @@
--- oracle equivalent source sha185b76b18e46469c02356970e4ea513f91658d73a
+-- oracle equivalent source sha1 85b76b18e46469c02356970e4ea513f91658d73a
-- function index for rhnServerNetInterface
CREATE UNIQUE INDEX rhn_srv_net_iface_prim_iface
11 years, 3 months
Changes to 'refs/tags/spacewalk-schema-1.9.30-1'
by Tomáš Kašpárek
Tag 'spacewalk-schema-1.9.30-1' created by Tomas Kasparek <tkasparek(a)redhat.com> at 2013-02-20 15:26 +0000
Tagging package [spacewalk-schema] version [1.9.30-1] in directory [schema/spacewalk/].
Changes since spacewalk-proxy-1.9.7-1:
Tomas Kasparek (3):
aa
Fixing sha1 of oracle equivavalents so packages can be built
Automatic commit of package [spacewalk-schema] release [1.9.30-1].
---
java/code/src/com/redhat/rhn/domain/server/Server.java | 11 ++++
java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java | 27 ++++++++++
rel-eng/packages/spacewalk-schema | 2
schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql | 1
schema/spacewalk/spacewalk-schema.spec | 5 +
schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql | 2
6 files changed, 46 insertions(+), 2 deletions(-)
---
11 years, 3 months
rel-eng/packages schema/spacewalk
by Tomáš Kašpárek
rel-eng/packages/spacewalk-schema | 2 +-
schema/spacewalk/spacewalk-schema.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 2be36cb4838dbc854e4007bc5326def2e2df694d
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Feb 20 16:26:21 2013 +0100
Automatic commit of package [spacewalk-schema] release [1.9.30-1].
diff --git a/rel-eng/packages/spacewalk-schema b/rel-eng/packages/spacewalk-schema
index 8b1bea0..248dde2 100644
--- a/rel-eng/packages/spacewalk-schema
+++ b/rel-eng/packages/spacewalk-schema
@@ -1 +1 @@
-1.9.29-1 schema/spacewalk/
+1.9.30-1 schema/spacewalk/
diff --git a/schema/spacewalk/spacewalk-schema.spec b/schema/spacewalk/spacewalk-schema.spec
index d808bca..2098cdd 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.9.29
+Version: 1.9.30
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
@@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/spacewalk-sql*
%changelog
+* Wed Feb 20 2013 Tomas Kasparek <tkasparek(a)redhat.com> 1.9.30-1
+- Fixing sha1 of oracle equivavalents so packages can be built
+
* Wed Feb 20 2013 Tomas Kasparek <tkasparek(a)redhat.com> 1.9.29-1
- Renaming conflicting files, fixing glitch in schema upgrade
- Schema changes for setting primary network interface
11 years, 3 months
2 commits - java/code schema/spacewalk
by Tomáš Kašpárek
java/code/src/com/redhat/rhn/domain/server/Server.java | 11 ++++
java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java | 27 ++++++++++
schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql | 1
schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql | 2
4 files changed, 41 insertions(+)
New commits:
commit f2638726ff72fed0e63d81c31132977d15e7f553
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Feb 20 16:22:04 2013 +0100
Fixing sha1 of oracle equivavalents so packages can be built
diff --git a/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql b/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql
index 85d86e6..f74757f 100644
--- a/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql
+++ b/schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql
@@ -1,3 +1,4 @@
+-- oracle equivalent source sha185b76b18e46469c02356970e4ea513f91658d73a
-- function index for rhnServerNetInterface
CREATE UNIQUE INDEX rhn_srv_net_iface_prim_iface
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql b/schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql
index 30872b0..630e1fd 100644
--- a/schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql
+++ b/schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql
@@ -1,3 +1,5 @@
+-- oracle equivalent source sha1 4e2847469a40fce977edb5b8e183c0a2f78a7db1
+
ALTER TABLE rhnServerNetInterface ADD COLUMN is_primary VARCHAR(1);
CREATE UNIQUE INDEX rhn_srv_net_iface_prim_iface
commit 78433a6bcf80fe5bb20c1c09c97da7e73c931523
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Feb 20 15:56:29 2013 +0100
aa
diff --git a/java/code/src/com/redhat/rhn/domain/server/Server.java b/java/code/src/com/redhat/rhn/domain/server/Server.java
index 6e00f8f..a502fa0 100644
--- a/java/code/src/com/redhat/rhn/domain/server/Server.java
+++ b/java/code/src/com/redhat/rhn/domain/server/Server.java
@@ -1959,4 +1959,15 @@ public class Server extends BaseDomainHelper implements Identifiable {
}
return active;
}
+
+ /**
+ * For API purposes
+ *
+ * @return Returns true if yes, otherwise no
+ */
+ public Boolean existsActiveInterfaceWithName(String interfaceName) {
+ return (findActiveIfaceWithName(interfaceName, false) != null ?
+ true : false);
+
+ }
}
diff --git a/java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java b/java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java
index 4ebd5ec..2a75626 100644
--- a/java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java
+++ b/java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java
@@ -5303,4 +5303,31 @@ public class SystemHandler extends BaseHandler {
return returnList;
}
+
+ /**
+ *
+ * @param sessionKey Session key
+ * @param serverId Server ID
+ * @param interfaceName Interface name
+ * @return 1 if success, exception thrown otherwise
+ * @throws Exception If interface does not exist Exception is thrown
+ *
+ * @xmlrpc.doc Sets new primary network interface
+ * @xmlrpc.param #param("string", "sessionKey")
+ * @xmlrpc.param #param("int", "serverId")
+ * @xmlrpc.param #param("string", "interfaceName")
+ * @xmlrpc.returntype #return_int_success()
+ */
+ public int setPrimaryInterface(String sessionKey, Integer serverId,
+ String interfaceName) throws Exception {
+ User loggedInUser = getLoggedInUser(sessionKey);
+ Server server = lookupServer(loggedInUser, serverId);
+
+ if (!server.existsActiveInterfaceWithName(interfaceName)) {
+ throw new Exception("No such network interface: " +
+ interfaceName);
+ }
+ server.setPrimaryInterfaceWithName(interfaceName);
+ return 1;
+ }
}
11 years, 3 months
Changes to 'refs/tags/spacewalk-proxy-1.9.7-1'
by Michael Mraka
Tag 'spacewalk-proxy-1.9.7-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-02-20 15:18 +0000
Tagging package [spacewalk-proxy] version [1.9.7-1] in directory [proxy/proxy/].
Changes since spacewalk-schema-1.9.29-1:
Michael Mraka (2):
fixed permission on /var/log/rhn
Automatic commit of package [spacewalk-proxy] release [1.9.7-1].
---
proxy/proxy/spacewalk-proxy.spec | 7 +++++--
rel-eng/packages/spacewalk-proxy | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
11 years, 3 months
2 commits - proxy/proxy rel-eng/packages
by Michael Mraka
proxy/proxy/spacewalk-proxy.spec | 7 +++++--
rel-eng/packages/spacewalk-proxy | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit c149eec692c57bbceb5ec6bd309c5523efa522fa
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Feb 20 16:18:07 2013 +0100
Automatic commit of package [spacewalk-proxy] release [1.9.7-1].
diff --git a/proxy/proxy/spacewalk-proxy.spec b/proxy/proxy/spacewalk-proxy.spec
index f043353..7af119a 100644
--- a/proxy/proxy/spacewalk-proxy.spec
+++ b/proxy/proxy/spacewalk-proxy.spec
@@ -4,7 +4,7 @@ Group: Applications/Internet
License: GPLv2
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 1.9.6
+Version: 1.9.7
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
@@ -330,6 +330,9 @@ fi
%changelog
+* Wed Feb 20 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.9.7-1
+- fixed permission on /var/log/rhn
+
* Wed Feb 13 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.9.6-1
- fixing pylint warnings
diff --git a/rel-eng/packages/spacewalk-proxy b/rel-eng/packages/spacewalk-proxy
index c949dd6..3134ec4 100644
--- a/rel-eng/packages/spacewalk-proxy
+++ b/rel-eng/packages/spacewalk-proxy
@@ -1 +1 @@
-1.9.6-1 proxy/proxy/
+1.9.7-1 proxy/proxy/
commit 705f7817200cdb806aa617d8e24f6919cdca3c80
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Feb 20 16:01:12 2013 +0100
fixed permission on /var/log/rhn
fixing yum install on Fedora 18:
Transaction Check Error:
file /var/log/rhn conflicts between attempted installs of spacewalk-proxy-redirect-1.9.6-1.fc18.noarch and spacewalk-proxy-broker-1.9.6-1.fc18.noarch
diff --git a/proxy/proxy/spacewalk-proxy.spec b/proxy/proxy/spacewalk-proxy.spec
index 06d8bf5..f043353 100644
--- a/proxy/proxy/spacewalk-proxy.spec
+++ b/proxy/proxy/spacewalk-proxy.spec
@@ -274,7 +274,7 @@ fi
%dir %{destdir}
%{destdir}/redirect/__init__.py*
%{destdir}/redirect/rhnRedirect.py*
-%attr(775,root,apache) %dir %{_var}/log/rhn
+%attr(770,root,apache) %dir %{_var}/log/rhn
%config(noreplace) %{_sysconfdir}/logrotate.d/rhn-proxy-redirect
# config files
%attr(644,root,apache) %{_prefix}/share/rhn/config-defaults/rhn_proxy_redirect.conf
11 years, 3 months
Changes to 'refs/tags/spacewalk-schema-1.9.29-1'
by Tomáš Kašpárek
Tag 'spacewalk-schema-1.9.29-1' created by Tomas Kasparek <tkasparek(a)redhat.com> at 2013-02-20 14:47 +0000
Tagging package [spacewalk-schema] version [1.9.29-1] in directory [schema/spacewalk/].
Changes since spacewalk-java-1.9.69-1:
Tomas Kasparek (1):
Automatic commit of package [spacewalk-schema] release [1.9.29-1].
---
rel-eng/packages/spacewalk-schema | 2 +-
schema/spacewalk/spacewalk-schema.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
11 years, 3 months
rel-eng/packages schema/spacewalk
by Tomáš Kašpárek
rel-eng/packages/spacewalk-schema | 2 +-
schema/spacewalk/spacewalk-schema.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 90c1ae6c4f617f321689111c75ee58faa9daef02
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Wed Feb 20 15:47:46 2013 +0100
Automatic commit of package [spacewalk-schema] release [1.9.29-1].
diff --git a/rel-eng/packages/spacewalk-schema b/rel-eng/packages/spacewalk-schema
index d31a88a..8b1bea0 100644
--- a/rel-eng/packages/spacewalk-schema
+++ b/rel-eng/packages/spacewalk-schema
@@ -1 +1 @@
-1.9.28-1 schema/spacewalk/
+1.9.29-1 schema/spacewalk/
diff --git a/schema/spacewalk/spacewalk-schema.spec b/schema/spacewalk/spacewalk-schema.spec
index 7d06453..d808bca 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.9.28
+Version: 1.9.29
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
@@ -69,6 +69,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/spacewalk-sql*
%changelog
+* Wed Feb 20 2013 Tomas Kasparek <tkasparek(a)redhat.com> 1.9.29-1
+- Renaming conflicting files, fixing glitch in schema upgrade
+- Schema changes for setting primary network interface
+
* Wed Feb 20 2013 Jan Pazdziora 1.9.28-1
- The sequence rhn_abrt_info_id_seq is also no longer used.
11 years, 3 months
Changes to 'refs/tags/spacewalk-java-1.9.69-1'
by Tomáš Kašpárek
Tag 'spacewalk-java-1.9.69-1' created by Tomas Kasparek <tkasparek(a)redhat.com> at 2013-02-20 14:44 +0000
Tagging package [spacewalk-java] version [1.9.69-1] in directory [java/].
Changes since spacewalk-web-1.9.18-1:
Tomas Kasparek (4):
Java code for setting primary network interface
Schema changes for setting primary network interface
Renaming conflicting files, fixing glitch in schema upgrade
Automatic commit of package [spacewalk-java] release [1.9.69-1].
---
java/code/src/com/redhat/rhn/domain/server/NetworkInterface.hbm.xml | 1
java/code/src/com/redhat/rhn/domain/server/NetworkInterface.java | 32 ++++
java/code/src/com/redhat/rhn/domain/server/Server.java | 69 +++++++++-
java/code/src/com/redhat/rhn/frontend/action/systems/sdc/SystemHardwareAction.java | 45 +++++-
java/code/src/com/redhat/rhn/frontend/strings/java/StringResource_en_US.xml | 6
java/code/webapp/WEB-INF/pages/systems/sdc/hardware.jsp | 23 +++
java/code/webapp/WEB-INF/struts-config.xml | 1
java/spacewalk-java.spec | 5
rel-eng/packages/spacewalk-java | 2
schema/spacewalk/common/tables/rhnServerNetInterface.sql | 5
schema/spacewalk/oracle/tables/rhnServerNetInterface_index.sql | 5
schema/spacewalk/postgres/tables/rhnServerNetInterface_index.sql | 5
schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.oracle | 5
schema/spacewalk/upgrade/spacewalk-schema-1.8-to-spacewalk-schema-1.9/022-rhnServerNetInterface.sql.postgresql | 5
14 files changed, 196 insertions(+), 13 deletions(-)
---
11 years, 3 months