2 commits - backend/common backend/server backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/common/rhnException.py | 1 +
backend/server/handlers/xmlrpc/up2date.py | 8 +++++++-
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
4 files changed, 13 insertions(+), 3 deletions(-)
New commits:
commit 171b1831d3b11a5fff10092a72b2d9431e8225f4
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Tue Jul 31 12:02:33 2012 +0200
Automatic commit of package [spacewalk-backend] release [1.8.56-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index f54e88c..55289d5 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.55
+Version: 1.8.56
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -647,6 +647,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Tue Jul 31 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.56-1
+- 838502 - block subscription to satellite and proxy channels
+
* Tue Jul 31 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.55-1
- pylint on Fedoras need disable before whole try-except block
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 0699dea..b2759b8 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.55-1 backend/
+1.8.56-1 backend/
commit 6812a5aa43f7a6cebbf46d0057ee4d85a5ae072d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Tue Jul 31 11:22:50 2012 +0200
838502 - block subscription to satellite and proxy channels
they need to be activated properly
diff --git a/backend/common/rhnException.py b/backend/common/rhnException.py
index 5f46a5d..b8c6f61 100644
--- a/backend/common/rhnException.py
+++ b/backend/common/rhnException.py
@@ -191,6 +191,7 @@ on this system."),
administrators for further details.
"""),
72: _("""You can not unsubscribe from base channel."""),
+ 73: _("""Satellite or Proxy channel can not be subscribed."""),
# 80-90: server group errors
80: _("There was an error while trying to join the system to its groups"),
diff --git a/backend/server/handlers/xmlrpc/up2date.py b/backend/server/handlers/xmlrpc/up2date.py
index 9452e30..24429cf 100644
--- a/backend/server/handlers/xmlrpc/up2date.py
+++ b/backend/server/handlers/xmlrpc/up2date.py
@@ -32,6 +32,9 @@ from spacewalk.server import rhnChannel, rhnPackage, rhnDependency,\
rhnCapability
from spacewalk.server.rhnServer import server_route
+import re
+NONSUBSCRIBABLE_CHANNELS = re.compile("(rhn-proxy|rhn-satellite)")
+
class Up2date(rhnHandler):
""" xml-rpc Server Functions that we will provide for the outside world.
"""
@@ -159,7 +162,10 @@ class Up2date(rhnHandler):
# log the entry
log_debug(1, self.server_id, channelNames)
for channelName in channelNames:
- rhnChannel.subscribe_channel(self.server_id, channelName,
+ if NONSUBSCRIBABLE_CHANNELS.search(channelName):
+ raise rhnFault(73)
+ else:
+ rhnChannel.subscribe_channel(self.server_id, channelName,
username, passwd)
return 0
11 years, 9 months
Changes to 'refs/tags/spacewalk-backend-1.8.55-1'
by Michael Mraka
Tag 'spacewalk-backend-1.8.55-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-31 07:14 +0000
Tagging package [spacewalk-backend] version [1.8.55-1] in directory [backend/].
Changes since spacewalk-backend-1.8.54-1:
Michael Mraka (2):
pylint on Fedoras need disable before whole try-except block
Automatic commit of package [spacewalk-backend] release [1.8.55-1].
Milan Zazrivec (1):
fix outer join syntax
---
backend/satellite_exporter/satexport.py | 2 +-
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
---
11 years, 9 months
2 commits - backend/satellite_exporter backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/satellite_exporter/satexport.py | 2 +-
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 6a614573fdc81a868965eb1619bdaee63939e882
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Tue Jul 31 09:14:38 2012 +0200
Automatic commit of package [spacewalk-backend] release [1.8.55-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 86a955a..f54e88c 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.54
+Version: 1.8.55
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -647,6 +647,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Tue Jul 31 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.55-1
+- pylint on Fedoras need disable before whole try-except block
+
* Mon Jul 30 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.54-1
- satellite_exporter is now pylint-able
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 9eade68..0699dea 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.54-1 backend/
+1.8.55-1 backend/
commit 095012ac07b8ae623054f3d7db791e7ad09078b0
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Tue Jul 31 09:09:44 2012 +0200
pylint on Fedoras need disable before whole try-except block
diff --git a/backend/satellite_exporter/satexport.py b/backend/satellite_exporter/satexport.py
index 57f8468..16f48bc 100644
--- a/backend/satellite_exporter/satexport.py
+++ b/backend/satellite_exporter/satexport.py
@@ -51,10 +51,10 @@ class BaseApacheServer:
# short-circuit everything if sending a system-wide message.
if CFG.SEND_MESSAGE_TO_ALL:
# Drop the database connection
+ # pylint: disable=W0702
try:
rhnSQL.closeDB()
except:
- # pylint: disable=W0702
pass
# Fetch global message being sent to clients if applicable.
11 years, 9 months
web/modules
by Milan Zazrivec
web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6e34bd693fd826f85e48a9ef464ef2d13466728a
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Tue Jul 31 08:06:25 2012 +0200
fix outer join syntax
diff --git a/web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml b/web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml
index 50d0e55..63d32fb 100644
--- a/web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml
+++ b/web/modules/rhn/RHN/DB/DataSource/xml/config_queries.xml
@@ -87,7 +87,7 @@ SELECT CFN.path,
rhnConfigFileName CFN,
rhnActionConfigFileName ACFN
LEFT JOIN rhnConfigFileFailure CFF
- AND ACFN.failure_id = CFF.id
+ ON ACFN.failure_id = CFF.id
WHERE ACFN.server_id = :sid
AND ACFN.action_id = :aid
AND ACFN.config_file_name_id = CFN.id
11 years, 9 months
Changes to 'refs/tags/spacewalk-backend-1.8.54-1'
by Michael Mraka
Tag 'spacewalk-backend-1.8.54-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-30 15:06 +0000
Tagging package [spacewalk-backend] version [1.8.54-1] in directory [backend/].
Changes since osad-5.11.3-1:
Michael Mraka (14):
fixed BaseApacheServer._headerParserHandler: Unused argument 'req'
locally disabled Attribute defined outside __init__
locally disabled Method could be a function
fixed ApacheServer._validate_version: Method could be a function
locally disabled BaseApacheServer.headerParserHandler: No exception type(s) specified
locally disabled Instance of 'NonAuthenticatedDumper' has no 'xxx' member
locally disabled Dangerous default value
fixed NonAuthenticatedDumper.close: Unnecessary pass statement
locally disabled Unused argument
fixed NonAuthenticatedDumper._send_stream: Attribute 'compress_level' defined outside __init__
satellite_exporter is now pylint-able
locally disabled Too many instance attributes
locally disabled Too many public methods
Automatic commit of package [spacewalk-backend] release [1.8.54-1].
---
backend/satellite_exporter/handlers/non_auth_dumper.py | 4 +++-
backend/satellite_exporter/satexport.py | 12 ++++++++----
backend/spacewalk-backend.spec | 6 +++++-
rel-eng/packages/spacewalk-backend | 2 +-
4 files changed, 17 insertions(+), 7 deletions(-)
---
11 years, 9 months
14 commits - backend/satellite_exporter backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/satellite_exporter/handlers/non_auth_dumper.py | 4 +++-
backend/satellite_exporter/satexport.py | 12 ++++++++----
backend/spacewalk-backend.spec | 6 +++++-
rel-eng/packages/spacewalk-backend | 2 +-
4 files changed, 17 insertions(+), 7 deletions(-)
New commits:
commit 4760d6d56af9fba06f0db2f6472aec95dda65393
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 17:06:46 2012 +0200
Automatic commit of package [spacewalk-backend] release [1.8.54-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 4d79f0c..86a955a 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.53
+Version: 1.8.54
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -647,6 +647,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Mon Jul 30 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.54-1
+- satellite_exporter is now pylint-able
+
* Mon Jul 30 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.53-1
- update_contact_info is not called from client for a long time
- removed unaccessible code
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index d9f280f..9eade68 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.8.53-1 backend/
+1.8.54-1 backend/
commit 7c6e03c8616e21f674119ec218ca072a58635e56
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:47:26 2012 +0200
locally disabled Too many public methods
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index b4c277e..68e3e05 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -44,7 +44,7 @@ class MissingPackageError(Exception):
pass
class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
- # pylint: disable=E1101,W0102,W0613,R0902
+ # pylint: disable=E1101,W0102,W0613,R0902,R0904
def __init__(self, req):
rhnHandler.__init__(self)
dumper.XML_Dumper.__init__(self)
commit 90da785c14e3ac5aa8e5f1cacb3084f7d334fb8f
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:47:07 2012 +0200
locally disabled Too many instance attributes
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index ec0a9c9..b4c277e 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -44,7 +44,7 @@ class MissingPackageError(Exception):
pass
class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
- # pylint: disable=E1101,W0102,W0613
+ # pylint: disable=E1101,W0102,W0613,R0902
def __init__(self, req):
rhnHandler.__init__(self)
dumper.XML_Dumper.__init__(self)
commit 5e15b3b642757316477770c118ba0a35c0e5803c
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:44:51 2012 +0200
satellite_exporter is now pylint-able
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 41d0466..4d79f0c 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -299,6 +299,7 @@ make -f Makefile.backend PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} test || :
# check coding style
export PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib}:/usr/lib/rhn
spacewalk-pylint $RPM_BUILD_ROOT%{pythonrhnroot}/common \
+ $RPM_BUILD_ROOT%{pythonrhnroot}/satellite_exporter \
$RPM_BUILD_ROOT%{pythonrhnroot}/wsgi
%endif
commit d202526f214b730f38135927b4f5c0a80a9e5ea1
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:37:23 2012 +0200
fixed NonAuthenticatedDumper._send_stream: Attribute 'compress_level' defined outside __init__
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index 6e9e96f..ec0a9c9 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -51,6 +51,7 @@ class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
self.headers_out = UserDictCase()
self._raw_stream = req
self._raw_stream.content_type = 'application/octet-stream'
+ self.compress_level = 0
# State machine
self._headers_sent = 0
self._is_closed = 0
commit 1f9fd949baa154911d214e1eccbe86808f81f7fa
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:36:08 2012 +0200
locally disabled Unused argument
NonAuthenticatedDumper.channel_families: Unused argument 'channel_labels'
NonAuthenticatedDumper.channels: Unused argument 'flags'
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index 61ec00b..6e9e96f 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -44,7 +44,7 @@ class MissingPackageError(Exception):
pass
class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
- # pylint: disable=E1101,W0102
+ # pylint: disable=E1101,W0102,W0613
def __init__(self, req):
rhnHandler.__init__(self)
dumper.XML_Dumper.__init__(self)
commit 5cc54e3a73500f8803780ef07b83ef118e8f6fe7
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:20:05 2012 +0200
fixed NonAuthenticatedDumper.close: Unnecessary pass statement
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index c15c52a..61ec00b 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -151,7 +151,7 @@ class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
except IOError, e:
# Remote end has closed connection already
log_error("Error closing the stream", str(e))
- pass
+
self._compressed_stream = None
self._is_closed = 1
log_debug(3, "Closed")
commit 22526498ab7b9b5e76fd6a3a89b2a582d41354ec
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:18:39 2012 +0200
locally disabled Dangerous default value
NonAuthenticatedDumper.set_channel_family_query: Dangerous default value [] as argument
NonAuthenticatedDumper.channel_families: Dangerous default value [] as argument
NonAuthenticatedDumper.channels: Dangerous default value {} as argument
NonAuthenticatedDumper.packages: Dangerous default value [] as argument
NonAuthenticatedDumper.packages_short: Dangerous default value [] as argument
NonAuthenticatedDumper.source_packages: Dangerous default value [] as argument
NonAuthenticatedDumper.errata: Dangerous default value [] as argument
NonAuthenticatedDumper.kickstartable_trees: Dangerous default value [] as argument
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index 6afaff9..c15c52a 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -44,7 +44,7 @@ class MissingPackageError(Exception):
pass
class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
- # pylint: disable=E1101
+ # pylint: disable=E1101,W0102
def __init__(self, req):
rhnHandler.__init__(self)
dumper.XML_Dumper.__init__(self)
commit 767c68690ebce60e0358195132da40a7220c69a9
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:15:48 2012 +0200
locally disabled Instance of 'NonAuthenticatedDumper' has no 'xxx' member
NonAuthenticatedDumper._get_channel_data: Instance of 'ChannelsDumper' has no 'dump' member
NonAuthenticatedDumper.dump_channel_families: Instance of 'NonAuthenticatedDumper' has no 'get_channel_families_statement' member
NonAuthenticatedDumper.dump_channel_families: Instance of 'NonAuthenticatedDumper' has no '_get_xml_writer' member
NonAuthenticatedDumper.dump_channels: Instance of 'NonAuthenticatedDumper' has no '_validate_channels' member
NonAuthenticatedDumper.dump_channels: Instance of 'NonAuthenticatedDumper' has no '_get_xml_writer' member
NonAuthenticatedDumper.dump_product_names: Instance of 'NonAuthenticatedDumper' has no '_get_xml_writer' member
NonAuthenticatedDumper.arches: Instance of 'NonAuthenticatedDumper' has no 'dump_arches' member
NonAuthenticatedDumper.arches_extra: Instance of 'NonAuthenticatedDumper' has no 'dump_server_group_type_server_arches' member
NonAuthenticatedDumper.blacklist_obsoletes: Instance of 'NonAuthenticatedDumper' has no 'dump_blacklist_obsoletes' member
NonAuthenticatedDumper.packages_short: Instance of 'NonAuthenticatedDumper' has no 'dump_packages_short' member
NonAuthenticatedDumper.source_packages: Instance of 'NonAuthenticatedDumper' has no 'dump_source_packages' member
ChannelsDumper.dump_subelement: Instance of 'ChannelsDumper' has no '_writer' member
diff --git a/backend/satellite_exporter/handlers/non_auth_dumper.py b/backend/satellite_exporter/handlers/non_auth_dumper.py
index 0205c74..6afaff9 100644
--- a/backend/satellite_exporter/handlers/non_auth_dumper.py
+++ b/backend/satellite_exporter/handlers/non_auth_dumper.py
@@ -44,6 +44,7 @@ class MissingPackageError(Exception):
pass
class NonAuthenticatedDumper(rhnHandler, dumper.XML_Dumper):
+ # pylint: disable=E1101
def __init__(self, req):
rhnHandler.__init__(self)
dumper.XML_Dumper.__init__(self)
commit 04637cfe8d0283263016443b970711c63fdf9798
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:14:29 2012 +0200
locally disabled BaseApacheServer.headerParserHandler: No exception type(s) specified
diff --git a/backend/satellite_exporter/satexport.py b/backend/satellite_exporter/satexport.py
index b1c24ce..57f8468 100644
--- a/backend/satellite_exporter/satexport.py
+++ b/backend/satellite_exporter/satexport.py
@@ -54,6 +54,7 @@ class BaseApacheServer:
try:
rhnSQL.closeDB()
except:
+ # pylint: disable=W0702
pass
# Fetch global message being sent to clients if applicable.
commit c7150ff8606c686ae1a807e3b62e3e27df422fff
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:12:30 2012 +0200
fixed ApacheServer._validate_version: Method could be a function
diff --git a/backend/satellite_exporter/satexport.py b/backend/satellite_exporter/satexport.py
index 4474459..b1c24ce 100644
--- a/backend/satellite_exporter/satexport.py
+++ b/backend/satellite_exporter/satexport.py
@@ -198,7 +198,8 @@ class ApacheServer(BaseApacheServer):
(module_name, function_name))
return f
- def _validate_version(self, req):
+ @staticmethod
+ def _validate_version(req):
server_version = constants.PROTOCOL_VERSION
vstr = 'X-RHN-Satellite-XML-Dump-Version'
if not req.headers_in.has_key(vstr):
commit e019928b7aaa08490dcbd8d52de4412559efd26a
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:11:08 2012 +0200
locally disabled Method could be a function
BaseApacheServer._headerParserHandler: Method could be a function
BaseApacheServer._handler: Method could be a function
BaseApacheServer._cleanupHandler: Method could be a function
BaseApacheServer._send_xmlrpc: Method could be a function
ApacheServer._validate_version: Method could be a function
diff --git a/backend/satellite_exporter/satexport.py b/backend/satellite_exporter/satexport.py
index 276bf71..4474459 100644
--- a/backend/satellite_exporter/satexport.py
+++ b/backend/satellite_exporter/satexport.py
@@ -92,6 +92,7 @@ class BaseApacheServer:
self.server_instance = {}
# Virtual functions
+ # pylint: disable=R0201
def _headerParserHandler(self, _req):
return apache.OK
commit 05b49a9c93c81804494049613da60d5c0266821a
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:04:19 2012 +0200
locally disabled Attribute defined outside __init__
BaseApacheServer._cleanup: Attribute 'server_instance' defined outside __init__
BaseApacheServer._cleanup: Attribute 'server_classes' defined outside __init__
BaseApacheServer._cleanup: Attribute 'server' defined outside __init__
diff --git a/backend/satellite_exporter/satexport.py b/backend/satellite_exporter/satexport.py
index a91b9b3..276bf71 100644
--- a/backend/satellite_exporter/satexport.py
+++ b/backend/satellite_exporter/satexport.py
@@ -86,6 +86,7 @@ class BaseApacheServer:
return retval
def _cleanup(self):
+ # pylint: disable=W0201
self.server = None
self.server_classes = None
self.server_instance = {}
commit b393b3b879da11da7b8c1bff60afea5d461adfb3
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 16:01:00 2012 +0200
fixed BaseApacheServer._headerParserHandler: Unused argument 'req'
BaseApacheServer._handler: Unused argument 'req'
BaseApacheServer._cleanupHandler: Unused argument 'req'
diff --git a/backend/satellite_exporter/satexport.py b/backend/satellite_exporter/satexport.py
index 0f7faf1..a91b9b3 100644
--- a/backend/satellite_exporter/satexport.py
+++ b/backend/satellite_exporter/satexport.py
@@ -91,13 +91,13 @@ class BaseApacheServer:
self.server_instance = {}
# Virtual functions
- def _headerParserHandler(self, req):
+ def _headerParserHandler(self, _req):
return apache.OK
- def _handler(self, req):
+ def _handler(self, _req):
return apache.OK
- def _cleanupHandler(self, req):
+ def _cleanupHandler(self, _req):
return apache.OK
def _wrapper(self, req, function):
11 years, 9 months
Changes to 'refs/tags/rhnsd-5.0.3-1'
by Michael Mraka
Tag 'rhnsd-5.0.3-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-30 13:58 +0000
Tagging package [rhnsd] version [5.0.3-1] in directory [client/rhel/rhnsd/].
Changes since perl-NOCpulse-Gritch-1.27.11-1:
Michael Mraka (3):
fixed pylint warning Unused argument 'args'
there's no elsif macro
Automatic commit of package [rhnsd] release [5.0.3-1].
---
backend/_apache.py | 8 ++++----
client/rhel/rhnsd/rhnsd.spec | 9 +++++++--
client/tools/osad/osad.spec | 4 +++-
rel-eng/packages/rhnsd | 2 +-
4 files changed, 15 insertions(+), 8 deletions(-)
---
11 years, 9 months
client/tools rel-eng/packages
by Michael Mraka
client/tools/osad/osad.spec | 5 ++++-
rel-eng/packages/osad | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit e06d90221f8681f60aa916829af601f5c823b9ad
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 15:58:21 2012 +0200
Automatic commit of package [osad] release [5.11.3-1].
diff --git a/client/tools/osad/osad.spec b/client/tools/osad/osad.spec
index e569b55..148a0ef 100644
--- a/client/tools/osad/osad.spec
+++ b/client/tools/osad/osad.spec
@@ -16,7 +16,7 @@ Group: System Environment/Daemons
License: GPLv2
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 5.11.2
+Version: 5.11.3
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -301,6 +301,9 @@ rpm -ql osa-dispatcher | xargs -n 1 /sbin/restorecon -rvi {}
%endif
%changelog
+* Mon Jul 30 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.11.3-1
+- there's no elsif macro
+
* Wed Jul 25 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.11.2-1
- make sure _unitdir is defined
diff --git a/rel-eng/packages/osad b/rel-eng/packages/osad
index e3224d5..173346d 100644
--- a/rel-eng/packages/osad
+++ b/rel-eng/packages/osad
@@ -1 +1 @@
-5.11.2-1 client/tools/osad/
+5.11.3-1 client/tools/osad/
11 years, 9 months
Changes to 'refs/tags/osad-5.11.3-1'
by Michael Mraka
Tag 'osad-5.11.3-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-30 13:58 +0000
Tagging package [osad] version [5.11.3-1] in directory [client/tools/osad/].
Changes since perl-NOCpulse-Gritch-1.27.11-1:
Michael Mraka (4):
fixed pylint warning Unused argument 'args'
there's no elsif macro
Automatic commit of package [rhnsd] release [5.0.3-1].
Automatic commit of package [osad] release [5.11.3-1].
---
backend/_apache.py | 8 ++++----
client/rhel/rhnsd/rhnsd.spec | 9 +++++++--
client/tools/osad/osad.spec | 9 +++++++--
rel-eng/packages/osad | 2 +-
rel-eng/packages/rhnsd | 2 +-
5 files changed, 20 insertions(+), 10 deletions(-)
---
11 years, 9 months
3 commits - backend/_apache.py client/rhel client/tools rel-eng/packages
by Michael Mraka
backend/_apache.py | 8 ++++----
client/rhel/rhnsd/rhnsd.spec | 9 +++++++--
client/tools/osad/osad.spec | 4 +++-
rel-eng/packages/rhnsd | 2 +-
4 files changed, 15 insertions(+), 8 deletions(-)
New commits:
commit edfe446f06a55ae7e7a7a6199974d4058cecfc5e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 15:58:05 2012 +0200
Automatic commit of package [rhnsd] release [5.0.3-1].
diff --git a/client/rhel/rhnsd/rhnsd.spec b/client/rhel/rhnsd/rhnsd.spec
index 0f0607f..95f1eb9 100644
--- a/client/rhel/rhnsd/rhnsd.spec
+++ b/client/rhel/rhnsd/rhnsd.spec
@@ -4,7 +4,7 @@ Group: System Environment/Base
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
URL: https://fedorahosted.org/spacewalk
Name: rhnsd
-Version: 5.0.2
+Version: 5.0.3
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -100,6 +100,9 @@ rm -fr $RPM_BUILD_ROOT
%doc LICENSE
%changelog
+* Mon Jul 30 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.0.3-1
+- there's no elsif macro
+
* Wed Jul 25 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.0.2-1
- make sure _unitdir is defined
diff --git a/rel-eng/packages/rhnsd b/rel-eng/packages/rhnsd
index abe4676..3a0d418 100644
--- a/rel-eng/packages/rhnsd
+++ b/rel-eng/packages/rhnsd
@@ -1 +1 @@
-5.0.2-1 client/rhel/rhnsd/
+5.0.3-1 client/rhel/rhnsd/
commit 44f695f9cbbb34f3ed4bdc53fd2155429c6db243
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 15:54:46 2012 +0200
there's no elsif macro
diff --git a/client/rhel/rhnsd/rhnsd.spec b/client/rhel/rhnsd/rhnsd.spec
index 5a203f7..0f0607f 100644
--- a/client/rhel/rhnsd/rhnsd.spec
+++ b/client/rhel/rhnsd/rhnsd.spec
@@ -15,7 +15,8 @@ Requires: rhn-check >= 0.0.8
Requires(post): aaa_base
Requires(preun): aaa_base
BuildRequires: sysconfig
-%elsif 0%{?fedora}
+%else
+%if 0%{?fedora}
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(post): systemd-sysv
@@ -30,6 +31,7 @@ Requires(preun): chkconfig
Requires(preun): initscripts
Requires(postun): initscripts
%endif
+%endif
%description
The Red Hat Update Agent that automatically queries the Red Hat
diff --git a/client/tools/osad/osad.spec b/client/tools/osad/osad.spec
index 5b8d23c..e569b55 100644
--- a/client/tools/osad/osad.spec
+++ b/client/tools/osad/osad.spec
@@ -41,7 +41,8 @@ Requires(post): aaa_base
Requires(preun): aaa_base
# to make chkconfig test work during build
BuildRequires: sysconfig syslog
-%elsif 0%{?fedora}
+%else
+%if 0%{?fedora}
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(post): systemd-sysv
@@ -55,6 +56,7 @@ Requires(preun): chkconfig
# This is for /sbin/service
Requires(preun): initscripts
%endif
+%endif
%description
OSAD agent receives commands over jabber protocol from Spacewalk Server and
commit c1468c0c1b60893ce21d6f45153a72809b4ba4d1
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 30 15:36:09 2012 +0200
fixed pylint warning Unused argument 'args'
diff --git a/backend/_apache.py b/backend/_apache.py
index c6f1ad4..7578048 100644
--- a/backend/_apache.py
+++ b/backend/_apache.py
@@ -20,16 +20,16 @@
SERVER_RETURN = 0
-def log_error(*args):
+def log_error(*_args):
pass
-def make_table(*args):
+def make_table(*_args):
pass
-def parse_qs(*args):
+def parse_qs(*_args):
pass
-def parse_qsl(*args):
+def parse_qsl(*_args):
pass
status = None
11 years, 9 months