On Mon, Oct 17, 2011 at 04:05:46PM +0200, Ionuț Arțăriși wrote:

> The whole point of this patch for us was so that we could install
> suse patches with the special zypper way. In order for that to
> happen we need to first check if the server supports this new API
> command, so we need a new capability.
> 
> So can you please apply this patch? (zypp-plugin-spacewalk currently
> depends on this capability being provided to install patches
> correctly).
> 
> Thank you,
> Ionuț

> >From 35e7d4257942ac91c21d7120ed5d874032629b72 Mon Sep 17 00:00:00 2001
> From: Michael Calmer <m...@suse.de>
> Date: Wed, 6 Jul 2011 17:51:04 +0200
> Subject: [PATCH] add server capability xmlrpc.errata.patch_names'
> 
> ---
>  backend/server/rhnCapability.py |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/backend/server/rhnCapability.py b/backend/server/rhnCapability.py
> index 1259747..ad6c306 100644
> --- a/backend/server/rhnCapability.py
> +++ b/backend/server/rhnCapability.py
> @@ -186,6 +186,7 @@ def _set_server_capabilities():
>          'rhncfg.filetype.directory'             : {'version' : 1, 'value' : 
> 1},
>          'xmlrpc.packages.extended_profile'      : {'version' : '1-2', 
> 'value' : 1},
>          'xmlrpc.packages.suse_products'         : {'version' : 1, 'value' : 
> 1},
> +        'xmlrpc.errata.patch_names'             : {'version' : 1, 'value' : 
> 1},

Nack -- it does not apply cleanly in Spacewalk master. We don't have
that xmlrpc.packages.suse_products at all so I'm affraid something is
getting lost in the translation.

Also, you might want to put the comment you have in the mail to the
commit message so that we have the documentation of this capability
preserved at least in the commit message.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to