public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* gnatsweb PR status change messages
@ 2001-10-01  9:07 Joseph S. Myers
  2001-10-01 17:12 ` Gerald Pfeifer
       [not found] ` <Pine.BSF.4.33.0111132228090.38674-100000@pulcherrima.dbai. tuwien.ac.at>
  0 siblings, 2 replies; 7+ messages in thread
From: Joseph S. Myers @ 2001-10-01  9:07 UTC (permalink / raw)
  To: gnats-devel

Gnatsweb 2.9x does not send PR status change messages to the GNATS
address.  This breaks the way it is used for GCC, since developers put a
PR in "feedback" state with the status change message requesting feedback,
but if the user sends feedback it then doesn't get included in the PR,
which may then later get closed wrongly for lack of feedback (feedback
having gone to the mailing lists but not been filed with the PR).

I don't know how GNATS 4 handles this, but it ought to arrange for the
destination and originator addresses of status change messages (and such
headers as Mail-Followup-To) to be such that replies go to all relevant
people (submitter, responsible person, any relevant mailing lists) and the
GNATS address for the replies to be filed.  If it doesn't break mail
clients, perhaps both the GNATS address and that of the person who made
the change should be in the From header.

(FWIW my wishlist for what a bug tracking system for GCC ought to do,
after someone complained about problem with GNATS, is at
http://gcc.gnu.org/ml/gcc-bugs/2001-10/msg00649.html
- how does GNATS 4 do on this?)

A minimal patch for gnatsweb 2.9x is:

--- gnatsweb.pl.orig	Mon Nov 12 17:38:22 2001
+++ gnatsweb.pl	Mon Nov 12 17:38:44 2001
@@ -1299,7 +1299,7 @@
 
     # Get list of people to notify, then add old responsible person.
     # If that person doesn't exist, don't worry about it.
-    %mailto = interested_parties($pr, 0, %fields);
+    %mailto = interested_parties($pr, 1, %fields);
     if(defined($adr = praddr($oldfields{'Responsible'})))
     {
       $mailto{$adr} = 1;

-- 
Joseph S. Myers
jsm28@cam.ac.uk

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnatsweb PR status change messages
  2001-10-01  9:07 gnatsweb PR status change messages Joseph S. Myers
@ 2001-10-01 17:12 ` Gerald Pfeifer
       [not found] ` <Pine.BSF.4.33.0111132228090.38674-100000@pulcherrima.dbai. tuwien.ac.at>
  1 sibling, 0 replies; 7+ messages in thread
From: Gerald Pfeifer @ 2001-10-01 17:12 UTC (permalink / raw)
  To: gnats-devel, Joseph S. Myers

On Mon, 12 Nov 2001, Joseph S. Myers wrote:
> Gnatsweb 2.9x does not send PR status change messages to the GNATS
> address.  This breaks the way it is used for GCC, since developers put a
> PR in "feedback" state with the status change message requesting feedback,
> but if the user sends feedback it then doesn't get included in the PR,
> which may then later get closed wrongly for lack of feedback (feedback
> having gone to the mailing lists but not been filed with the PR).
> [...]
> A minimal patch for gnatsweb 2.9x is:

Thanks!

Yngve, we now have this patch in production on gcc.gnu.org and it works
as expected -- unless there are strong reasons against, I recommend to
include it for the 2.9x branch.

(If you want, I can create a ChangeLog and apply the patch.)

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnatsweb PR status change messages
       [not found] ` <Pine.BSF.4.33.0111132228090.38674-100000@pulcherrima.dbai. tuwien.ac.at>
@ 2001-10-01 17:12   ` Yngve Svendsen
  2001-10-02  7:42   ` Yngve Svendsen
  1 sibling, 0 replies; 7+ messages in thread
From: Yngve Svendsen @ 2001-10-01 17:12 UTC (permalink / raw)
  To: Gerald Pfeifer, gnats-devel, Joseph S. Myers

At 22:29 13.11.2001 +0100, Gerald Pfeifer wrote:
>Thanks!
>
>Yngve, we now have this patch in production on gcc.gnu.org and it works
>as expected -- unless there are strong reasons against, I recommend to
>include it for the 2.9x branch.
>
>(If you want, I can create a ChangeLog and apply the patch.)

Gerald, please do. I have no idea why this wasn't working properly in 
previous 2.9.x versions. Seems it's time for a 2.9.3 pretty soon.

- Yngve

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnatsweb PR status change messages
       [not found] ` <Pine.BSF.4.33.0111132228090.38674-100000@pulcherrima.dbai. tuwien.ac.at>
  2001-10-01 17:12   ` Yngve Svendsen
@ 2001-10-02  7:42   ` Yngve Svendsen
  2001-10-04 15:03     ` Gerald Pfeifer
       [not found]     ` <Pine.BSF.4.33.0111161759040.59032-100000@naos.dbai.tuwien. ac.at>
  1 sibling, 2 replies; 7+ messages in thread
From: Yngve Svendsen @ 2001-10-02  7:42 UTC (permalink / raw)
  To: Gerald Pfeifer, gnats-devel, Joseph S. Myers; +Cc: gnats-gnats

At 22:29 13.11.2001 +0100, Gerald Pfeifer wrote:
>Thanks!
>
>Yngve, we now have this patch in production on gcc.gnu.org and it works
>as expected -- unless there are strong reasons against, I recommend to
>include it for the 2.9x branch.
>
>(If you want, I can create a ChangeLog and apply the patch.)

Hm. After some more consideration, I have decided that this doesn't look 
like the right way to solve the problem. If I am not completely 
misunderstanding the problem, wouldn't the correct way to solve this be to 
set a correct Reply-To header on these messages?

Yngve Svendsen
Gnatsweb maintainer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnatsweb PR status change messages
  2001-10-02  7:42   ` Yngve Svendsen
@ 2001-10-04 15:03     ` Gerald Pfeifer
       [not found]     ` <Pine.BSF.4.33.0111161759040.59032-100000@naos.dbai.tuwien. ac.at>
  1 sibling, 0 replies; 7+ messages in thread
From: Gerald Pfeifer @ 2001-10-04 15:03 UTC (permalink / raw)
  To: Yngve Svendsen; +Cc: gnats-devel, Joseph S. Myers, gnats-gnats

On Thu, 15 Nov 2001, Yngve Svendsen wrote:
> Hm. After some more consideration, I have decided that this doesn't look
> like the right way to solve the problem. If I am not completely
> misunderstanding the problem, wouldn't the correct way to solve this be
> to set a correct Reply-To header on these messages?

Yes, but apart from being slightly more invasive a patch, my personal
experience is that people often ignore the Reply-To while the keep the
Cc.

(If you prefer the Reply-To, I definitely won't object; we just should
try to address this somehow.)

Cheers,
Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnatsweb PR status change messages
       [not found]     ` <Pine.BSF.4.33.0111161759040.59032-100000@naos.dbai.tuwien. ac.at>
@ 2001-10-08 12:49       ` Yngve Svendsen
  2001-10-10 12:19         ` Gerald Pfeifer
  0 siblings, 1 reply; 7+ messages in thread
From: Yngve Svendsen @ 2001-10-08 12:49 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: help-gnats, Joseph S. Myers

At 18:01 16.11.2001 +0100, Gerald Pfeifer wrote:
>On Thu, 15 Nov 2001, Yngve Svendsen wrote:
> > Hm. After some more consideration, I have decided that this doesn't look
> > like the right way to solve the problem. If I am not completely
> > misunderstanding the problem, wouldn't the correct way to solve this be
> > to set a correct Reply-To header on these messages?
>
>Yes, but apart from being slightly more invasive a patch, my personal
>experience is that people often ignore the Reply-To while the keep the
>Cc.
>
>(If you prefer the Reply-To, I definitely won't object; we just should
>try to address this somehow.)

Actually RFC822 states that when a Reply-To header is present in a message, 
the client must always use _only_ the Reply-To list when replying, and not 
contents from any of the other headers, such as From.

I added the following Reply-To line to the current version 2 CVS:
Reply-To: $from, $mailto, $config{'GNATS_ADDR'}

In plaintext, this means that this field will contain all the recipients of 
the message itself (which means users replying will have themselves 
included on the recipient list, but that is a minor inconvenience), the 
 From address (which is the person responsible for the PR) as well as the 
GNATS_ADDR.

Do you think this solves the problem? I was a bit uncertain whether to put 
the $from in the Reply-To, but I decided that would be the most logical 
thing to do.

I'll be kicking out a version 2.9.3 in a few days, just need to put in a 
couple more minor patches first.

- Yngve


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnatsweb PR status change messages
  2001-10-08 12:49       ` Yngve Svendsen
@ 2001-10-10 12:19         ` Gerald Pfeifer
  0 siblings, 0 replies; 7+ messages in thread
From: Gerald Pfeifer @ 2001-10-10 12:19 UTC (permalink / raw)
  To: Yngve Svendsen; +Cc: help-gnats, Joseph S. Myers

On Tue, 20 Nov 2001, Yngve Svendsen wrote:
> I added the following Reply-To line to the current version 2 CVS:
> Reply-To: $from, $mailto, $config{'GNATS_ADDR'}
> [...]
> Do you think this solves the problem? I was a bit uncertain whether to put
> the $from in the Reply-To, but I decided that would be the most logical
> thing to do.

Yes, this looks fine.  Joseph, do you agree?

> I'll be kicking out a version 2.9.3 in a few days, just need to put in a
> couple more minor patches first.

Thanks a lot!

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-21 22:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-01  9:07 gnatsweb PR status change messages Joseph S. Myers
2001-10-01 17:12 ` Gerald Pfeifer
     [not found] ` <Pine.BSF.4.33.0111132228090.38674-100000@pulcherrima.dbai. tuwien.ac.at>
2001-10-01 17:12   ` Yngve Svendsen
2001-10-02  7:42   ` Yngve Svendsen
2001-10-04 15:03     ` Gerald Pfeifer
     [not found]     ` <Pine.BSF.4.33.0111161759040.59032-100000@naos.dbai.tuwien. ac.at>
2001-10-08 12:49       ` Yngve Svendsen
2001-10-10 12:19         ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).