Bug#1001190: tracker.debian.org: news: emails: show Message-ID header, link to lists.d.o/msgid-search

2021-12-13 Thread Paul Wise
On Tue, 2021-12-07 at 09:44 +0800, Paul Wise wrote:

> When the List-Archive header exists and contains a URL, the link could
> be to that URL. This works for Debian lists and mailman lists and
> probably other types of lists too.

PS: I note that the mailman3 archiver uses Archived-At for the message
archive and List-Archive for the general list archive.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1001190: tracker.debian.org: news: emails: show Message-ID header, link to lists.d.o/msgid-search

2021-12-07 Thread Paul Wise
On Tue, 2021-12-07 at 09:23 +0100, Raphael Hertzog wrote:

> The tracker doesn't receive emails via mailing lists, it gets sent a
> direct copy from the various services.

Ah. That is the case for Debian but maybe not for other instances,
so I think this could be useful for some distros eventually.

> What's the "domain" of an email message? The one from the sender?

The one in the List-Id or the recipient that is a mailing list server,
but as you say that isn't available for Debian.

> I don't see how this can be helpful if you have to look up the message on
> your own.

Agreed, but it is better than having no idea where the archives are at
all and having to do a web search for that or go to the domain and then
try to find the mailing list and click into the list archives.

> This, however, is something that is clearly more in line with the logic
> of distro tracker. I agree that a query to lookup a message-id could be
> useful.

Excellent.

> (And actually I am interested in tracking message-id of everything that
> went through distro-tracker to be able to drop duplicates easily and/or
> present other summary views to the respective maintainers)

That seems useful too.

> > I think the options I presented above are generic enough to have a low
> > enough cost. For cases not covered by them I think as a compromise, it
> > would be reasonable to just show the Message-ID header with no link.
> 
> This is also reasonable, indeed.

Great.

Thanks for the discussion :)

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1001190: tracker.debian.org: news: emails: show Message-ID header, link to lists.d.o/msgid-search

2021-12-07 Thread Raphael Hertzog
Hi,

On Tue, 07 Dec 2021, Paul Wise wrote:
> Not necessarily, there are several options for this that would make it
> a very generic feature, some ideas:
> 
> When the List-Archive header exists and contains a URL, the link could
> be to that URL. This works for Debian lists and mailman lists and
> probably other types of lists too.

The tracker doesn't receive emails via mailing lists, it gets sent a
direct copy from the various services.

> distro-tracker could have a list of domains that are known to have
> Message-ID search URLs and then map the List-Id to those URLs.

What's the "domain" of an email message? The one from the sender?

> For domains that have no Message-ID search URLs but do have archive
> links for the Maintainer field, the link could be to just the top-level
> archive link used for the Maintainer field.

I don't see how this can be helpful if you have to look up the message on
your own.

> Once #1001254 is implemented, then the link could be to the DPT
> Message-ID search, in a similar way to how lists.d.o links to its
> Message-ID search from the Message-ID field in its archives.

This, however, is something that is clearly more in line with the logic
of distro tracker. I agree that a query to lookup a message-id could be
useful.

(And actually I am interested in tracking message-id of everything that
went through distro-tracker to be able to drop duplicates easily and/or
present other summary views to the respective maintainers)

> I think the options I presented above are generic enough to have a low
> enough cost. For cases not covered by them I think as a compromise, it
> would be reasonable to just show the Message-ID header with no link.

This is also reasonable, indeed.

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS


signature.asc
Description: PGP signature


Bug#1001190: tracker.debian.org: news: emails: show Message-ID header, link to lists.d.o/msgid-search

2021-12-06 Thread Paul Wise
On Mon, 2021-12-06 at 21:56 +0100, Raphael Hertzog wrote:

> Why do you want a lists.debian.org link when you already have a
> tracker.debian.org link pointing to the same content?

I don't want a tracker.d.o link. Mainly I want a link with a Message-ID
in it, which are more likely to be long-term and supported by multiple
message archives than other software-specific links.

> Also there's no guaranty that all news are properly recorded in a Debian
> mailing lists. I assume testing migration mails aren't for example.

Sure, but most are and some of the mails that go to unarchived mailing
lists are archived on external services linked from the lists.d.o
Message-ID search 404 page. The testing migration mails definitely
aren't archived on lists.d.o right now but if @packages.d.o mails ever
get forwarded to lists.d.o and archived then they could be. Also filed
#1001254 to make tracker.d.o mail archives searchable by Message-ID.

> And this would be a feature that is really specific to Debian too,
> while the news feature is very generic and cleanly mixing both would
> require again some abstraction to add a vendor-specific behaviour in a
> generic part.

Not necessarily, there are several options for this that would make it
a very generic feature, some ideas:

When the List-Archive header exists and contains a URL, the link could
be to that URL. This works for Debian lists and mailman lists and
probably other types of lists too.

distro-tracker could have a list of domains that are known to have
Message-ID search URLs and then map the List-Id to those URLs.

For domains that have no Message-ID search URLs but do have archive
links for the Maintainer field, the link could be to just the top-level
archive link used for the Maintainer field.

Once #1001254 is implemented, then the link could be to the DPT
Message-ID search, in a similar way to how lists.d.o links to its
Message-ID search from the Message-ID field in its archives.

> In short, I find the cost really high for a relatively small value
> added.

I think the options I presented above are generic enough to have a low
enough cost. For cases not covered by them I think as a compromise, it
would be reasonable to just show the Message-ID header with no link.
That would allow copy-pasting the Message-ID to external services:

https://en.wikipedia.org/wiki/Message-ID#Use_in_mailing_list_archives

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1001190: tracker.debian.org: news: emails: show Message-ID header, link to lists.d.o/msgid-search

2021-12-06 Thread Raphael Hertzog
Hi,

On Mon, 06 Dec 2021, Paul Wise wrote:
> In the news emails, please show the Message-ID header and make the
> value inside the angled brackets <> a link to the Debian lists
> msgid-search. For example [1] should link to [2].
> 
>    1. 
> https://tracker.debian.org/news/1284147/accepted-purple-discord-0920211124gitde899b3-1-source-into-unstable/
>    2. 
> https://lists.debian.org/msgid-search/e1mu1fi-0006i4...@fasolo.debian.org
> 
> This would be useful when doing an upload and then wanting a link to
> the mail about it for copying into blog posts or work reports etc.

Why do you want a lists.debian.org link when you already have a
tracker.debian.org link pointing to the same content?

Also there's no guaranty that all news are properly recorded in a Debian
mailing lists. I assume testing migration mails aren't for example.

And this would be a feature that is really specific to Debian too, while
the news feature is very generic and cleanly mixing both would require
again some abstraction to add a vendor-specific behaviour in a generic
part.

In short, I find the cost really high for a relatively small value added.

Regards,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS


signature.asc
Description: PGP signature


Bug#1001190: tracker.debian.org: news: emails: show Message-ID header, link to lists.d.o/msgid-search

2021-12-05 Thread Paul Wise
Package: tracker.debian.org
Severity: wishlist

In the news emails, please show the Message-ID header and make the
value inside the angled brackets <> a link to the Debian lists
msgid-search. For example [1] should link to [2].

   1. 
https://tracker.debian.org/news/1284147/accepted-purple-discord-0920211124gitde899b3-1-source-into-unstable/
   2. https://lists.debian.org/msgid-search/e1mu1fi-0006i4...@fasolo.debian.org

This would be useful when doing an upload and then wanting a link to
the mail about it for copying into blog posts or work reports etc.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part