On Tue, Nov 20, 2012 at 1:39 AM, anatoly techtonik <techto...@gmail.com>wrote:

> On Fri, Nov 9, 2012 at 12:00 PM, Ezio Melotti <ezio.melo...@gmail.com>wrote:
>
>> The easiest way is probably by using the XML-RPC interface.
>> Follow the examples here: http://roundup.sourceforge.net/docs/xmlrpc.html
>> You can get the list of all the open (status=1) issues with patches
>> (keyword=2) using roundup_server.filter('issue', None, dict(status=1,
>> keyword=2)).
>>
>
> Patch detection is not reliable - http://bugs.python.org/issue15849
> Is there a way to get list of issues with attachments?
> Docs are silent -
> http://roundup.sourceforge.net/docs/user_guide.html#searching-page
>

Not directly AFAIK.  The "patch" keyword is added automatically when a file
is attached (even if it's not a patch), and unless someone removes (as it
happened with all the PEP 3121/384 issues) it should be set on all the
issues with attachments.
Otherwise you can loop through all the issues and check for their files as
I explained in the previous mail.


>
> You can get the list of files attached to each of the issue using
>> roundup_server.display('issueXXXX', 'files').  I don't know if you can then
>> download the files from there, but you should be able to urlretrieve them
>> from http://bugs.python.org/fileXXXX/.  Note that not all the files are
>> necessary patches, so you might need to do some filtering after the
>> download.
>>
>
Best Regards,
Ezio Melotti
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to