Changes to 'refs/tags/spacewalk-proxy-1.2.11-1'
by Jan Pazdziora
Tag 'spacewalk-proxy-1.2.11-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2010-10-29 06:40 +0000
Tagging package [spacewalk-proxy] version [1.2.11-1] in directory [proxy/proxy/].
Changes since spacewalk-backend-1.2.44-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-proxy] release [1.2.11-1].
---
proxy/proxy/spacewalk-proxy.spec | 5 ++++-
rel-eng/packages/spacewalk-proxy | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
13 years, 5 months
proxy/proxy rel-eng/packages
by Jan Pazdziora
proxy/proxy/spacewalk-proxy.spec | 5 ++++-
rel-eng/packages/spacewalk-proxy | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 74d1ec131e0c9880679c2c657d98043ef82fff3e
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Oct 29 08:40:15 2010 +0200
Automatic commit of package [spacewalk-proxy] release [1.2.11-1].
diff --git a/proxy/proxy/spacewalk-proxy.spec b/proxy/proxy/spacewalk-proxy.spec
index c77055a..3339ca4 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.2.10
+Version: 1.2.11
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
@@ -328,6 +328,9 @@ fi
%changelog
+* Fri Oct 29 2010 Jan Pazdziora 1.2.11-1
+- removed unused class rhnPackageManagerException (michael.mraka(a)redhat.com)
+
* Thu Oct 21 2010 Miroslav Suchý <msuchy(a)redhat.com> 1.2.10-1
- 612581 - spacewalk-backend modules has been migrated to spacewalk namespace
diff --git a/rel-eng/packages/spacewalk-proxy b/rel-eng/packages/spacewalk-proxy
index 13c105a..dc4d666 100644
--- a/rel-eng/packages/spacewalk-proxy
+++ b/rel-eng/packages/spacewalk-proxy
@@ -1 +1 @@
-1.2.10-1 proxy/proxy/
+1.2.11-1 proxy/proxy/
13 years, 5 months
Changes to 'refs/tags/spacewalk-backend-1.2.44-1'
by Jan Pazdziora
Tag 'spacewalk-backend-1.2.44-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2010-10-29 06:39 +0000
Tagging package [spacewalk-backend] version [1.2.44-1] in directory [backend/].
Changes since spacewalk-web-1.2.18-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-backend] release [1.2.44-1].
---
backend/spacewalk-backend.spec | 8 +++++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
---
13 years, 5 months
backend/spacewalk-backend.spec rel-eng/packages
by Jan Pazdziora
backend/spacewalk-backend.spec | 8 +++++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
New commits:
commit ce73c5cef14cbfc4ac4da623dc524e3ff478050c
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Oct 29 08:39:55 2010 +0200
Automatic commit of package [spacewalk-backend] release [1.2.44-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 1c89f83..779f98f 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -11,7 +11,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2 and Python
-Version: 1.2.43
+Version: 1.2.44
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -669,6 +669,12 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Fri Oct 29 2010 Jan Pazdziora 1.2.44-1
+- /XP handler defines just 4 calls identical to /APP calls
+ (michael.mraka(a)redhat.com)
+- removed unused class WarningParseException (michael.mraka(a)redhat.com)
+- removed unused class VirtualizationListenerError (michael.mraka(a)redhat.com)
+
* Wed Oct 27 2010 Jan Pazdziora 1.2.43-1
- Class UpdateSlots unused, removing.
- Exception SatCertNoFreeEntitlementsException not used, removing.
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 970c363..1e7e72f 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.2.43-1 backend/
+1.2.44-1 backend/
13 years, 5 months
Changes to 'refs/tags/spacewalk-web-1.2.18-1'
by Jan Pazdziora
Tag 'spacewalk-web-1.2.18-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2010-10-29 06:39 +0000
Tagging package [spacewalk-web] version [1.2.18-1] in directory [web/].
Changes since spacewalk-backend-1.2.43-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-web] release [1.2.18-1].
Michael Mraka (14):
removed unused class BackupFileMissing
removed unused class ClientTemplatedDocument
after ClientTemplatedDocument removal rhncfg_template.py is empty; removing
removed unused class FileNotInRepo
removed unused class JabberCallback
removed unused class LiloConfiguration
removed unused class MalformedRepository
removed unused class PathNotPresent
removed unused class RepoAlreadyExists
removed unused class RepoPlainFile
removed unused class VirtualizationListenerError
removed unused class WarningParseException
removed unused class rhnPackageManagerException
/XP handler defines just 4 calls identical to /APP calls
---
backend/satellite_tools/xmlSource.py | 6 -
backend/server/handlers/xp/packages.py | 84 -------------------
backend/server/rhnVirtualization.py | 1
client/tools/osad/src/jabber_lib.py | 9 --
client/tools/rhn-kickstart/rhnkickstart/lilo.py | 58 -------------
client/tools/rhncfg/actions/Modes.py | 3
client/tools/rhncfg/config_common/Makefile | 2
client/tools/rhncfg/config_common/cfg_exceptions.py | 12 --
client/tools/rhncfg/config_common/rhncfg_template.py | 43 ---------
client/tools/rhncfg/config_common/transactions.py | 1
client/tools/rhncfg/solaris/build-solaris.sh | 5 -
proxy/proxy/pm/rhn_package_manager.py | 5 -
rel-eng/packages/spacewalk-web | 2
web/spacewalk-web.spec | 7 +
14 files changed, 12 insertions(+), 226 deletions(-)
---
13 years, 5 months
rel-eng/packages web/spacewalk-web.spec
by Jan Pazdziora
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit b390a72ab2a93617f05bc17e0aa3606ad6260ca7
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Oct 29 08:39:36 2010 +0200
Automatic commit of package [spacewalk-web] release [1.2.18-1].
diff --git a/rel-eng/packages/spacewalk-web b/rel-eng/packages/spacewalk-web
index 02c335c..a4d1aeb 100644
--- a/rel-eng/packages/spacewalk-web
+++ b/rel-eng/packages/spacewalk-web
@@ -1 +1 @@
-1.2.17-1 web/
+1.2.18-1 web/
diff --git a/web/spacewalk-web.spec b/web/spacewalk-web.spec
index 28bff14..6341068 100644
--- a/web/spacewalk-web.spec
+++ b/web/spacewalk-web.spec
@@ -2,7 +2,7 @@ Name: spacewalk-web
Summary: Spacewalk Web site packages
Group: Applications/Internet
License: GPLv2
-Version: 1.2.17
+Version: 1.2.18
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -256,6 +256,11 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Fri Oct 29 2010 Jan Pazdziora 1.2.18-1
+- fix rpmlint error (msuchy(a)redhat.com)
+- fix rpmlint error (msuchy(a)redhat.com)
+- fix rpmlint error (msuchy(a)redhat.com)
+
* Mon Oct 25 2010 Jan Pazdziora 1.2.17-1
- To get UTF-8 strings in character semantics from DBD::Pg automatically, we
have to enable it.
13 years, 5 months
backend/server
by Michael Mraka
backend/server/handlers/xp/packages.py | 84 +--------------------------------
1 file changed, 3 insertions(+), 81 deletions(-)
New commits:
commit eca3359ec554c2c31c396e51462c82ad1cf73726
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 20 16:46:26 2010 +0200
/XP handler defines just 4 calls identical to /APP calls
let's reuse already written code
diff --git a/backend/server/handlers/xp/packages.py b/backend/server/handlers/xp/packages.py
index e23f714..9c96014 100644
--- a/backend/server/handlers/xp/packages.py
+++ b/backend/server/handlers/xp/packages.py
@@ -17,15 +17,10 @@
# Package info checking routines.
#
-import string
+from spacewalk.common import RPC_Base, log_debug
+from spacewalk.server.handlers.app.packages import Packages as APP_Packages
-from spacewalk.common import RPC_Base, rhnFault, log_debug
-from spacewalk.server.importlib.packageUpload import uploadPackages, listChannels
-from spacewalk.server.importlib.importLib import IncompatibleArchError
-from spacewalk.server.importlib.userAuth import UserAuth
-from spacewalk.server import rhnSQL
-
-class Packages(RPC_Base):
+class Packages(APP_Packages):
def __init__(self):
log_debug(3)
RPC_Base.__init__(self)
@@ -35,76 +30,3 @@ class Packages(RPC_Base):
self.functions.append('listMissingSourcePackages')
- def uploadPackageInfo(self, login, password, info):
- """ Upload a collection of binary packages """
- log_debug(5, login, info)
- authobj = auth(login, password)
- # Get the channels
- channels = info.get('channels')
- if channels:
- authobj.authzChannels(channels)
- info['orgId'] = authobj.org_id
- try:
- return uploadPackages(info, caller="server.xp.uploadPackageInfo")
- except IncompatibleArchError, e:
- raise rhnFault(506, string.join(e.args), explain=0)
-
-
- def uploadSourcePackageInfo(self, login, password, info):
- """ Upload a collection of source packages """
- log_debug(5, login, info)
- authobj = auth(login, password)
- info['orgId'] = authobj.org_id
- return uploadPackages(info, source=1,
- caller="server.xp.uploadSourcePackageInfo")
-
-
- def listChannel(self, channelList, login, password):
- """ List packages of a specified channel """
- log_debug(4, channelList, login)
- authobj = auth(login, password)
- authobj.authzChannels(channelList)
- return listChannels(channelList)
-
- def listMissingSourcePackages(self, channelList, username, password):
- """ List source packages for a list of channels """
- log_debug(5, channelList, username)
- authobj = auth(username, password)
- authobj.authzChannels(channelList)
-
- h = rhnSQL.prepare("""
- select distinct sr.name source_rpm
- from rhnChannel c
- join rhnChannelNewestPackage cnp
- on cnp.channel_id = c.id
- join rhnPackage p
- on cnp.package_id = p.id
- join rhnSourceRPM sr
- on p.source_rpm_id = sr.id
- left join rhnPackageSource ps
- on p.source_rpm_id = ps.source_rpm_id
- and (p.org_id = ps.org_id or
- (p.org_id is null and ps.org_id is null)
- )
- where c.label = :channel_label
- and ps.source_rpm_id is null
- """)
- missing_packages = []
- for c in channelList:
- h.execute(channel_label=c)
- while 1:
- row = h.fetchone_dict()
- if not row:
- break
-
- missing_packages.append([row['source_rpm'], c])
-
- return missing_packages
-
-def auth(login, password):
- """ Authorize this user """
- authobj = UserAuth()
- authobj.auth(login, password)
- # Check if he's authorized to perform administrative tasks
- authobj.authzOrg({'orgId' : authobj.org_id})
- return authobj
13 years, 5 months
13 commits - backend/satellite_tools backend/server client/tools proxy/proxy
by Michael Mraka
backend/satellite_tools/xmlSource.py | 6 -
backend/server/rhnVirtualization.py | 1
client/tools/osad/src/jabber_lib.py | 9 --
client/tools/rhn-kickstart/rhnkickstart/lilo.py | 58 -------------------
client/tools/rhncfg/actions/Modes.py | 3
client/tools/rhncfg/config_common/Makefile | 2
client/tools/rhncfg/config_common/cfg_exceptions.py | 12 ---
client/tools/rhncfg/config_common/rhncfg_template.py | 43 --------------
client/tools/rhncfg/config_common/transactions.py | 1
client/tools/rhncfg/solaris/build-solaris.sh | 5 -
proxy/proxy/pm/rhn_package_manager.py | 5 -
11 files changed, 2 insertions(+), 143 deletions(-)
New commits:
commit 206be9e857baa2e59e2a35874ac7973c260fb487
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:20:32 2010 +0200
removed unused class rhnPackageManagerException
diff --git a/proxy/proxy/pm/rhn_package_manager.py b/proxy/proxy/pm/rhn_package_manager.py
index 4a38e78..4c1ab13 100755
--- a/proxy/proxy/pm/rhn_package_manager.py
+++ b/proxy/proxy/pm/rhn_package_manager.py
@@ -255,11 +255,6 @@ def getPackagePath(nvrea, source=0, prepend=""):
release, pkgarch)
-class rhnPackageManagerException(Exception):
- """Custom exception class"""
- pass
-
-
if __name__ == '__main__':
try:
main()
commit 7fe7d9ce702e4286a0a893fc9a949ef1bcc65ce7
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:20:12 2010 +0200
removed unused class WarningParseException
diff --git a/backend/satellite_tools/xmlSource.py b/backend/satellite_tools/xmlSource.py
index 4d333ec..352eed8 100644
--- a/backend/satellite_tools/xmlSource.py
+++ b/backend/satellite_tools/xmlSource.py
@@ -66,12 +66,6 @@ class FatalParseException(SAXParseException):
"""
pass
-class WarningParseException(SAXParseException):
- """exception wrapper for a PyXML parser warning - probably not used.
- """
- pass
-
-
# XML Node
class Node:
def __init__(self, name, attributes=None, subelements=None):
commit 90169fb78bd609069c81ec53e126529d49c9fd92
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:19:04 2010 +0200
removed unused class VirtualizationListenerError
diff --git a/backend/server/rhnVirtualization.py b/backend/server/rhnVirtualization.py
index f6db269..5a4f743 100644
--- a/backend/server/rhnVirtualization.py
+++ b/backend/server/rhnVirtualization.py
@@ -106,7 +106,6 @@ CLIENT_SERVER_STATE_MAP = {
# VirtualizationEventError Class
###############################################################################
-class VirtualizationListenerError(Exception): pass
class VirtualizationEventError(Exception): pass
###############################################################################
commit 87b9deb301186ea371d846f1f96e71ee0e96233d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:17:58 2010 +0200
removed unused class RepoPlainFile
diff --git a/client/tools/rhncfg/config_common/cfg_exceptions.py b/client/tools/rhncfg/config_common/cfg_exceptions.py
index 349a6b2..2c87118 100644
--- a/client/tools/rhncfg/config_common/cfg_exceptions.py
+++ b/client/tools/rhncfg/config_common/cfg_exceptions.py
@@ -28,9 +28,6 @@ class ConfigChannelAlreadyExistsError(Exception):
class ConfigChannelNotEmptyError(Exception):
pass
-class RepoPlainFile(Exception):
- pass
-
class ConfigNotManaged(Exception):
pass
commit 6eb9f7eb55ce5b2d1a83a03fe715e301c13beb4d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:17:39 2010 +0200
removed unused class RepoAlreadyExists
diff --git a/client/tools/rhncfg/config_common/cfg_exceptions.py b/client/tools/rhncfg/config_common/cfg_exceptions.py
index 29f6105..349a6b2 100644
--- a/client/tools/rhncfg/config_common/cfg_exceptions.py
+++ b/client/tools/rhncfg/config_common/cfg_exceptions.py
@@ -28,9 +28,6 @@ class ConfigChannelAlreadyExistsError(Exception):
class ConfigChannelNotEmptyError(Exception):
pass
-class RepoAlreadyExists(Exception):
- pass
-
class RepoPlainFile(Exception):
pass
commit 6a2cee287b125c47d9df2ccf10091f24313781d0
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:17:21 2010 +0200
removed unused class PathNotPresent
diff --git a/client/tools/rhncfg/actions/Modes.py b/client/tools/rhncfg/actions/Modes.py
index 1b0bbd9..d2fa51b 100644
--- a/client/tools/rhncfg/actions/Modes.py
+++ b/client/tools/rhncfg/actions/Modes.py
@@ -22,9 +22,6 @@ import string
True = 1
False = 0
-class PathNotPresent(Exception):
- pass
-
#Base class for all modes.
class BaseMode:
def __init__(self):
commit 17224f6abcb33207d17dc76c8d5942e0033fab5e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:16:59 2010 +0200
removed unused class MalformedRepository
diff --git a/client/tools/rhncfg/config_common/cfg_exceptions.py b/client/tools/rhncfg/config_common/cfg_exceptions.py
index 19aefda..29f6105 100644
--- a/client/tools/rhncfg/config_common/cfg_exceptions.py
+++ b/client/tools/rhncfg/config_common/cfg_exceptions.py
@@ -19,9 +19,6 @@ class InvalidSession(Exception):
class AuthenticationError(Exception):
pass
-class MalformedRepository(Exception):
- pass
-
class ConfigChannelNotInRepo(Exception):
pass
commit ed189fce2e3545e72fb8f27390f78c257b9da580
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:16:36 2010 +0200
removed unused class LiloConfiguration
diff --git a/client/tools/rhn-kickstart/rhnkickstart/lilo.py b/client/tools/rhn-kickstart/rhnkickstart/lilo.py
index 38a6398..649895d 100644
--- a/client/tools/rhn-kickstart/rhnkickstart/lilo.py
+++ b/client/tools/rhn-kickstart/rhnkickstart/lilo.py
@@ -242,64 +242,6 @@ class LiloConfigFile:
self.unsupported = []
-class LiloConfiguration:
- """Class used to represent the data in the lilo.conf lilo configuration file."""
- def allowLiloLocationConfig(self, fstab):
- bootDevice = fstab.getBootDevice()
- if bootDevice[0:2] == "md":
- self.setDevice(("raid", bootDevice))
- return None
-
- return 1
-
- def setLiloImages(self, images):
- self.liloImages = images
-
-
- def setDevice(self, device):
- if (type(device) == type((1,))):
- self.liloDevice = device
- elif device != "mbr" and device != "partition" and device:
- raise ValueError, "device must be raid, mbr, partition, or None"
- self.liloDevice = device
-
- def setLinear(self, linear):
- self.liloLinear = linear
-
- def setAppend(self, append):
- self.liloAppend = append
-
- def setDefault(self, default):
- for (label, fsType) in self.liloImages.values():
- if label == default:
- self.default = default
- return
- raise IndexError, "unknown lilo label %s" % (default,)
-
- def getLinear(self):
- return self.liloLinear
-
- def getDevice(self):
- return self.liloDevice
-
- def getAppend(self):
- return self.liloAppend
-
- def __init__(self):
- self.liloImages = {}
- self.liloDevice = 'mbr'
- self.liloLinear = 1
- self.default = None
- self.initrdsMade = {}
- # XXX only i386 supports edd, nothing else should
- # instantiate this class
- if getArch() == "i386":
- import edd
- self.edd = edd.detect()
- else:
- self.edd = 0
-
-
def getArch ():
arch = os.uname ()[4]
if (len (arch) == 4 and arch[0] == 'i' and
commit c8fb37936d5a42b5c6d874300bb9373f73c452c0
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:15:36 2010 +0200
removed unused class JabberCallback
diff --git a/client/tools/osad/src/jabber_lib.py b/client/tools/osad/src/jabber_lib.py
index a3e574c..0e88542 100644
--- a/client/tools/osad/src/jabber_lib.py
+++ b/client/tools/osad/src/jabber_lib.py
@@ -337,15 +337,6 @@ def sign(secret_key, *values):
h = hashlib.new('sha1', h + str(v)).hexdigest()
return h
-class JabberCallback:
- def __init__(self, stanza_id=None, stanza_ns=None):
- log_debug(4, stanza_id, stanza_ns)
- self.stanza_id = stanza_id
- self.stanza_ns = stanza_ns
-
- def callback(self, client, stanza):
- pass
-
# getAttr is braindead, rewrite it
class JabberProtocolNode(jabber.Protocol):
def getAttr(self, key):
commit adbd1efd361ea07b299aee00c6d4c8b2145a0bdc
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:12:22 2010 +0200
removed unused class FileNotInRepo
diff --git a/client/tools/rhncfg/config_common/cfg_exceptions.py b/client/tools/rhncfg/config_common/cfg_exceptions.py
index aaa8331..19aefda 100644
--- a/client/tools/rhncfg/config_common/cfg_exceptions.py
+++ b/client/tools/rhncfg/config_common/cfg_exceptions.py
@@ -22,9 +22,6 @@ class AuthenticationError(Exception):
class MalformedRepository(Exception):
pass
-class FileNotInRepo(Exception):
- pass
-
class ConfigChannelNotInRepo(Exception):
pass
commit 61c35d2e17c5fadb62ba91d2fc74387c1a5a9e9f
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:06:01 2010 +0200
after ClientTemplatedDocument removal rhncfg_template.py is empty; removing
diff --git a/client/tools/rhncfg/config_common/Makefile b/client/tools/rhncfg/config_common/Makefile
index 190675a..9853f76 100644
--- a/client/tools/rhncfg/config_common/Makefile
+++ b/client/tools/rhncfg/config_common/Makefile
@@ -10,7 +10,7 @@ SUBDIR = config_common
FILES = __init__ cfg_exceptions \
file_utils \
handler_base local_config \
- repository rhn_log rhn_main rhn_rpc rhncfg_template \
+ repository rhn_log rhn_main rhn_rpc \
up2date_config_parser utils transactions rpc_wrapper
diff --git a/client/tools/rhncfg/config_common/rhncfg_template.py b/client/tools/rhncfg/config_common/rhncfg_template.py
deleted file mode 100644
index 3be091c..0000000
--- a/client/tools/rhncfg/config_common/rhncfg_template.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright (c) 2008 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.
-#
-
-_config_libs_path = '/var/www/rhns'
-import sys
-if _config_libs_path not in sys.path:
- sys.path.append(_config_libs_path)
-
-from config_libs import templated_document
-
diff --git a/client/tools/rhncfg/solaris/build-solaris.sh b/client/tools/rhncfg/solaris/build-solaris.sh
index 5f40ad0..45d782f 100755
--- a/client/tools/rhncfg/solaris/build-solaris.sh
+++ b/client/tools/rhncfg/solaris/build-solaris.sh
@@ -33,9 +33,6 @@ cp -R actions temp_src/
cp -R config_* temp_src/
cd temp_src
-perl -pi -e "s|/var/www/rhns|$DEST_PREFIX/var/www/rhns|" \
- ./config_common/rhncfg_template.py
-
perl -pi -e "s|/usr/bin/diff|$DEST_PREFIX/bin/diff|" \
./config_client/rhncfgcli_diff.py \
./config_common/file_utils.py \
@@ -76,4 +73,4 @@ pkgmk -o -r $BUILD_ROOT -d /tmp -f Prototype
cd /tmp
# tar -cf - RHATrncfg | gzip -9 -c > RHATrncfg-1.0.sparc.pkg.tar.gz
-pkgtrans -s /tmp RHATrncfg-1.0.pkg RHATrncfg
\ No newline at end of file
+pkgtrans -s /tmp RHATrncfg-1.0.pkg RHATrncfg
commit 08a7a5c5a75b606e224afb411f59b2f16fd7e4b7
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:04:21 2010 +0200
removed unused class ClientTemplatedDocument
diff --git a/client/tools/rhncfg/config_common/rhncfg_template.py b/client/tools/rhncfg/config_common/rhncfg_template.py
index f6e52ef..3be091c 100644
--- a/client/tools/rhncfg/config_common/rhncfg_template.py
+++ b/client/tools/rhncfg/config_common/rhncfg_template.py
@@ -20,24 +20,3 @@ if _config_libs_path not in sys.path:
from config_libs import templated_document
-class ClientTemplatedDocument(templated_document.TemplatedDocument):
- def set_functions(self):
- self.functions.clear()
- self.functions.update({
- 'hostname' : self.get_hostname,
- })
-
- def get_hostname(self):
- import socket
- return socket.gethostname()
-
- def call(self, fname, params, defval):
- if not self.functions.has_key(fname):
- if defval:
- return defval
- raise ValueError, "Cannot expand macro %s" % fname
- f = self.functions[fname]
- if params is None:
- params = ()
- return str(apply(f, params))
-
commit 0bccb3f3d1cf06cc047fc6bdec262b3427f457aa
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 27 20:00:20 2010 +0200
removed unused class BackupFileMissing
diff --git a/client/tools/rhncfg/config_common/transactions.py b/client/tools/rhncfg/config_common/transactions.py
index c84c4b8..1175578 100644
--- a/client/tools/rhncfg/config_common/transactions.py
+++ b/client/tools/rhncfg/config_common/transactions.py
@@ -28,7 +28,6 @@ from config_common.rhn_log import log_debug
class TargetNotFile(Exception): pass
class DuplicateDeployment(Exception): pass
-class BackupFileMissing(Exception): pass
class FailedRollback(Exception): pass
try:
13 years, 5 months
Changes to 'refs/tags/spacewalk-backend-1.2.43-1'
by Jan Pazdziora
Tag 'spacewalk-backend-1.2.43-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2010-10-27 14:47 +0000
Tagging package [spacewalk-backend] version [1.2.43-1] in directory [backend/].
Changes since spacewalk-java-1.2.75-1:
Jan Pazdziora (11):
Class ServerGroupTypeDumper not used anywhere, removing.
Class SourcePackageFile does not seem to be invoked, removing.
The rhn_timer.py does not seem to be used anywhere, removing.
Class ConfigFileMissingStatInfo not used, removing.
Exception ForceNotSpecified not used, removing.
Exception genServerCertError not used, removing.
Exceptions IncompleteLimitInfo and IncompleteLimitInfo* not used, removing.
Classes _KickstartTreeTypeDumper and _KickstartInstalTypeDumper do not seem to be used, removing.
Exception SatCertNoFreeEntitlementsException not used, removing.
Class UpdateSlots unused, removing.
Automatic commit of package [spacewalk-backend] release [1.2.43-1].
---
backend/common/Makefile | 1
backend/common/rhn_timer.py | 73 ----------------------
backend/satellite_tools/exporter/exportLib.py | 24 -------
backend/satellite_tools/rhn_satellite_activate.py | 6 -
backend/server/configFilesHandler.py | 3
backend/server/importlib/importLib.py | 11 ---
backend/server/rhnChannel.py | 3
backend/server/rhnDependency.py | 12 ---
backend/server/rhnServer/satellite_cert.py | 3
backend/spacewalk-backend.spec | 16 ++++
rel-eng/packages/spacewalk-backend | 2
11 files changed, 15 insertions(+), 139 deletions(-)
---
13 years, 5 months
backend/spacewalk-backend.spec rel-eng/packages
by Jan Pazdziora
backend/spacewalk-backend.spec | 15 ++++++++++++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 15 insertions(+), 2 deletions(-)
New commits:
commit e2f9521148f74df285a6957948db42734de3c8e5
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Oct 27 16:47:11 2010 +0200
Automatic commit of package [spacewalk-backend] release [1.2.43-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index ba883df..1c89f83 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -11,7 +11,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2 and Python
-Version: 1.2.42
+Version: 1.2.43
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -669,6 +669,19 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Wed Oct 27 2010 Jan Pazdziora 1.2.43-1
+- Class UpdateSlots unused, removing.
+- Exception SatCertNoFreeEntitlementsException not used, removing.
+- Classes _KickstartTreeTypeDumper and _KickstartInstalTypeDumper do not seem
+ to be used, removing.
+- Exceptions IncompleteLimitInfo and IncompleteLimitInfo* not used, removing.
+- Exception genServerCertError not used, removing.
+- Exception ForceNotSpecified not used, removing.
+- Class ConfigFileMissingStatInfo not used, removing.
+- The rhn_timer.py does not seem to be used anywhere, removing.
+- Class SourcePackageFile does not seem to be invoked, removing.
+- Class ServerGroupTypeDumper not used anywhere, removing.
+
* Wed Oct 27 2010 Lukas Zapletal 1.2.42-1
- Fixing c89830b90cb36bd6a79641553c5091c57af8fb8e typo
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 388e462..970c363 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.2.42-1 backend/
+1.2.43-1 backend/
13 years, 5 months