tags 9596 patch
thanks

Hello BTS maintainers,

Hereby you find a patch to add URLs to the BTS web interface in the
mails the BTS outputs. This patch is against the version of process
that's present in the debbugs package v2.4.1.

I hope this can be applied because it's quite trivial and closes a bug
that has been open for almost eight years.

Thanks,
Thijs Kinkhorst
--- process.prev        2005-03-08 15:43:46.664034152 +0100
+++ process     2005-03-08 16:29:40.273421896 +0100
@@ -14,6 +14,14 @@
 $config_path = '/etc/debbugs';
 $lib_path = '/usr/lib/debbugs';

+# URL of the bugreport.cgi script which will have the bugnumber
+# appended. Default:
+#   http://$gCGIDomain/bugreport.cgi?bug=
+# but could be changed to e.g.
+#   http://bugs.debian.org/
+# to make use of the URL rewriting for shorter urls.
+$bugreportcgi = "http://$gCGIDomain/bugreport.cgi?bug=";;
+
 require "$config_path/config";
 require "$lib_path/errorlib";
 $ENV{'PATH'} = $lib_path.':'.$ENV{'PATH'};
@@ -364,6 +372,9 @@
 $gMaintainer
 (administrator, $gProject $gBugs database)

+$gBug details:
+$bugreportcgi$ref
+
 END

         } else {
@@ -396,6 +407,9 @@
 $gMaintainer
 (administrator, $gProject $gBugs database)

+$gBug details:
+$bugreportcgi$ref
+
 END
             &htmllog("Notification","sent",$data->{originator},
                "$gBug acknowledged by developer.");
@@ -426,6 +440,9 @@
 $gMaintainer
 (administrator, $gProject $gBugs database)

+$gBug details:
+$bugreportcgi$ref
+
 END
         }
        &appendlog;
@@ -610,6 +627,9 @@
 Your message has *not* been sent to any package maintainers; it has
 merely been filed in the $gBug tracking system.  If you require assistance
 please contact $gMaintainerEmail quoting the $gBug number $ref.
+
+$gBug details:
+$bugreportcgi$ref
 END
 }

@@ -718,7 +738,8 @@
 $resentccexplain
 If you wish to submit further information on your problem, please send it
 to [EMAIL PROTECTED] (and *not*
-to [EMAIL PROTECTED]).
+to [EMAIL PROTECTED]). You can find the full details of
+your report at http://$gCGIDomain/bugreport.cgi?bug=$ref

 Please do not reply to the address at the top of this message,
 unless you wish to report a problem with the $gBug-tracking system.
@@ -746,7 +767,8 @@
 $resentccexplain
 If you wish to submit further information on your problem, please send
 it to [EMAIL PROTECTED] (and *not*
-to [EMAIL PROTECTED]).
+to [EMAIL PROTECTED]). You can find the full details of
+your report at http://$gCGIDomain/bugreport.cgi?bug=$ref

 Please do not reply to the address at the top of this message,
 unless you wish to report a problem with the $gBug-tracking system.
@@ -772,8 +794,9 @@
 their attention; they will reply in due course.
 $resentccexplain
 If you wish to submit further information on your problem, please send
-it to [EMAIL PROTECTED] (and *not* to
[EMAIL PROTECTED]).
+it to [EMAIL PROTECTED] (and *not*
+to [EMAIL PROTECTED]). You can find the full details of
+your report at http://$gCGIDomain/bugreport.cgi?bug=$ref

 Please do not reply to the address at the top of this message,
 unless you wish to report a problem with the $gBug-tracking system.
@@ -809,6 +832,8 @@
 $resentccexplain
 If you wish to continue to submit further information on your problem,
 please send it to [EMAIL PROTECTED], as before.
+You can find the full details of your report at
+http://$gCGIDomain/bugreport.cgi?bug=$ref

 Please do not reply to the address at the top of this message,
 unless you wish to report a problem with the $gBug-tracking system.
@@ -835,6 +860,8 @@
 $resentccexplain
 If you wish to continue to submit further information on your problem,
 please send it to [EMAIL PROTECTED], as before.
+You can find the full details of your report at
+http://$gCGIDomain/bugreport.cgi?bug=$ref

 Please do not reply to the address at the top of this message,
 unless you wish to report a problem with the $gBug-tracking system.
@@ -860,6 +887,8 @@
 $resentccexplain
 If you wish to continue to submit further information on your problem,
 please send it to [EMAIL PROTECTED], as before.
+You can find the full details of your report at
+http://$gCGIDomain/bugreport.cgi?bug=$ref

 Please do not reply to the address at the top of this message,
 unless you wish to report a problem with the $gBug-tracking system.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to