backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit b0db9de4848539fa6df45216a5da7d4d7f482aca
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 30 10:41:01 2013 +0200
Automatic commit of package [spacewalk-backend] release [2.1.24-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index bfd2d9b..debc811 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
-Version: 2.1.23
+Version: 2.1.24
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -628,6 +628,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Mon Sep 30 2013 Michael Mraka <michael.mraka(a)redhat.com> 2.1.24-1
+- make pylint 1.0 happy about map/filter on lambda
+
* Mon Sep 23 2013 Tomas Lestach <tlestach(a)redhat.com> 2.1.23-1
- Fixing spelling mistakes
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 494cb9d..85991cd 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-2.1.23-1 backend/
+2.1.24-1 backend/
10 years, 6 months
Changes to 'refs/tags/spacewalk-java-2.1.49-1'
by Michael Mraka
Tag 'spacewalk-java-2.1.49-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-09-30 08:40 +0000
Tagging package [spacewalk-java] version [2.1.49-1] in directory [java/].
Changes since spacewalk-proxy-installer-2.1.3-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-java] release [2.1.49-1].
---
java/spacewalk-java.spec | 9 ++++++++-
rel-eng/packages/spacewalk-java | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
---
10 years, 6 months
java/spacewalk-java.spec rel-eng/packages
by Michael Mraka
java/spacewalk-java.spec | 9 ++++++++-
rel-eng/packages/spacewalk-java | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
New commits:
commit c1631132c81e807820a3544579ef15b1558eb6d9
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 30 10:40:31 2013 +0200
Automatic commit of package [spacewalk-java] release [2.1.49-1].
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index e8d4e1b..5f30b31 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -28,7 +28,7 @@ Name: spacewalk-java
Summary: Spacewalk Java site packages
Group: Applications/Internet
License: GPLv2
-Version: 2.1.48
+Version: 2.1.49
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -785,6 +785,13 @@ fi
%{jardir}/postgresql-jdbc.jar
%changelog
+* Mon Sep 30 2013 Michael Mraka <michael.mraka(a)redhat.com> 2.1.49-1
+- UserManagerTest: fix new timezone ordering
+- Orphaned class PushDispatcher removed
+- DataSourceParserTest: fix Oracle case-depentent tests
+- UserFactory: fix time zone ordering
+- 1012660 - somehow I missed one
+
* Thu Sep 26 2013 Stephen Herr <sherr(a)redhat.com> 2.1.48-1
- 1012660 - move links for Channel Management Guide to correct places
- Add exception stack trace logging in Taskomatic
diff --git a/rel-eng/packages/spacewalk-java b/rel-eng/packages/spacewalk-java
index c90bb98..17b9ee3 100644
--- a/rel-eng/packages/spacewalk-java
+++ b/rel-eng/packages/spacewalk-java
@@ -1 +1 @@
-2.1.48-1 java/
+2.1.49-1 java/
10 years, 6 months
Changes to 'refs/tags/spacewalk-proxy-installer-2.1.3-1'
by Michael Mraka
Tag 'spacewalk-proxy-installer-2.1.3-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-09-30 08:40 +0000
Tagging package [spacewalk-proxy-installer] version [2.1.3-1] in directory [proxy/installer/].
Changes since spacewalk-reports-2.1.11-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-proxy-installer] release [2.1.3-1].
---
proxy/installer/spacewalk-proxy-installer.spec | 5 ++++-
rel-eng/packages/spacewalk-proxy-installer | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
10 years, 6 months
proxy/installer rel-eng/packages
by Michael Mraka
proxy/installer/spacewalk-proxy-installer.spec | 5 ++++-
rel-eng/packages/spacewalk-proxy-installer | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 84cc5d2d56705dc9e243993bf8297e2d3bfed54f
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 30 10:40:04 2013 +0200
Automatic commit of package [spacewalk-proxy-installer] release [2.1.3-1].
diff --git a/proxy/installer/spacewalk-proxy-installer.spec b/proxy/installer/spacewalk-proxy-installer.spec
index fd9ead7..fa9abe3 100644
--- a/proxy/installer/spacewalk-proxy-installer.spec
+++ b/proxy/installer/spacewalk-proxy-installer.spec
@@ -2,7 +2,7 @@ Name: spacewalk-proxy-installer
Summary: Spacewalk Proxy Server Installer
Group: Applications/Internet
License: GPLv2
-Version: 2.1.2
+Version: 2.1.3
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -97,6 +97,9 @@ spacewalk-pylint $RPM_BUILD_ROOT/usr/share/rhn
%doc LICENSE answers.txt
%changelog
+* Mon Sep 30 2013 Michael Mraka <michael.mraka(a)redhat.com> 2.1.3-1
+- refer systemIdPath from up2date config
+
* Tue Sep 17 2013 Michael Mraka <michael.mraka(a)redhat.com> 2.1.2-1
- Grammar error occurred
diff --git a/rel-eng/packages/spacewalk-proxy-installer b/rel-eng/packages/spacewalk-proxy-installer
index 3874b50..3964a63 100644
--- a/rel-eng/packages/spacewalk-proxy-installer
+++ b/rel-eng/packages/spacewalk-proxy-installer
@@ -1 +1 @@
-2.1.2-1 proxy/installer/
+2.1.3-1 proxy/installer/
10 years, 6 months
Changes to 'refs/tags/spacewalk-reports-2.1.11-1'
by Michael Mraka
Tag 'spacewalk-reports-2.1.11-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-09-30 08:37 +0000
Tagging package [spacewalk-reports] version [2.1.11-1] in directory [reporting/].
Changes since spacewalk-pylint-0.12-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-reports] release [2.1.11-1].
---
rel-eng/packages/spacewalk-reports | 2 +-
reporting/spacewalk-reports.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
10 years, 6 months
rel-eng/packages reporting/spacewalk-reports.spec
by Michael Mraka
rel-eng/packages/spacewalk-reports | 2 +-
reporting/spacewalk-reports.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit b775f52320627ae031cc5cec1324e1fd32956114
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 30 10:37:35 2013 +0200
Automatic commit of package [spacewalk-reports] release [2.1.11-1].
diff --git a/rel-eng/packages/spacewalk-reports b/rel-eng/packages/spacewalk-reports
index cf4e54c..3ace7ee 100644
--- a/rel-eng/packages/spacewalk-reports
+++ b/rel-eng/packages/spacewalk-reports
@@ -1 +1 @@
-2.1.10-1 reporting/
+2.1.11-1 reporting/
diff --git a/reporting/spacewalk-reports.spec b/reporting/spacewalk-reports.spec
index ec46257..f44ab81 100644
--- a/reporting/spacewalk-reports.spec
+++ b/reporting/spacewalk-reports.spec
@@ -2,7 +2,7 @@ Name: spacewalk-reports
Summary: Script based reporting
Group: Applications/Internet
License: GPLv2
-Version: 2.1.10
+Version: 2.1.11
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -43,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING
%changelog
+* Mon Sep 30 2013 Michael Mraka <michael.mraka(a)redhat.com> 2.1.11-1
+- select from rhnServerNeededCache instead of rhnServerNeededPackageCache
+
* Tue Sep 17 2013 Tomas Kasparek <tkasparek(a)redhat.com> 2.1.10-1
- 1008309 - further imporove postgresql performance
10 years, 6 months
Changes to 'refs/tags/spacewalk-pylint-0.12-1'
by Michael Mraka
Tag 'spacewalk-pylint-0.12-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-09-30 08:36 +0000
Tagging package [spacewalk-pylint] version [0.12-1] in directory [spacewalk/pylint/].
Changes since spacewalk-utils-2.1.18-1:
Michael Mraka (3):
make pylint 1.0 happy about map/filter on lambda
ignore old-style-* pylint warnings for pylint-1.0
Automatic commit of package [spacewalk-pylint] release [0.12-1].
---
backend/common/fileutils.py | 2 +-
backend/common/rhnConfig.py | 2 +-
backend/common/rhnTB.py | 2 +-
backend/common/rhnTranslate.py | 2 +-
backend/common/rhn_rpm.py | 4 ++--
rel-eng/packages/spacewalk-pylint | 2 +-
spacewalk/pylint/spacewalk-pylint.rc | 6 ++++--
spacewalk/pylint/spacewalk-pylint.spec | 16 ++++++++++++++--
8 files changed, 25 insertions(+), 11 deletions(-)
---
10 years, 6 months
3 commits - backend/common rel-eng/packages spacewalk/pylint
by Michael Mraka
backend/common/fileutils.py | 2 +-
backend/common/rhnConfig.py | 2 +-
backend/common/rhnTB.py | 2 +-
backend/common/rhnTranslate.py | 2 +-
backend/common/rhn_rpm.py | 4 ++--
rel-eng/packages/spacewalk-pylint | 2 +-
spacewalk/pylint/spacewalk-pylint.rc | 6 ++++--
spacewalk/pylint/spacewalk-pylint.spec | 16 ++++++++++++++--
8 files changed, 25 insertions(+), 11 deletions(-)
New commits:
commit 1f9236b1d0f0c27bf46eca0111a163cbf2c6d4fd
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Sep 30 10:36:32 2013 +0200
Automatic commit of package [spacewalk-pylint] release [0.12-1].
diff --git a/rel-eng/packages/spacewalk-pylint b/rel-eng/packages/spacewalk-pylint
index 253e245..0b47439 100644
--- a/rel-eng/packages/spacewalk-pylint
+++ b/rel-eng/packages/spacewalk-pylint
@@ -1 +1 @@
-0.11-1 spacewalk/pylint/
+0.12-1 spacewalk/pylint/
diff --git a/spacewalk/pylint/spacewalk-pylint.spec b/spacewalk/pylint/spacewalk-pylint.spec
index deb898b..08ca96d 100644
--- a/spacewalk/pylint/spacewalk-pylint.spec
+++ b/spacewalk/pylint/spacewalk-pylint.spec
@@ -1,5 +1,5 @@
Name: spacewalk-pylint
-Version: 0.11
+Version: 0.12
Release: 1%{?dist}
Summary: Pylint configuration for spacewalk python packages
@@ -58,6 +58,9 @@ rm -rf %{buildroot}
%doc LICENSE
%changelog
+* Mon Sep 30 2013 Michael Mraka <michael.mraka(a)redhat.com> 0.12-1
+- ignore old-style-* pylint warnings for pylint-1.0
+
* Mon Jan 28 2013 Michael Mraka <michael.mraka(a)redhat.com> 0.11-1
- Revert "ignore Container implementation related warnings"
commit e8c173ed53c382fda74cc91ecd9373ffa58ea8db
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Sep 26 11:31:45 2013 +0200
ignore old-style-* pylint warnings for pylint-1.0
diff --git a/spacewalk/pylint/spacewalk-pylint.rc b/spacewalk/pylint/spacewalk-pylint.rc
index 990c8e6..1a04e27 100644
--- a/spacewalk/pylint/spacewalk-pylint.rc
+++ b/spacewalk/pylint/spacewalk-pylint.rc
@@ -12,7 +12,7 @@ persistent=no
[MESSAGES CONTROL]
# Disable the message(s) with the given id(s).
-disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,W0603
+disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,W0603,C1001,W0121
# list of disabled messages:
#I0011: 62: Locally disabling R0201
@@ -27,7 +27,9 @@ disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,
#W0142:228:MPM_Package.write: Used * or ** magic
#W0403: 28: Relative import 'rhnLog', should be 'backend.common.rhnLog'
#W0603: 72:initLOG: Using the global statement
-
+# for pylint-1.0 we also disable
+#C1001: 46, 0: Old-style class defined. (old-style-class)
+#W0121: 33,16: Use raise ErrorClass(args) instead of raise ErrorClass, args. (old-raise-syntax)
[REPORTS]
diff --git a/spacewalk/pylint/spacewalk-pylint.spec b/spacewalk/pylint/spacewalk-pylint.spec
index 0ff4ff0..deb898b 100644
--- a/spacewalk/pylint/spacewalk-pylint.spec
+++ b/spacewalk/pylint/spacewalk-pylint.spec
@@ -10,7 +10,11 @@ Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
-Requires: pylint
+%if 0%{?fedora} >= 19
+Requires: pylint > 1.0
+%else
+Requires: pylint < 1.0
+%endif
BuildRequires: asciidoc
BuildRequires: libxslt
%if 0%{?rhel} && 0%{?rhel} < 6
@@ -34,6 +38,11 @@ install -d -m 755 %{buildroot}/%{_bindir}
install -p -m 755 spacewalk-pylint %{buildroot}/%{_bindir}/
install -d -m 755 %{buildroot}/%{_sysconfdir}
install -p -m 644 spacewalk-pylint.rc %{buildroot}/%{_sysconfdir}/
+%if 0%{?fedora} < 19
+# old pylint don't understand new checks
+sed -i '/disable=/ s/\(,C1001\|,W0121\)//g;' \
+ %{buildroot}%{_sysconfdir}/spacewalk-pylint.rc
+%endif
mkdir -p %{buildroot}/%{_mandir}/man8
install -m 644 spacewalk-pylint.8 %{buildroot}/%{_mandir}/man8
commit 1c7d5686c4ea937b93f62401d340bc5470125469
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Sep 25 16:09:55 2013 +0200
make pylint 1.0 happy about map/filter on lambda
addressing
W: 72,16: map/filter on lambda could be replaced by comprehension (deprecated-lambda)
...
diff --git a/backend/common/fileutils.py b/backend/common/fileutils.py
index bac640a..f8fc12f 100644
--- a/backend/common/fileutils.py
+++ b/backend/common/fileutils.py
@@ -200,7 +200,7 @@ def rhn_popen(cmd, progressCallback=None, bufferSize=16384, outputLog=None):
exitcode = status
break
- fd_set = map(lambda x: x[0], fd_mappings)
+ fd_set = [x[0] for x in fd_mappings]
readfds = select.select(fd_set, [], [])[0]
for in_fd, out_fd in fd_mappings:
diff --git a/backend/common/rhnConfig.py b/backend/common/rhnConfig.py
index 00ce47a..cd88072 100644
--- a/backend/common/rhnConfig.py
+++ b/backend/common/rhnConfig.py
@@ -322,7 +322,7 @@ def parse_comps(component):
return [()]
comps = [c.lower() for c in component.split('.')]
# Now generate the prefixes for this component
- return map(lambda i, a=comps: tuple(a[:i]), range(len(comps)+1))
+ return [tuple(comps[:i]) for i in range(len(comps)+1)]
def parse_line(line):
diff --git a/backend/common/rhnTB.py b/backend/common/rhnTB.py
index 660ac7e..209cac3 100644
--- a/backend/common/rhnTB.py
+++ b/backend/common/rhnTB.py
@@ -164,7 +164,7 @@ def Traceback(method = None, req = None, mail = 1, ostream = sys.stderr,
fr = to
if isinstance(to, type([])):
fr = to[0].strip()
- to = ', '.join(map(lambda x: x.strip(), to))
+ to = ', '.join([x.strip() for x in to])
headers = {
"Subject" : "%s TRACEBACK from %s" % (PRODUCT_NAME, unicode_hostname),
"From" : "%s <%s>" % (hostname, fr),
diff --git a/backend/common/rhnTranslate.py b/backend/common/rhnTranslate.py
index b5d63b3..01522a9 100644
--- a/backend/common/rhnTranslate.py
+++ b/backend/common/rhnTranslate.py
@@ -69,7 +69,7 @@ class i18n:
if isinstance(langs, types.StringType):
langs = [ langs ]
# Filter "C" - we will add it ourselves later anyway
- langs = filter(lambda x: x != 'C', langs)
+ langs = [l for l in langs if l != 'C']
langs.extend(self._default_langs)
self.langs = langs
self._set_catalog()
diff --git a/backend/common/rhn_rpm.py b/backend/common/rhn_rpm.py
index bfa9d82..3e8ac90 100644
--- a/backend/common/rhn_rpm.py
+++ b/backend/common/rhn_rpm.py
@@ -409,13 +409,13 @@ def sortRPMs(rpms):
assert isinstance(rpms, type([]))
# Build a list of (header, rpm)
- helper = map(lambda x: (get_package_header(x), x), rpms)
+ helper = [(get_package_header(x), x) for x in rpms]
# Sort the list using the headers as a comparison
helper.sort(lambda x, y: hdrLabelCompare(x[0], y[0]))
# Extract the rpm names now
- return map(lambda x: x[1], helper)
+ return [x[1] for x in helper]
def getInstalledHeader(rpmName):
10 years, 6 months
Changes to 'refs/tags/spacewalk-utils-2.1.18-1'
by Grant Gainey
Tag 'spacewalk-utils-2.1.18-1' created by Grant Gainey <ggainey(a)redhat.com> at 2013-09-27 13:36 +0000
Tagging package [spacewalk-utils] version [2.1.18-1] in directory [utils/].
Changes since spacewalk-java-2.1.48-1:
Grant Gainey (3):
1012934 - Oracle prepared-stmt cannot have semicolons
1012963 - Don't use :table as a param-name in Oracle prepared stmts
Automatic commit of package [spacewalk-utils] release [2.1.18-1].
Milan Zazrivec (1):
add missing $
Paresh Mutha (1):
refer systemIdPath from up2date config
Silvio Moioli (4):
UserFactory: fix time zone ordering
DataSourceParserTest: fix Oracle case-depentent tests
Orphaned class PushDispatcher removed
UserManagerTest: fix new timezone ordering
Stephen Herr (1):
1012660 - somehow I missed one
---
java/code/src/com/redhat/rhn/common/db/datasource/xml/test_queries.xml | 10
java/code/src/com/redhat/rhn/domain/server/PushDispatcher.hbm.xml | 23 -
java/code/src/com/redhat/rhn/domain/server/PushDispatcher.java | 148 ----------
java/code/src/com/redhat/rhn/domain/server/test/PushDispatcherTest.java | 88 -----
java/code/src/com/redhat/rhn/domain/user/UserFactory.java | 10
java/code/src/com/redhat/rhn/manager/user/test/UserManagerTest.java | 4
java/code/webapp/WEB-INF/pages/errata/packages/packages.jsp | 2
proxy/installer/configure-proxy.sh | 9
rel-eng/packages/spacewalk-utils | 2
utils/spacewalk-archive-audits | 16 -
utils/spacewalk-utils.spec | 6
11 files changed, 35 insertions(+), 283 deletions(-)
---
10 years, 6 months