[Spacewalk-devel] [PATCH 2/4] spacecmd enhancement : Add configchannel_import command

2011-12-09 Thread Steve Hardy
Adds command which imports config channels from JSON format exports --- spacecmd/src/lib/configchannel.py | 74 + 1 files changed, 74 insertions(+), 0 deletions(-) diff --git a/spacecmd/src/lib/configchannel.py b/spacecmd/src/lib/configchannel.py index

[Spacewalk-devel] [PATCH 1/4] spacecmd enhancement : Add configchannel_export command

2011-12-09 Thread Steve Hardy
Adds command to export configchannel content to JSON format file --- spacecmd/src/lib/configchannel.py | 124 + 1 files changed, 124 insertions(+), 0 deletions(-) diff --git a/spacecmd/src/lib/configchannel.py b/spacecmd/src/lib/configchannel.py index

[Spacewalk-devel] [PATCH 3/4] spacecmd enhancement : Add configchannel_clone command

2011-12-09 Thread Steve Hardy
Add option to clone configchannels --- spacecmd/src/lib/configchannel.py | 100 + 1 files changed, 100 insertions(+), 0 deletions(-) diff --git a/spacecmd/src/lib/configchannel.py b/spacecmd/src/lib/configchannel.py index 445973d..ae39408 100644 ---

Re: [Spacewalk-devel] lock_web_contact never return with postgres

2011-12-09 Thread Jan Pazdziora
On Tue, Nov 29, 2011 at 05:42:38PM +0100, Michael Calmer wrote: after a little debugging I found out that the following function never return in case of postgres is used: package RHN::DB::User; sub lock_web_contact() It stops at this query: 'SELECT * FROM web_contact WHERE id =

Re: [Spacewalk-devel] [PATCH] some patches for monitoring on postgres and pylint findings

2011-12-09 Thread Jan Pazdziora
On Tue, Nov 29, 2011 at 06:03:26PM +0100, Michael Calmer wrote: Hmm I would be happy to apply that part with s/sysdate/current_timestamp/ But I have problem with that alias. Why replacing it only in one file. It is presented in other files as well. I would welcome to remove it in

Re: [Spacewalk-devel] [PATCH] filename stays the same when kickstart is renamed

2011-12-09 Thread Tomas Lestach
On Thursday 08 of December 2011 15:18:14 Uwe Gansert wrote: On 07.12.2011 17:37, Tomas Lestach wrote: I see your problem. I want to ask, what led you to your solution and why didn't you just store/update the file, when a kickstrat gets renamed? Sorry, it took me that long to check your

Re: [Spacewalk-devel] [PATCH] make reposync more modular

2011-12-09 Thread Jan Pazdziora
On Mon, Dec 05, 2011 at 03:55:07PM +0100, Ionuț Arțăriși wrote: On 12/02/2011 05:36 PM, Jan Pazdziora wrote: On Fri, Dec 02, 2011 at 05:23:25PM +0100, Ionuț Arțăriși wrote: Hello, I've written a patch to make reposync more modular. The essential thing is moving the argument parsing to the