[katello-devel] Ideas for a ruby interface to our api?

Tomas Strachota tstrachota at redhat.com
Tue Feb 19 16:32:21 UTC 2013


On 02/19/2013 05:23 PM, Tom McKay wrote:
>
>
> ----- Original Message -----
>> From: "Tomas Strachota" <tstrachota at redhat.com>
>> To: katello-devel at redhat.com
>> Sent: Tuesday, February 19, 2013 11:07:51 AM
>> Subject: Re: [katello-devel] Ideas for a ruby interface to our api?
>>
>> On 02/19/2013 03:54 PM, Tom McKay wrote:
>>>
>>> I'd like to whip up a ruby interface to our API. The python based
>>> CLI is not very friendly for scripting, in my opinion. Are there
>>> tools/frameworks/whatever out there that you know of that might
>>> make the task of wrapping our API and exposing it as ruby
>>> commands?
>>>
>>
>> Isn't it a feature of api pie? It provides api bindings wrapped in a
>> gem.
>>
>> But let me ask a question:
>> What exactly do you find so unfriendly about python that it is worth
>> rewriting the cli?
>>
>> Tomas
>>
>>
>
> We have python bindings already? Are there example scripts?
>

Not sure if I understand the question.

If you meant ruby bindings - we don't have them, but the api is 
documented so it should be possible to generate it:
https://github.com/Pajk/apipie-rails#bindings-generator

Tomas




More information about the katello-devel mailing list