Changes to 'refs/tags/rhnclient-0.16-1'
by Michael Mraka
Tag 'rhnclient-0.16-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-09 09:31 +0000
Tagging package [rhnclient] version [0.16-1] in directory [client/solaris/rhnclient/].
Changes since rhncfg-5.10.33-1:
Michael Mraka (1):
Automatic commit of package [rhnclient] release [0.16-1].
---
client/solaris/rhnclient/rhnclient.spec | 5 ++++-
client/solaris/rhnclient/setup.py | 2 +-
rel-eng/packages/rhnclient | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
---
11 years, 5 months
client/solaris rel-eng/packages
by Michael Mraka
client/solaris/rhnclient/rhnclient.spec | 5 ++++-
client/solaris/rhnclient/setup.py | 2 +-
rel-eng/packages/rhnclient | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 8303ce5b8b52ee175f7f192c69653211c28a756a
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 9 11:31:24 2012 +0200
Automatic commit of package [rhnclient] release [0.16-1].
diff --git a/client/solaris/rhnclient/rhnclient.spec b/client/solaris/rhnclient/rhnclient.spec
index f464e5f..39e16b3 100644
--- a/client/solaris/rhnclient/rhnclient.spec
+++ b/client/solaris/rhnclient/rhnclient.spec
@@ -5,7 +5,7 @@
Summary: Red Hat Network Client Utilities and Libraries
Name: rhnclient
Source0: %{name}-%{version}.tar.gz
-Version: 0.15
+Version: 0.16
Release: 1
License: GPLv2
Group: Development/Libraries
@@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
#%doc ChangeLog COPYING README TODO
%changelog
+* Mon Jul 09 2012 Michael Mraka <michael.mraka(a)redhat.com> 0.16-1
+- Fix typo in 'Fatal error in Python code occured'
+
* Thu Jun 21 2012 Jan Pazdziora 0.15-1
- allow linking against openssl
- %%defattr is not needed since rpm 4.4
diff --git a/client/solaris/rhnclient/setup.py b/client/solaris/rhnclient/setup.py
index 97e0563..486ff8b 100644
--- a/client/solaris/rhnclient/setup.py
+++ b/client/solaris/rhnclient/setup.py
@@ -6,7 +6,7 @@
from distutils.core import setup
setup(name = "rhnclient",
- version = "0.15",
+ version = "0.16",
description = "Red Hat Network Client Utilities and Libraries",
long_description = """\
Red Hat Network Client Utilities
diff --git a/rel-eng/packages/rhnclient b/rel-eng/packages/rhnclient
index 3245db7..1afeac9 100644
--- a/rel-eng/packages/rhnclient
+++ b/rel-eng/packages/rhnclient
@@ -1 +1 @@
-0.15-1 client/solaris/rhnclient/
+0.16-1 client/solaris/rhnclient/
11 years, 5 months
Changes to 'refs/tags/rhncfg-5.10.33-1'
by Michael Mraka
Tag 'rhncfg-5.10.33-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-09 09:30 +0000
Tagging package [rhncfg] version [5.10.33-1] in directory [client/tools/rhncfg/].
Changes since rhn-client-tools-1.8.11-1:
Michael Mraka (1):
Automatic commit of package [rhncfg] release [5.10.33-1].
---
client/tools/rhncfg/rhncfg.spec | 5 ++++-
rel-eng/packages/rhncfg | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 5 months
client/tools rel-eng/packages
by Michael Mraka
client/tools/rhncfg/rhncfg.spec | 5 ++++-
rel-eng/packages/rhncfg | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 9ea938f0c9fe2beef6c220a0525ff855207d268f
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 9 11:30:40 2012 +0200
Automatic commit of package [rhncfg] release [5.10.33-1].
diff --git a/client/tools/rhncfg/rhncfg.spec b/client/tools/rhncfg/rhncfg.spec
index 2985d45..271c494 100644
--- a/client/tools/rhncfg/rhncfg.spec
+++ b/client/tools/rhncfg/rhncfg.spec
@@ -8,7 +8,7 @@ Group: Applications/System
License: GPLv2
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 5.10.32
+Version: 5.10.33
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -112,6 +112,9 @@ fi
# $Id$
%changelog
+* Mon Jul 09 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.10.33-1
+- check symlink not target file existence
+
* Thu Jun 28 2012 Michael Mraka <michael.mraka(a)redhat.com> 5.10.32-1
- 765816 - value of selinux context is important
diff --git a/rel-eng/packages/rhncfg b/rel-eng/packages/rhncfg
index 0baf7bd..5e96415 100644
--- a/rel-eng/packages/rhncfg
+++ b/rel-eng/packages/rhncfg
@@ -1 +1 @@
-5.10.32-1 client/tools/rhncfg/
+5.10.33-1 client/tools/rhncfg/
11 years, 5 months
Changes to 'refs/tags/rhn-client-tools-1.8.11-1'
by Michael Mraka
Tag 'rhn-client-tools-1.8.11-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2012-07-09 09:29 +0000
Tagging package [rhn-client-tools] version [1.8.11-1] in directory [client/rhel/rhn-client-tools/].
Changes since spacewalk-utils-1.8.21-1:
Jan Hutar (1):
Fix typo in 'Fatal error in Python code occured'
Michael Mraka (2):
check symlink not target file existence
Automatic commit of package [rhn-client-tools] release [1.8.11-1].
---
client/rhel/rhn-client-tools/rhn-client-tools.spec | 5 ++++-
client/rhel/rhn-client-tools/src/bin/rhn_check.py | 2 +-
client/solaris/rhnclient/rhn_check.py | 2 +-
client/tools/rhncfg/config_common/transactions.py | 2 +-
rel-eng/packages/rhn-client-tools | 2 +-
5 files changed, 8 insertions(+), 5 deletions(-)
---
11 years, 5 months
client/rhel rel-eng/packages
by Michael Mraka
client/rhel/rhn-client-tools/rhn-client-tools.spec | 5 ++++-
rel-eng/packages/rhn-client-tools | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 4178aa855af54af55a613ca279097ec42fd69447
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 9 11:29:27 2012 +0200
Automatic commit of package [rhn-client-tools] release [1.8.11-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index e701bf0..fbf1a54 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.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: rhn-client-tools
-Version: 1.8.10
+Version: 1.8.11
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -339,6 +339,9 @@ make -f Makefile.rhn-client-tools test
%endif
%changelog
+* Mon Jul 09 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.11-1
+- Fix typo in 'Fatal error in Python code occured'
+
* Wed Jul 04 2012 Miroslav Suchý <msuchy(a)redhat.com> 1.8.10-1
- read memory information even on kernels 3.x
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index 6f01091..49aea6d 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-1.8.10-1 client/rhel/rhn-client-tools/
+1.8.11-1 client/rhel/rhn-client-tools/
11 years, 5 months
client/tools
by Michael Mraka
client/tools/rhncfg/config_common/transactions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 08c885bfd66cc3cb85412317c31ffcd393d5fd3b
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 9 11:27:12 2012 +0200
check symlink not target file existence
fixing broken link backups
diff --git a/client/tools/rhncfg/config_common/transactions.py b/client/tools/rhncfg/config_common/transactions.py
index 5164394..c2ec5f1 100644
--- a/client/tools/rhncfg/config_common/transactions.py
+++ b/client/tools/rhncfg/config_common/transactions.py
@@ -92,7 +92,7 @@ class DeployTransaction:
if os.path.islink(path):
log_debug(9, "copying symlink %s to %s"% (path,new_path_dir))
linkto = os.readlink(path)
- if os.path.exists(new_path):
+ if os.path.lexists(new_path):
log_debug(9, "symlink %s exists, removing it"% (path))
os.unlink(new_path)
os.symlink(linkto,new_path)
11 years, 5 months
client/rhel client/solaris
by Jan Hutař
client/rhel/rhn-client-tools/src/bin/rhn_check.py | 2 +-
client/solaris/rhnclient/rhn_check.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c1ba29d428d54422af00dc03a85c377bb6bc0b7f
Author: Jan Hutar <jhutar(a)redhat.com>
Date: Mon Jul 9 09:26:27 2012 +0200
Fix typo in 'Fatal error in Python code occured'
diff --git a/client/rhel/rhn-client-tools/src/bin/rhn_check.py b/client/rhel/rhn-client-tools/src/bin/rhn_check.py
index 802b102..8ee23ab 100755
--- a/client/rhel/rhn-client-tools/src/bin/rhn_check.py
+++ b/client/rhel/rhn-client-tools/src/bin/rhn_check.py
@@ -351,7 +351,7 @@ class CheckCli(rhncli.RhnCli):
log.log_exception(*sys.exc_info())
# The action code failed in some way. let's let the server know.
status = 6,
- message = "Fatal error in Python code occured"
+ message = "Fatal error in Python code occurred"
data = {}
return (status, message, data)
diff --git a/client/solaris/rhnclient/rhn_check.py b/client/solaris/rhnclient/rhn_check.py
index 10a88fb..38afcd2 100755
--- a/client/solaris/rhnclient/rhn_check.py
+++ b/client/solaris/rhnclient/rhn_check.py
@@ -153,7 +153,7 @@ def run_action(method, params):
traceback.print_exc()
# wrong number of arguments, wrong type of arguments, etc
status = 6,
- message = "Fatal error in Python code occured"
+ message = "Fatal error in Python code occurred"
data = {}
except UnknownXML:
log.log_debug("Got unknown XML-RPC call", method, params)
11 years, 5 months
Changes to 'refs/tags/spacewalk-utils-1.8.21-1'
by StephenHerr
Tag 'spacewalk-utils-1.8.21-1' created by Stephen Herr <sherr(a)redhat.com> at 2012-07-06 18:01 +0000
Tagging package [spacewalk-utils] version [1.8.21-1] in directory [utils/].
Changes since spacewalk-java-1.8.105-1:
Stephen Herr (2):
838131 - spacewalk-clone-by-date can clone only security errata
Automatic commit of package [spacewalk-utils] release [1.8.21-1].
Steven Hardy (1):
spacecmd : Fix kickstart_export with old API versions
---
rel-eng/packages/spacewalk-utils | 2 +-
spacecmd/src/lib/kickstart.py | 7 +++++--
utils/cloneByDate.py | 24 ++++++++++++++++++------
utils/spacewalk-clone-by-date | 5 ++++-
utils/spacewalk-clone-by-date.sgml | 9 +++++++++
utils/spacewalk-utils.spec | 5 ++++-
6 files changed, 41 insertions(+), 11 deletions(-)
---
11 years, 5 months
2 commits - rel-eng/packages utils/cloneByDate.py utils/spacewalk-clone-by-date utils/spacewalk-clone-by-date.sgml utils/spacewalk-utils.spec
by StephenHerr
rel-eng/packages/spacewalk-utils | 2 +-
utils/cloneByDate.py | 24 ++++++++++++++++++------
utils/spacewalk-clone-by-date | 5 ++++-
utils/spacewalk-clone-by-date.sgml | 9 +++++++++
utils/spacewalk-utils.spec | 5 ++++-
5 files changed, 36 insertions(+), 9 deletions(-)
New commits:
commit 37d57748ea8f8b273111738b932f71d74c08e642
Author: Stephen Herr <sherr(a)redhat.com>
Date: Fri Jul 6 14:01:36 2012 -0400
Automatic commit of package [spacewalk-utils] release [1.8.21-1].
diff --git a/rel-eng/packages/spacewalk-utils b/rel-eng/packages/spacewalk-utils
index 8ea3623..ee505c7 100644
--- a/rel-eng/packages/spacewalk-utils
+++ b/rel-eng/packages/spacewalk-utils
@@ -1 +1 @@
-1.8.20-1 utils/
+1.8.21-1 utils/
diff --git a/utils/spacewalk-utils.spec b/utils/spacewalk-utils.spec
index 215ec05..479160a 100644
--- a/utils/spacewalk-utils.spec
+++ b/utils/spacewalk-utils.spec
@@ -1,7 +1,7 @@
%define rhnroot %{_prefix}/share/rhn
Name: spacewalk-utils
-Version: 1.8.20
+Version: 1.8.21
Release: 1%{?dist}
Summary: Utilities that may be run against a Spacewalk server.
@@ -86,6 +86,9 @@ spacewalk-pylint $RPM_BUILD_ROOT%{rhnroot}
%changelog
+* Fri Jul 06 2012 Stephen Herr <sherr(a)redhat.com> 1.8.21-1
+- 838131 - spacewalk-clone-by-date can clone only security errata
+
* Thu Jun 14 2012 Michael Mraka <michael.mraka(a)redhat.com> 1.8.20-1
- system.list_user_systems() now returns localtime
commit 1986c8a6ca64545c8f711d78e4e189f567c25694
Author: Stephen Herr <sherr(a)redhat.com>
Date: Fri Jul 6 14:01:29 2012 -0400
838131 - spacewalk-clone-by-date can clone only security errata
diff --git a/utils/cloneByDate.py b/utils/cloneByDate.py
index adbe328..2497245 100644
--- a/utils/cloneByDate.py
+++ b/utils/cloneByDate.py
@@ -134,7 +134,9 @@ def main(options):
needed_channels = []
for channel_list in options.channels:
tree_cloner = ChannelTreeCloner(channel_list, xmlrpc, db,
- options.to_date, options.blacklist, options.removelist, options.background)
+ options.to_date, options.blacklist,
+ options.removelist, options.background,
+ options.security_only)
cloners.append(tree_cloner)
needed_channels += tree_cloner.needing_create().values()
@@ -177,14 +179,16 @@ def main(options):
class ChannelTreeCloner:
"""Usage:
- a = ChannelTreeCloner(channel_hash, xmlrpc, db, to_date, blacklist)
+ a = ChannelTreeCloner(channel_hash, xmlrpc, db, to_date, blacklist,
+ removelist, detached, security_only)
a.create_channels()
a.prepare()
a.clone()
"""
# pylint: disable=R0902
def __init__(self, channels, remote_api, db_api, to_date, blacklist,
- removelist, detached):
+ removelist, detached,
+ security_only):
self.remote_api = remote_api
self.db_api = db_api
self.channel_map = channels
@@ -196,12 +200,14 @@ class ChannelTreeCloner:
self.src_parent = None
self.channel_details = None
self.detached = detached
+ self.security_only = security_only
self.validate_source_channels()
for from_label in self.ordered_labels():
to_label = self.channel_map[from_label]
cloner = ChannelCloner(from_label, to_label, self.to_date,
- self.remote_api, self.db_api, self.detached)
+ self.remote_api, self.db_api, self.detached,
+ self.security_only)
self.cloners.append(cloner)
@@ -384,7 +390,8 @@ class ChannelTreeCloner:
class ChannelCloner:
# pylint: disable=R0902
- def __init__(self, from_label, to_label, to_date, remote_api, db_api, detached):
+ def __init__(self, from_label, to_label, to_date, remote_api, db_api,
+ detached, security_only):
self.remote_api = remote_api
self.db_api = db_api
self.from_label = from_label
@@ -396,6 +403,7 @@ class ChannelCloner:
self.new_pkg_hash = {}
self.old_pkg_hash = {}
self.detached = detached
+ self.security_only = security_only
def dest_label(self):
@@ -509,7 +517,11 @@ class ChannelCloner:
for err in available_errata:
if err['issue_date'].date() <= self.to_date.date():
- to_clone.append(err)
+ if self.security_only:
+ if err['advisory_type'] == 'Security Advisory':
+ to_clone.append(err)
+ else:
+ to_clone.append(err)
return (to_clone, available_errata)
diff --git a/utils/spacewalk-clone-by-date b/utils/spacewalk-clone-by-date
index e919453..6b1b775 100755
--- a/utils/spacewalk-clone-by-date
+++ b/utils/spacewalk-clone-by-date
@@ -40,6 +40,7 @@ SAMPLE_CONFIG = """
"assumeyes":true,
"to_date": "2011-10-01",
"skip_depsolve":false,
+ "security_only":false,
"blacklist": {
"ALL":["sendmail"],
"my-rhel5-x86_64-clone":["emacs"],
@@ -80,7 +81,8 @@ def merge_config(options):
#if soemthing is in the config and not passed in as an argument
# add it to options
overwrite = ["username", "password", "blacklist", "removelist", "channels",
- "server", "assumeyes", "to_date", "skip_depsolve"]
+ "server", "assumeyes", "to_date", "skip_depsolve",
+ "security_only"]
for key in overwrite:
if config.has_key(key) and not getattr(options, key):
setattr(options, key, config[key])
@@ -134,6 +136,7 @@ def parse_args():
parser.add_option("-k", "--skip_depsolve", dest='skip_depsolve', action='store_true', help="Skip all dependency solving (Not recommended).")
parser.add_option("-v", "--validate", dest='validate', action='store_true', help="Run repoclosure on the set of specified repositories.")
parser.add_option("-g", "--background", dest='background', action='store_true', help="Clone the errata in the background. Prompt will return quicker; before cloning is finished.")
+ parser.add_option("-o", "--security_only", dest='security_only', action='store_true', help="Only clone security errata (and their dependencies).")
(options, args) = parser.parse_args()
diff --git a/utils/spacewalk-clone-by-date.sgml b/utils/spacewalk-clone-by-date.sgml
index 12c4391..a70217f 100644
--- a/utils/spacewalk-clone-by-date.sgml
+++ b/utils/spacewalk-clone-by-date.sgml
@@ -64,6 +64,9 @@ Utility for cloning errata by date.
<arg>-y</arg><arg> --assumeyes </arg>
</cmdsynopsis>
<cmdsynopsis>
+ <arg>-o</arg><arg> --security_only </arg>
+ </cmdsynopsis>
+ <cmdsynopsis>
<arg>-g</arg><arg> --background</arg>
</cmdsynopsis>
<cmdsynopsis>
@@ -138,6 +141,12 @@ Utility for cloning errata by date.
</listitem>
</varlistentry>
<varlistentry>
+ <term> -o --security_only</term>
+ <listitem>
+ <para>Clone only security errata (and their dependencies).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term> -v --validate</term>
<listitem>
<para>Run repoclosure on all provided channels. This overrides --to_date and will not perform any cloning.</para>
11 years, 5 months