Re: add-to-owners helper script...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/19/06, Luke Macken <lmacken@xxxxxxxxxx> wrote:
Grabbing the CC list can easily be automated using Bugzilla's xmlrpc
API.  Here is an example in python:

    import xmlrpclib
    server = xmlrpclib.Server('https://bugzilla.redhat.com/bugzilla/xmlrpc.cgi')
    server.bugzilla.getBug(BUG_NUMBER)['cc']

Now that I think about it, all you really need for a script like this is
the Bug #.  From there, you could just parse the comments for the SPEC
file url, then parse the spec for the package name and summary.

Good idea, but I think we've left the realm of "simple" with this one
:)  Plus there's no guarantee the cc list on the review bug will be
the same as the ongoing cc list; and the person executing this ought
to be the packager -- who will hopefully either have it installed
already or a rpm somewhere on their system.

This is just aimed at being an extremely limited, one-function tool,
to do the initial add to owners.list.  For anything more, Steve's
owners-maint is much more appropriate.

                   -Chris
--
Chris Weyl
Ex astris, scientia

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux