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 PROTECTED] by default
 * For bug reports to ubuntu-users, prints the following message:

Your bug report has been sent to [EMAIL PROTECTED]
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 PROTECTED]">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 ===

-- 
reportbug-ng reports bugs to Debian instead of Ubuntu
https://bugs.launchpad.net/bugs/175508
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to