Changes to 'refs/tags/spacewalk-java-1.9.54-1'
by Tomas Lestach
Tag 'spacewalk-java-1.9.54-1' created by Tomas Lestach <tlestach(a)redhat.com> at 2013-01-28 17:02 +0000
Tagging package [spacewalk-java] version [1.9.54-1] in directory [java/].
Changes since spacewalk-proxy-installer-1.9.1-1:
Tomas Lestach (3):
889263 - whitelist more actions for the restricted period
905055 - prevent executing both LoginAction and LoginSetupAction when re-logging after successful logout
Automatic commit of package [spacewalk-java] release [1.9.54-1].
---
java/code/src/com/redhat/rhn/frontend/action/LoginAction.java | 3 ++-
java/code/src/com/redhat/rhn/frontend/security/PxtAuthenticationService.java | 8 ++++++--
java/spacewalk-java.spec | 7 ++++++-
rel-eng/packages/spacewalk-java | 2 +-
4 files changed, 15 insertions(+), 5 deletions(-)
---
11 years, 2 months
3 commits - java/code java/spacewalk-java.spec rel-eng/packages
by Tomas Lestach
java/code/src/com/redhat/rhn/frontend/action/LoginAction.java | 3 ++-
java/code/src/com/redhat/rhn/frontend/security/PxtAuthenticationService.java | 8 ++++++--
java/spacewalk-java.spec | 7 ++++++-
rel-eng/packages/spacewalk-java | 2 +-
4 files changed, 15 insertions(+), 5 deletions(-)
New commits:
commit 5bd15b8d321d92ae9ff632f904ee03befcb675cc
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Mon Jan 28 18:02:55 2013 +0100
Automatic commit of package [spacewalk-java] release [1.9.54-1].
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index a0c486f..eb61de2 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: 1.9.53
+Version: 1.9.54
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -659,6 +659,11 @@ fi
%{jardir}/postgresql-jdbc.jar
%changelog
+* Mon Jan 28 2013 Tomas Lestach <tlestach(a)redhat.com> 1.9.54-1
+- 905055 - prevent executing both LoginAction and LoginSetupAction when re-
+ logging after successful logout
+- 889263 - whitelist more actions for the restricted period
+
* Thu Jan 24 2013 Tomas Lestach <tlestach(a)redhat.com> 1.9.53-1
- do not allow changing type of an existing crypto key on CryptoKeyEdit.do page
- simplify CryptoKey isSSL() and isGPG() methods
diff --git a/rel-eng/packages/spacewalk-java b/rel-eng/packages/spacewalk-java
index fa95c23..69e0190 100644
--- a/rel-eng/packages/spacewalk-java
+++ b/rel-eng/packages/spacewalk-java
@@ -1 +1 @@
-1.9.53-1 java/
+1.9.54-1 java/
commit 6600ee362e3316072604265ca95710de1c7f4238
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Mon Jan 28 18:01:11 2013 +0100
905055 - prevent executing both LoginAction and LoginSetupAction when re-logging after successful logout
diff --git a/java/code/src/com/redhat/rhn/frontend/action/LoginAction.java b/java/code/src/com/redhat/rhn/frontend/action/LoginAction.java
index c0f4154..8ebb201 100644
--- a/java/code/src/com/redhat/rhn/frontend/action/LoginAction.java
+++ b/java/code/src/com/redhat/rhn/frontend/action/LoginAction.java
@@ -102,7 +102,8 @@ public class LoginAction extends RhnAction {
RequestContext ctx = new RequestContext(request);
if (e.isEmpty()) {
- if (urlBounce == null || urlBounce.trim().equals("")) {
+ if (urlBounce == null || urlBounce.trim().equals("") ||
+ urlBounce.equals("/rhn/")) {
if (log.isDebugEnabled()) {
log.debug("2 - url bounce is empty using [" + DEFAULT_URL_BOUNCE + "]");
}
commit 78c28cefab2a75cdb404adb5715c1d7b87e3ad88
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Mon Jan 28 16:51:57 2013 +0100
889263 - whitelist more actions for the restricted period
Admin -> Subscriptions -> Software Channel Entitlements (paginate issue)
Admin -> Subscriptions -> Software Channel Entitlements -> <one_of_the_entitlements> -> Organizations (update)
Admin -> Subscriptions -> System Entitlements -> <one_of_the_entitlements> -> Organizations (update)
Systems -> System Set Manager -> Channels -> Child Channels (change)
diff --git a/java/code/src/com/redhat/rhn/frontend/security/PxtAuthenticationService.java b/java/code/src/com/redhat/rhn/frontend/security/PxtAuthenticationService.java
index d931cc2..001d3e7 100644
--- a/java/code/src/com/redhat/rhn/frontend/security/PxtAuthenticationService.java
+++ b/java/code/src/com/redhat/rhn/frontend/security/PxtAuthenticationService.java
@@ -77,9 +77,12 @@ public class PxtAuthenticationService extends BaseAuthenticationService {
// base and add on entitlements
set.add("/rhn/systems/details/Edit.do");
set.add("/rhn/systems/SystemEntitlementsSubmit.do");
- // org system entitlements
+ // system entitlements
+ set.add("/rhn/admin/multiorg/EntitlementOrgs.do");
set.add("/rhn/admin/multiorg/OrgSystemSubscriptions.do");
- // org software channel entitlements
+ // software channel entitlements
+ set.add("/rhn/admin/multiorg/SoftwareEntitlements.do");
+ set.add("/rhn/admin/multiorg/SoftwareEntitlementSubscriptions.do");
set.add("/rhn/admin/multiorg/OrgSoftwareSubscriptions.do");
// satellite software channel entitlements
set.add("/rhn/channels/software/EntitlementsSubmit.do");
@@ -98,6 +101,7 @@ public class PxtAuthenticationService extends BaseAuthenticationService {
set.add("/rhn/systems/details/SystemChannels.do");
set.add("/rhn/channel/ssm/BaseChannelSubscribe.do");
set.add("/rhn/channel/ssm/ChildSubscriptions.do");
+ set.add("/rhn/channel/ssm/ChildSubscriptionsConfirm.do");
// change flex -> regular entitlemnts
set.add("/rhn/systems/entitlements/");
// upload certificate
11 years, 2 months
Changes to 'refs/tags/spacewalk-proxy-installer-1.9.1-1'
by Michael Mraka
Tag 'spacewalk-proxy-installer-1.9.1-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-01-28 15:23 +0000
Tagging package [spacewalk-proxy-installer] version [1.9.1-1] in directory [proxy/installer/].
Changes since spacewalk-backend-1.9.22-1:
Michael Mraka (2):
896125 - use standard option parser
Automatic commit of package [spacewalk-proxy-installer] release [1.9.1-1].
---
proxy/installer/configure-proxy.sh | 71 ++++++++++++++-----------
proxy/installer/spacewalk-proxy-installer.spec | 5 +
rel-eng/packages/spacewalk-proxy-installer | 2
3 files changed, 45 insertions(+), 33 deletions(-)
---
11 years, 2 months
2 commits - proxy/installer rel-eng/packages
by Michael Mraka
proxy/installer/configure-proxy.sh | 71 ++++++++++++++-----------
proxy/installer/spacewalk-proxy-installer.spec | 5 +
rel-eng/packages/spacewalk-proxy-installer | 2
3 files changed, 45 insertions(+), 33 deletions(-)
New commits:
commit c5d47aa02553ddd1f37b5bfaf7345c6f61a96427
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 16:23:40 2013 +0100
Automatic commit of package [spacewalk-proxy-installer] release [1.9.1-1].
diff --git a/proxy/installer/spacewalk-proxy-installer.spec b/proxy/installer/spacewalk-proxy-installer.spec
index 7ea3e62..5b95d6c 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: 1.9.0
+Version: 1.9.1
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -96,6 +96,9 @@ spacewalk-pylint $RPM_BUILD_ROOT/usr/share/rhn
%doc LICENSE answers.txt
%changelog
+* Mon Jan 28 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.9.1-1
+- 896125 - use standard option parser
+
* Thu Jul 26 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.4-1
- make sure username/password is correct
diff --git a/rel-eng/packages/spacewalk-proxy-installer b/rel-eng/packages/spacewalk-proxy-installer
index 0949fb5..ad9fd5b 100644
--- a/rel-eng/packages/spacewalk-proxy-installer
+++ b/rel-eng/packages/spacewalk-proxy-installer
@@ -1 +1 @@
-1.8.4-1 proxy/installer/
+1.9.1-1 proxy/installer/
commit 430faadbe5cd3ff7783782eeaaf117b1c7b61ae2
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jan 17 16:41:38 2013 +0100
896125 - use standard option parser
diff --git a/proxy/installer/configure-proxy.sh b/proxy/installer/configure-proxy.sh
index 4ce948d..bdfe3c3 100755
--- a/proxy/installer/configure-proxy.sh
+++ b/proxy/installer/configure-proxy.sh
@@ -76,13 +76,13 @@ options:
--version=VERSION
Version of Spacewalk Proxy Server you want to activate.
HELP
- exit
+ exit 1
}
parse_answer_file () {
local FILE="$1"
local ALIAS
- . $(echo $FILE | cut -d= -f2-)
+ . "$FILE"
for ALIAS in ${SSL_CNAME[@]}; do
SSL_CNAME_PARSED[CNAME_INDEX++]=--set-cname=$ALIAS
done
@@ -91,37 +91,46 @@ parse_answer_file () {
INTERACTIVE=1
CNAME_INDEX=0
-while [ $# -ge 1 ]; do
- case $1 in
- --help | -h) print_help;;
- --answer-file=*) parse_answer_file $1;;
+OPTS=$(getopt --longoptions=help,answer-file:,non-interactive,version:,rhn-parent:,traceback-email:,use-ssl:,ca-chain:,force-own-ca,http-proxy:,http-username:,http-password:,ssl-build-dir:,ssl-org:,ssl-orgunit:,ssl-common:,ssl-city:,ssl-state:,ssl-country:,ssl-email:,ssl-password:,ssl-cname:,install-monitoring:,enable-scout:,monitoring-parent:,monitoring-parent-ip:,populate-config-channel:,start-services: -n ${0##*/} -- h "$@")
+
+if [ $? != 0 ] ; then
+ print_help
+fi
+
+eval set -- "$OPTS"
+
+while : ; do
+ case "$1" in
+ --help|-h) print_help;;
+ --answer-file) parse_answer_file "$2"; shift;;
--non-interactive) INTERACTIVE=0;;
- --version=*) VERSION=$(echo $1 | cut -d= -f2-);;
- --rhn-parent=*) RHN_PARENT=$(echo $1 | cut -d= -f2-);;
- --traceback-email=*) TRACEBACK_EMAIL=$(echo $1 | cut -d= -f2-);;
- --use-ssl=*) USE_SSL=$(echo $1 | cut -d= -f2-);;
- --ca-chain=*) CA_CHAIN=$(echo $1 | cut -d= -f2-);;
+ --version) VERSION=$2; shift;;
+ --rhn-parent) RHN_PARENT="$2"; shift;;
+ --traceback-email) TRACEBACK_EMAIL="$2"; shift;;
+ --use-ssl) USE_SSL="$2"; shift;;
+ --ca-chain) CA_CHAIN="$2"; shift;;
--force-own-ca) FORCE_OWN_CA=1;;
- --http-proxy=*) HTTP_PROXY=$(echo $1 | cut -d= -f2-);;
- --http-username=*) HTTP_USERNAME=$(echo $1 | cut -d= -f2-);;
- --http-password=*) HTTP_PASSWORD=$(echo $1 | cut -d= -f2-);;
- --ssl-build-dir=*) SSL_BUILD_DIR=$(echo $1 | cut -d= -f2-);;
- --ssl-org=*) SSL_ORG=$(echo $1 | cut -d= -f2-);;
- --ssl-orgunit=*) SSL_ORGUNIT=$(echo $1 | cut -d= -f2-);;
- --ssl-common=*) SSL_COMMON=$(echo $1 | cut -d= -f2-);;
- --ssl-city=*) SSL_CITY=$(echo $1 | cut -d= -f2-);;
- --ssl-state=*) SSL_STATE=$(echo $1 | cut -d= -f2-);;
- --ssl-country=*) SSL_COUNTRY=$(echo $1 | cut -d= -f2-);;
- --ssl-email=*) SSL_EMAIL=$(echo $1 | cut -d= -f2-);;
- --ssl-password=*) SSL_PASSWORD=$(echo $1 | cut -d= -f2-);;
- --ssl-cname=*) SSL_CNAME_PARSED[CNAME_INDEX++]=--set-cname=$(echo $1 | cut -d= -f2-);;
- --install-monitoring=*) INSTALL_MONITORING=$(echo $1 | cut -d= -f2-);;
- --enable-scout=*) ENABLE_SCOUT=$(echo $1 | cut -d= -f2-);;
- --monitoring-parent=*) MONITORING_PARENT_IP=$(echo $1 | cut -d= -f2-);;
- --monitoring-parent-ip=*) MONITORING_PARENT_IP=$(echo $1 | cut -d= -f2-);;
- --populate-config-channel=*) POPULATE_CONFIG_CHANNEL=$(echo $1 | cut -d= -f2-);;
- --start-services=*) START_SERVICES=$(echo $1 | cut -d= -f2-);;
- *) echo Error: Invalid option $1
+ --http-proxy) HTTP_PROXY="$2"; shift;;
+ --http-username) HTTP_USERNAME="$2"; shift;;
+ --http-password) HTTP_PASSWORD="$2"; shift;;
+ --ssl-build-dir) SSL_BUILD_DIR="$2"; shift;;
+ --ssl-org) SSL_ORG="$2"; shift;;
+ --ssl-orgunit) SSL_ORGUNIT="$2"; shift;;
+ --ssl-common) SSL_COMMON="$2"; shift;;
+ --ssl-city) SSL_CITY="$2"; shift;;
+ --ssl-state) SSL_STATE="$2"; shift;;
+ --ssl-country) SSL_COUNTRY="$2"; shift;;
+ --ssl-email) SSL_EMAIL="$2"; shift;;
+ --ssl-password) SSL_PASSWORD="$2"; shift;;
+ --ssl-cname) SSL_CNAME_PARSED[CNAME_INDEX++]=--set-cname="$2"; shift;;
+ --install-monitoring) INSTALL_MONITORING="$2"; shift;;
+ --enable-scout) ENABLE_SCOUT="$2"; shift;;
+ --monitoring-parent) MONITORING_PARENT_IP="$2"; shift;;
+ --monitoring-parent-ip) MONITORING_PARENT_IP="$2"; shift;;
+ --populate-config-channel) POPULATE_CONFIG_CHANNEL="$2"; shift;;
+ --start-services) START_SERVICES="$2"; shift;;
+ --) shift; break;;
+ *) echo Error: Invalid option $1; exit 1;;
esac
shift
done
11 years, 2 months
Changes to 'refs/tags/spacewalk-backend-1.9.22-1'
by Michael Mraka
Tag 'spacewalk-backend-1.9.22-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-01-28 15:07 +0000
Tagging package [spacewalk-backend] version [1.9.22-1] in directory [backend/].
Changes since spacewalk-pylint-0.11-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-backend] release [1.9.22-1].
---
backend/spacewalk-backend.spec | 6 +++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
---
11 years, 2 months
backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/spacewalk-backend.spec | 6 +++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 6af2510d03c5827014e10a34f2ccb2a260008f8e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 16:07:49 2013 +0100
Automatic commit of package [spacewalk-backend] release [1.9.22-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 485f749..db10274 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.9.21
+Version: 1.9.22
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -637,6 +637,10 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Mon Jan 28 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.9.22-1
+- fixed container implementation
+- fixing order of disabled messages
+
* Fri Jan 25 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.9.21-1
- pylint on RHEL6 does not know about W1401
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 2422864..ca9c504 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.9.21-1 backend/
+1.9.22-1 backend/
11 years, 2 months
Changes to 'refs/tags/spacewalk-pylint-0.11-1'
by Michael Mraka
Tag 'spacewalk-pylint-0.11-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-01-28 15:07 +0000
Tagging package [spacewalk-pylint] version [0.11-1] in directory [spacewalk/pylint/].
Changes since spacewalk-web-1.9.9-1:
Michael Mraka (6):
fixing order of disabled messages
fixed container implementation
fixed container implementation
fixed container implementation
Revert "ignore Container implementation related warnings"
Automatic commit of package [spacewalk-pylint] release [0.11-1].
---
backend/common/rhn_deb.py | 9 +++++++++
backend/common/rhn_mpm.py | 5 ++++-
backend/common/rhn_rpm.py | 9 +++++++++
rel-eng/packages/spacewalk-pylint | 2 +-
spacewalk/pylint/spacewalk-pylint.rc | 3 +--
spacewalk/pylint/spacewalk-pylint.spec | 5 ++++-
6 files changed, 28 insertions(+), 5 deletions(-)
---
11 years, 2 months
6 commits - backend/common rel-eng/packages spacewalk/pylint
by Michael Mraka
backend/common/rhn_deb.py | 9 +++++++++
backend/common/rhn_mpm.py | 5 ++++-
backend/common/rhn_rpm.py | 9 +++++++++
rel-eng/packages/spacewalk-pylint | 2 +-
spacewalk/pylint/spacewalk-pylint.rc | 3 +--
spacewalk/pylint/spacewalk-pylint.spec | 5 ++++-
6 files changed, 28 insertions(+), 5 deletions(-)
New commits:
commit 21a3fe120e5c6774faf7d6e6899054ff48315fcd
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 16:07:30 2013 +0100
Automatic commit of package [spacewalk-pylint] release [0.11-1].
diff --git a/rel-eng/packages/spacewalk-pylint b/rel-eng/packages/spacewalk-pylint
index 8d79759..253e245 100644
--- a/rel-eng/packages/spacewalk-pylint
+++ b/rel-eng/packages/spacewalk-pylint
@@ -1 +1 @@
-0.10-1 spacewalk/pylint/
+0.11-1 spacewalk/pylint/
diff --git a/spacewalk/pylint/spacewalk-pylint.spec b/spacewalk/pylint/spacewalk-pylint.spec
index 99e6721..0ff4ff0 100644
--- a/spacewalk/pylint/spacewalk-pylint.spec
+++ b/spacewalk/pylint/spacewalk-pylint.spec
@@ -1,5 +1,5 @@
Name: spacewalk-pylint
-Version: 0.10
+Version: 0.11
Release: 1%{?dist}
Summary: Pylint configuration for spacewalk python packages
@@ -49,6 +49,9 @@ rm -rf %{buildroot}
%doc LICENSE
%changelog
+* Mon Jan 28 2013 Michael Mraka <michael.mraka(a)redhat.com> 0.11-1
+- Revert "ignore Container implementation related warnings"
+
* Fri Jan 25 2013 Michael Mraka <michael.mraka(a)redhat.com> 0.10-1
- ignore Container implementation related warnings
commit dcc603f54974b116431d52f22e92b770edd97082
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 16:04:36 2013 +0100
Revert "ignore Container implementation related warnings"
This reverts commit be79446123458962242fa8fa51e62fdce9d96365.
R0924 check is not implemented in pylint on RHEL6 which causes
Traceback (most recent call last):
File "/usr/bin/pylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 832, in __init__
linter.load_config_file()
File "/usr/lib/python2.6/site-packages/logilab/common/configuration.py", line 655, in load_config_file
provider.set_option(option, value, optdict=optdict)
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 297, in set_option
meth(_id)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 170, in disable
msg = self.check_message_id(msgid)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 227, in check_message_id
raise UnknownMessage('No such message id %s' % msgid)
pylint.utils.UnknownMessage: No such message id R0924
diff --git a/spacewalk/pylint/spacewalk-pylint.rc b/spacewalk/pylint/spacewalk-pylint.rc
index 7671412..990c8e6 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,R0924,W0142,W0403,W0603
+disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,W0603
# list of disabled messages:
#I0011: 62: Locally disabling R0201
@@ -23,7 +23,6 @@ disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,R0924,W0142,
#R0912:171:set_slots_from_cert: Too many branches (59/20)
#R0913:101:GETServer.__init__: Too many arguments (11/10)
#R0914:171:set_slots_from_cert: Too many local variables (38/20)
-#R0924: 30,0:deb_Header: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
#R0915:171:set_slots_from_cert: Too many statements (169/50)
#W0142:228:MPM_Package.write: Used * or ** magic
#W0403: 28: Relative import 'rhnLog', should be 'backend.common.rhnLog'
commit fbff981103d1545ac53b11e943c79516acf8266c
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 15:58:06 2013 +0100
fixed container implementation
fixing
R0924: 30,0:deb_Header: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
diff --git a/backend/common/rhn_deb.py b/backend/common/rhn_deb.py
index a3b9ef0..4dd78d5 100644
--- a/backend/common/rhn_deb.py
+++ b/backend/common/rhn_deb.py
@@ -86,9 +86,18 @@ class deb_Header:
def __getitem__(self, name):
return self.hdr.get(str(name))
+ def __setitem__(self, name, item):
+ self.hdr[name] = item
+
+ def __delitem__(self, name):
+ del self.hdr[name]
+
def __getattr__(self, name):
return getattr(self.hdr, name)
+ def __len__(self):
+ return len(self.hdr)
+
class DEB_Package(A_Package):
def __init__(self, input_stream = None):
A_Package.__init__(self, input_stream)
commit 6057a5e61f494d59e33a26e1f2e1b893cfa17b3d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 15:58:06 2013 +0100
fixed container implementation
fixing
R0924: 65,0:RPM_Header: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
diff --git a/backend/common/rhn_rpm.py b/backend/common/rhn_rpm.py
index ee674b9..8ef1545 100644
--- a/backend/common/rhn_rpm.py
+++ b/backend/common/rhn_rpm.py
@@ -74,9 +74,18 @@ class RPM_Header:
def __getitem__(self, name):
return self.hdr[name]
+ def __setitem__(self, name, item):
+ self.hdr[name] = item
+
+ def __delitem__(self, name):
+ del self.hdr[name]
+
def __getattr__(self, name):
return getattr(self.hdr, name)
+ def __len__(self):
+ return len(self.hdr)
+
def __nonzero__(self):
if self.hdr:
return True
commit d8c76dca9a5b456d7d98cdbe2e20630b1da3132d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jan 28 15:58:06 2013 +0100
fixed container implementation
fixing
R0924: 98,0:MPM_Header: Badly implemented Container, implements __delitem__, __getitem__, __setitem__ but not __len__
diff --git a/backend/common/rhn_mpm.py b/backend/common/rhn_mpm.py
index 324e021..f663fab 100644
--- a/backend/common/rhn_mpm.py
+++ b/backend/common/rhn_mpm.py
@@ -115,6 +115,9 @@ class MPM_Header:
def __getattr__(self, name):
return getattr(self.hdr, name)
+ def __len__(self):
+ return len(self.hdr)
+
@staticmethod
def is_signed():
return 0
commit c73ffdd68cb6d48330f88eba0745ba2a8434d1a5
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 25 13:07:23 2013 +0100
fixing order of disabled messages
diff --git a/backend/common/rhn_mpm.py b/backend/common/rhn_mpm.py
index 8072d67..324e021 100644
--- a/backend/common/rhn_mpm.py
+++ b/backend/common/rhn_mpm.py
@@ -221,7 +221,7 @@ class MPM_Package(A_Package):
self._encode_header(output_stream)
self._encode_payload(output_stream)
- # pylint: disable=W1401,E0012
+ # pylint: disable=E0012,W1401
# now we know header and payload size so rewind back and write lead
lead_arr = (self._magic, 1, "\0" * 3, self.header_flags,
self.payload_flags, self.header_size, self.payload_size, '\0' * 92)
11 years, 2 months
Changes to 'refs/tags/spacewalk-web-1.9.9-1'
by Jan Pazdziora
Tag 'spacewalk-web-1.9.9-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2013-01-28 14:44 +0000
Tagging package [spacewalk-web] version [1.9.9-1] in directory [web/].
Changes since spacewalk-reports-1.9.3-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-web] release [1.9.9-1].
---
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 2 months
rel-eng/packages web/spacewalk-web.spec
by Jan Pazdziora
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit ba44f9138ac519d63fb8608cdf0823ef793bc4e8
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Jan 28 15:44:52 2013 +0100
Automatic commit of package [spacewalk-web] release [1.9.9-1].
diff --git a/rel-eng/packages/spacewalk-web b/rel-eng/packages/spacewalk-web
index b8033ea..a171c55 100644
--- a/rel-eng/packages/spacewalk-web
+++ b/rel-eng/packages/spacewalk-web
@@ -1 +1 @@
-1.9.8-1 web/
+1.9.9-1 web/
diff --git a/web/spacewalk-web.spec b/web/spacewalk-web.spec
index 0e97ab9..8870e92 100644
--- a/web/spacewalk-web.spec
+++ b/web/spacewalk-web.spec
@@ -2,7 +2,7 @@ Name: spacewalk-web
Summary: Spacewalk Web site - Perl modules
Group: Applications/Internet
License: GPLv2
-Version: 1.9.8
+Version: 1.9.9
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk/
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -253,6 +253,9 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Mon Jan 28 2013 Jan Pazdziora 1.9.9-1
+- With removal of TracerList, all_traces is not longer used, removing.
+
* Thu Jan 24 2013 Tomas Lestach <tlestach(a)redhat.com> 1.9.8-1
- 886831 - replace sysdate with current_timestamp for package synchronisation
removal
11 years, 2 months