Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181163 - In mails, set from to bug #
Summary: In mails, set from to bug #
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 06:18 UTC by Alexander Skwar
Modified: 2011-10-30 23:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2007-06-07 06:18:07 UTC
When I get a mail from the Mandriva bugzilla, the from is set like this:

From: Bug 31228 <bugzilla@qa.mandrivalinux.com>

Ie., in the "realname" part, the bug number is mentioned.

It would be nice, if something like that could be done for the gentoo bugzilla mails as well.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 06:50:50 UTC
Not From, please. If you want to mangle something, do it in Subject (like bug-wranglers@ mail does already).
Comment 2 Alexander Skwar 2007-06-07 06:54:31 UTC
(In reply to comment #1)
> Not From, please. If you want to mangle something, do it in Subject (like
> bug-wranglers@ mail does already).
> 

Why not "From"?

As it is right now, Gentoo bugzilla sends:

From: bugzilla-daemon@gentoo.org

This RFE is to ADD something to that, so that the from of the mail which will now be generated reads:

From: Bug 181163 <bugzilla-daemon@gentoo.org>

If you now filter on "bugzilla-daemon@gentoo.org" to be present in the "From:" header line, you'll be able to do so in the future.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 06:57:40 UTC
(In reply to comment #2)
> Why not "From"?

Because it doesn't make sense there. Bug # is info about subject, not about the sender. The sender is always the same, not one per bug.
Comment 4 Alexander Skwar 2007-06-07 06:59:47 UTC
Yes, it DOES make sense to add this information (ie. the bug #) also in the From, as it makes it easier to directly see, what bug send this message.
Comment 5 Alexander Skwar 2007-06-07 07:01:52 UTC
And BTW: Why would it be bad to have this information there as well? I see that it makes sense to have it in the subject as well, but it does make sense to have it From: as well.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 07:05:15 UTC
(In reply to comment #4)
> Yes, it DOES make sense to add this information (ie. the bug #) also in the
> From, as it makes it easier to directly see, what bug send this message.

Sigh...  The info is *already there* in Subject. Did you turn off subject display in your mail reader, or what? Why do you want to duplicate this info to headers where it obviously doesn't belong to? If you want to do anything about From, then it should set Gentoo Bugzilla <bugzilla-daemon@gentoo.org>, not [Bug 123456] <bugzilla-daemon@gentoo.org>
Comment 7 Alexander Skwar 2007-06-07 07:07:29 UTC
*sigh* you as well.

Again: What's bad about duplicating the info? I already wrote, why I think that this would be a good idea: It makes it easier to spot, from where the message comes. And because of this, it should be set to "Bug
123456 <bugzilla-daemon@gentoo.org>" and not "Gentoo Bugzilla <bugzilla-daemon@gentoo.org>".

But maybe you can explain why you oppose?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 07:11:16 UTC
(In reply to comment #7)
> But maybe you can explain why you oppose?

Simply because bug #123456 didn't send you any email, bugzilla did. It doesn't belong there.

Comment 9 Alexander Skwar 2007-06-07 07:18:34 UTC
And what's bad about it?

The mail is coming from this bug. Why not add this information there as well? If you wouldn't make use of this feature - fine! Simply ignore it.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 07:24:32 UTC
(In reply to comment #9)
> And what's bad about it?
> 
> The mail is coming from this bug. Why not add this information there as well?
> If you wouldn't make use of this feature - fine! Simply ignore it.

Because it makes sorting mail by sender totally useless, for starters. Is this a good enough reason for you to stop pushing this?
Comment 11 Alexander Skwar 2007-06-07 07:26:13 UTC
Nope, it's not, because it's not true, as the sender information (bugzilla-daemon@gentoo.org) is still present in the From: line. Note that I did not say that "bugzilla-daemon@gentoo.org" should be removed; I'm advocating, that something is added.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 07:32:47 UTC
(In reply to comment #11)
> Nope, it's not, because it's not true

Maybe if you could compare these two displays:

bugzilla-daemon@gentoo.org
bugzilla-daemon@gentoo.org
bugzilla-daemon@gentoo.org
bugzilla-daemon@gentoo.org
bugzilla-daemon@gentoo.org
bugzilla-daemon@gentoo.org
bugzilla-daemon@gentoo.org

vs.

Bug 152634 <bugzilla-daemon@gentoo.org>
Bug 78956 <bugzilla-daemon@gentoo.org>
Bug 148963 <bugzilla-daemon@gentoo.org>
Bug 468953 <bugzilla-daemon@gentoo.org>
Bug 178965 <bugzilla-daemon@gentoo.org>
Bug 56328 <bugzilla-daemon@gentoo.org>
Bug 23987 <bugzilla-daemon@gentoo.org>

and tell me which one is easier to visually parse and sort? Stop adding irrelevant info to From.
Comment 13 Alexander Skwar 2007-06-07 07:42:33 UTC
The latter one, as it clearly shows, to which bug the message belongs. The message number is NOT irrelevant. As said: If you wouldn't make use of this feature, then just don't.

As far as filtering the message goes - it's still no problem, as "bugzilla-daemon@gentoo.org" is still present.

Maybe you could explain, why you think that having only "bugzilla-daemon@gentoo.org" (or maybe "Gentoo Bugzilla <bugzilla-daemon@gentoo.org>") is in advantage? Is it just because of the way, that you work?
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-06-07 07:45:27 UTC
If you're really that picky, I'll give you a custom X-Bugzilla-BugID header, and you can mangle your own From lines.

A bug is not an entity that is sending mail. The mail is from "Bugzilla", regarding "[Bug 181163] In mails, set from to bug #".

Message-ID and references are set properly so that bugs will thread in your mail client.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 07:48:32 UTC
(In reply to comment #13)
> The latter one, as it clearly shows, to which bug the message belongs. The
> message number is NOT irrelevant. As said: If you wouldn't make use of this
> feature, then just don't.

How can I not use the feature when it would directly interfere with my usage of mail client and the junk would be displayed there?

> As far as filtering the message goes - it's still no problem, as
> "bugzilla-daemon@gentoo.org" is still present.

I am not talking about automated _filtering_, I'm talking about sorting the mails display in my mail client. The above clearly sucks for this purpose, and adds nothing new for usage by automated filtering rules, you can already do this automatically as it is now by more than one way.

(In reply to comment #14)
> A bug is not an entity that is sending mail. The mail is from "Bugzilla",
> regarding "[Bug 181163] In mails, set from to bug #".

Thanks.
Comment 16 Alexander Skwar 2007-06-07 07:51:35 UTC
(In reply to comment #15)
> (In reply to comment #13)
> > The latter one, as it clearly shows, to which bug the message belongs. The
> > message number is NOT irrelevant. As said: If you wouldn't make use of this
> > feature, then just don't.
> 
> How can I not use the feature when it would directly interfere with my usage of
> mail client and the junk would be displayed there?

Why is it junk?

> > As far as filtering the message goes - it's still no problem, as
> > "bugzilla-daemon@gentoo.org" is still present.
> 
> I am not talking about automated _filtering_, I'm talking about sorting the
> mails display in my mail client.

Which would have been enhanced.

> The above clearly sucks for this purpose, and

It clearly does not. If there's something which "sucks", it's that the bug # is not present in from (although I would not have said, that this "sucks").

> adds nothing new for usage by automated filtering rules,

True. That's not the purpose.

> you can already do
> this automatically as it is now by more than one way.

And why not add yet another way?

> (In reply to comment #14)
> > A bug is not an entity that is sending mail. 

Depends on how you look at it.