Re: [Spacewalk-devel] API functions eat trailing whitespace (Redstone XML-RPC issue)

2012-01-16 Thread Michael Mraka
Parsons, Aron wrote: % I was making use of configchannel_import in spacecmd at work last week % and noticed that the API seems to eat newlines at the end of a file; % what you put in is not what you get out. Some applications handle it % fine, others not so well; sssd is an example of an

Re: [Spacewalk-devel] [PATCHES] two patches for SUSE support

2012-01-16 Thread Michael Calmer
Hi, Am Donnerstag, 5. Januar 2012, 16:46:04 schrieb Miroslav Suchý: On 01/02/2012 04:30 PM, Michael Calmer wrote: Hi, happy new year. I have attached two small patches to imporove the SUSE client support. The first one is a general workaround for a not installed yum. Currently

Re: [Spacewalk-devel] [PATCHES] two patches for SUSE support

2012-01-16 Thread Jan Pazdziora
On Mon, Jan 16, 2012 at 12:15:26PM +0100, Michael Calmer wrote: easier fix. But I would most rather see there if getPlatform() == 'deb' or isThisSuse(): Ok, but looking into it more deeply I wonder how this can work. I cannot find a function called getPlatform() in the module

Re: [Spacewalk-devel] API functions eat trailing whitespace (Redstone XML-RPC issue)

2012-01-16 Thread Parsons, Aron
Hey Tomas, I haven't had a chance to check yet, but will base64 encoded text files still be editable in the web interface? Or will they just show up as binary that you must download to edit? /aron -Original Message- From: Tomas Lestach [mailto:tlest...@redhat.com] Sent: Monday,

[Spacewalk-devel] [PATCH 1/2] spacecmd bugfix : filter_results don't match substrings without wildcard

2012-01-16 Thread Steven Hardy
filter_results matches substrings without wildcards leading to false positives when evaluating arguments, e.g foo matches foo, foo1, foo2... when only foo* should match the substring matches --- spacecmd/src/lib/utils.py |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git

Re: [Spacewalk-devel] API functions eat trailing whitespace (Redstone XML-RPC issue)

2012-01-16 Thread Tomas Lestach
On Monday 16 of January 2012 14:37:23 Parsons, Aron wrote: Hey Tomas, I haven't had a chance to check yet, but will base64 encoded text files still be editable in the web interface? Or will they just show up as binary that you must download to edit? /aron If the base64 encoded file

Re: [Spacewalk-devel] [PATCHES] two patches for SUSE support

2012-01-16 Thread Michael Calmer
Hi, Am Montag, 16. Januar 2012, 13:01:13 schrieb Jan Pazdziora: On Mon, Jan 16, 2012 at 12:15:26PM +0100, Michael Calmer wrote: easier fix. But I would most rather see there if getPlatform() == 'deb' or isThisSuse(): Ok, but looking into it more deeply I wonder how this can

Re: [Spacewalk-devel] [PATCH 2/2] spacecmd enhancement : multiple delete for kickstart_delete

2012-01-16 Thread Parsons, Aron
Committed. Patch 2/2 was tweaked to make the user prompt a little cleaner. Thanks again and sorry for missing these two the first time. /aron From: Steven Hardy [sha...@redhat.com] Sent: Monday, January 16, 2012 9:50 AM To: Parsons, Aron Cc: