<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Serif'; font-size:9pt; font-weight:400; font-style:normal;">Hi,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Attached is a patch for reportbug (querybts) to make it run on Windows.<br>
There are 2 modules, pwd and tempfile, which are platform dependent, not available on Windows. These 2 modules are only needed for the reportbug tool and are not required for a query to the BTS.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I have a plain patch to just handle imports for these 2 modules. Another option could be to separate platform specific modules to a separate file.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Why this should be done?<br>
I have an application, pypt-offline, an offline package manager for Debian. One of the core features for it is to be able to download bug reports and make it available offline.<br>
I'd like to use reportbug for my app's bug fetch requirement because reportbug is the most used bts tool in Debian and thus the best maintained. :-)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Ritesh<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>----------  Forwarded Message  ----------<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Subject: reportbug patch<br>
Date: Saturday 04 Apr 2009<br>
From: Ritesh Raj Sarraf &lt;rrs@researchut.com&gt;<br>
To: Ritesh Raj Sarraf &lt;riteshsarraf@gmail.com&gt;<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
Ritesh Raj Sarraf<br>
RESEARCHUT - http://www.researchut.com<br>
"Necessity is the mother of invention."<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>