Comment 16 for bug 175508

Revision history for this message
Andrew Sayers (andrew-bugs-launchpad-net) wrote : Re: reportbug-ng reports bugs to Debian instead of Ubuntu

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
 * http://ftp.de.debian.org/debian/pool/main/r/reportbug/reportbug_3.39-0.1.tar.gz

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>.
You can subscribe to this mailing list at
    http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
An archive of this mailing list can be found at
    http://lists.ubuntu.com/archives/ubuntu-users/

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 ===