Hello team,
Here follow 3 patches which includes a capability to Spacewalk
ignore to start some services when running the
/usr/sbin/spacewalk-service script.
Below is an example after applied the patch excluding the Taskomatic
service to be started:
# cat /etc/rhn/disabled-services
DIS
Patches are committed. It looks like Tomas added the functionality you need to
export base64 files, so feel free to submit patches to add that functionality
when you have time.
/aron
From: Steven Hardy [sha...@redhat.com]
Sent: Monday, January 23, 2012 8
On Monday 16 of January 2012 02:19:39 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.
I've introduced
configchannel.getEncodedFileRevisi
Hi Aron,
On Mon, 2012-01-16 at 02:19 +, 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 n
If no channel arg passed avoid failing with an api error, instead exit with an
error message
---
spacecmd/src/lib/configchannel.py |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/spacecmd/src/lib/configchannel.py
b/spacecmd/src/lib/configchannel.py
index 884a138..deb01
Interactive mode takes a configchannel without -c switch, so allow this format
to be valid also for non-interactive mode (similar to other commands), original
-c syntax is unchanged.
---
spacecmd/src/lib/configchannel.py |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a
Lists only the latest version of a package in a channel, for each arch
---
spacecmd/src/lib/softwarechannel.py | 56 +++
spacecmd/src/lib/utils.py | 17 ++
2 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/spacecmd/src/lib/softwar
Detect trailing newlines on import and base64 encode to avoid them getting eaten
by the API
---
spacecmd/src/lib/configchannel.py | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/spacecmd/src/lib/configchannel.py
b/spacecmd/src/lib/configchannel.py
index 9740b06
Automatically detect when a file needs to be uploaded base64 encoded
---
spacecmd/src/lib/configchannel.py | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/spacecmd/src/lib/configchannel.py
b/spacecmd/src/lib/configchannel.py
index 0391490..af8ae0d
Allow configchannel_addfile to base64 encode content so binary files (or text
files which prove problematic to upload via the API) can be uploaded
---
spacecmd/src/lib/configchannel.py | 21 +++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/spacecmd/src/lib/co
We should flag an error when binary (or other problematic files such as those
containing the ascii escape character) don't get exported with any contents,
therefore can't be imported.
---
spacecmd/src/lib/configchannel.py | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
passing timeout via -t causes an error as it needs to be int type as in
interactive mode
---
spacecmd/src/lib/system.py |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/spacecmd/src/lib/system.py b/spacecmd/src/lib/system.py
index 7080c4a..8238324 100644
--- a/spacecmd/
12 matches
Mail list logo