Ubuntu's version of reportbug is a fork that protects against this particular issue, so it might be wise to follow their example. There must be a patch file somewhere, but diff'ing the latest versions of each shows roughly how they square this particular circle. The sources are available at:
Without really understanding how any of this works, the main differences seem to be that the Ubuntu version:
* strips out some Debian-specific behaviour - e.g. handle_debian_ftp()
* Changes several references in failure messages from "blah blah <name of debian server>" to "blah blah <type of server>"
* Defines a specific SMTP server in the config file (presumably because Ubuntu doesn't have an SMTP server by default?)
* Posts to <email address hidden> by default
* For bug reports to ubuntu-users, prints the following message:
In addition to the above, I think it would be a good idea to prepend the following text (or something like it) to the REPORTBUG_NG_INSTRUCTIONS variable in MyMainWindow.py:
<p>This program was designed to report bugs in Ubuntu's parent project, Debian. Unless you know what you're doing, you should report your bug with <a href="https://bugs.launchpad.net/bugs/+filebug">Ubuntu's bug reporting tool</a>.</p>
Ubuntu's version of reportbug is a fork that protects against this particular issue, so it might be wise to follow their example. There must be a patch file somewhere, but diff'ing the latest versions of each shows roughly how they square this particular circle. The sources are available at:
* https:/ /launchpad. net/ubuntu/ intrepid/ +source/ reportbug/ 3.39ubuntu3/ +files/ reportbug_ 3.39ubuntu3. tar.gz ftp.de. debian. org/debian/ pool/main/ r/reportbug/ reportbug_ 3.39-0. 1.tar.gz
* http://
Without really understanding how any of this works, the main differences seem to be that the Ubuntu version:
* strips out some Debian-specific behaviour - e.g. handle_debian_ftp()
* Changes several references in failure messages from "blah blah <name of debian server>" to "blah blah <type of server>"
* Defines a specific SMTP server in the config file (presumably because Ubuntu doesn't have an SMTP server by default?)
* Posts to <email address hidden> by default
* For bug reports to ubuntu-users, prints the following message:
Your bug report has been sent to <email address hidden>. lists.ubuntu. com/mailman/ listinfo/ ubuntu- users lists.ubuntu. com/archives/ ubuntu- users/
You can subscribe to this mailing list at
http://
An archive of this mailing list can be found at
http://
In addition to the above, I think it would be a good idea to prepend the following text (or something like it) to the REPORTBUG_ NG_INSTRUCTIONS variable in MyMainWindow.py:
=== START TEXT ===
<h2>Please use <a href="https:/ /bugs.launchpad .net/bugs/ +filebug">Ubuntu's bug reporting tool</a> to report bugs in Ubuntu</h2>
<p>This program was designed to report bugs in Ubuntu's parent project, Debian. Unless you know what you're doing, you should report your bug with <a href="https:/ /bugs.launchpad .net/bugs/ +filebug">Ubuntu's bug reporting tool</a>.</p>
<p>Bugs reported with reportbug-ng will be sent to the <a href="mailto:<email address hidden>">Ubuntu users mailing list</a>. You can subscribe to this mailing list by going to <a href="http:// lists.ubuntu. com/mailman/ listinfo/ ubuntu- users">http:// lists.ubuntu. com/mailman/ listinfo/ ubuntu- users</a>, or read the archive by going to <a href="http:// lists.ubuntu. com/archives/ ubuntu- users/">http:// lists.ubuntu. com/archives/ ubuntu- users/</a>.</p>
=== END TEXT ===