Hello Satoru,

thank you for renaming the script.

I've committed swapi.py to spacewalk master:
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=fdf4f3e4de3de3526e66926a86f4b9c851f19faa


Thank you!
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat


----- "Satoru SATOH" <[email protected]> wrote:

> Tomas-san, thank for your comments!
> 
> 
> I have no objection to rename it and have already renamed it to
> 'swapi.py'.
> 
>  http://github.com/ssato/misc/blob/master/swapi.py
> 
> If its name still has any problems, I'll choose another name for it
> so
> please let me know.
> 
> - satoru
> 
> On Mon, Apr 26, 2010 at 07:45:58AM -0400, Tomas Lestach wrote:
> > ----- "Satoru SATOH" <[email protected]> wrote:
> > 
> > > I updated my script [1] and now it's possible to call a API with
> > > multiple different arguments at a time.
> > > 
> > > example. Get some errata synopsis gotten from RHN at once.
> > > 
> > >   ./spacewalk-api.py --list-args RHSA-2010:0360,RHSA-2010:0361 \
> > >         -F "%(errata_synopsis)s" errata.getDetails
> > > 
> > > 
> > > BTW, I want to contribute and get it merged into somewhere in
> > > spacewalk
> > > repository (contrib?) if possible. 
> > 
> > Hey Satoru,
> > 
> > contrib will be the right place for your script. :-)
> > 
> > I'd just ask you to think out a different name for you script,
> because we already have spacewalk-api in spacewalk-utils package and
> update your script accordingly.
> > Then I'll be happy yo commit your script.
> > 
> > Best Regards,
> > Tomas
> > 
> > --
> > Tomas Lestach
> > RHN Satellite Engineering, Red Hat
> > 
> > 
> > > Could you someone please take a
> > > look
> > > at it?
> > > 
> > > 
> > > [1] http://github.com/ssato/misc/blob/master/spacewalk-api.py
> > > 
> > > - satoru
> > > 
> > > On Sun, Apr 18, 2010 at 11:23:44PM +0900, Satoru SATOH wrote:
> > > > Hello,
> > > > 
> > > > 
> > > > I wrote a small python script to call spacewalk/rhn API from
> > > command
> > > > line just like utils/spacewalk-api does.
> > > > 
> > > > It has some nifty features IMO and perhaps might be useful for
> > > others.
> > > > 
> > > > 
> > > > Features of my script:
> > > > 
> > > >   * Api arguements can be passed from command line.
> > > > 
> > > >   * Default result format is JSON; it's pretty easy to
> customize
> > > output
> > > >     format as needed.
> > > > 
> > > >   * Utilize config file to set authentication parameters to cut
> out
> > > >     the need of specifying these with command line options or
> > > typing
> > > >     these everytime.
> > > > 
> > > >   * Query results are cached by default. It should be first to
> get
> > > >     the results if same api is called with same arguments next
> > > time.
> > > > 
> > > > 
> > > > Download:
> http://github.com/ssato/misc/blob/master/spacewalk-api.py
> > > 
> > > _______________________________________________
> > > Spacewalk-devel mailing list
> > > [email protected]
> > > https://www.redhat.com/mailman/listinfo/spacewalk-devel
> > 
> > _______________________________________________
> > Spacewalk-devel mailing list
> > [email protected]
> > https://www.redhat.com/mailman/listinfo/spacewalk-devel
> 
> _______________________________________________
> Spacewalk-devel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-devel

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to