Closed ietf-svn-bot closed 1 year ago
@rjsparks@nostrum.com changed priority from n/a
to minor
@rjsparks@nostrum.com changed status from new
to accepted
@rjsparks@nostrum.com commented
Right now https://datatracker.ietf.org/mailtrigger/name/doc_external_resource_change_requested/ includes stream managers, which is where the IESG is coming in.
It's interesting that it also includes doc_ad, and the document does not yet have one? Perhaps doc_group_ads would be better.
We can consider adding logic to only include the stream manager if some other stream officers haven't already been included.
@lars@eggert.org commented
The IESG has gotten several more over the last few days:
I haven't received a single one of those before 2021-5-15, and four since. I wonder if a change was made to the datatracker around that time that caused these emails to (also) go to the IESG?
@lars@eggert.org commented
I wonder if these are caused by b08110b8381794b521b0f79ba5e57db5fc82d290.
@rjsparks@nostrum.com commented
Yes, and I've already described the needed change above - the mailtrigger being used currently always includes the stream_manager, which for the IETF stream is the IESG. We will have to rework the logic for that trigger to be smarter about the IETF stream and only include the iesg if there's not an AD that's already been included.
Could we come back to this one? If I were to make the change, is it enough to edit ietf/name/fixtures/names.json
or would I need to touch something else?
ietf/name/fixtures/names.json
is only used for the tests - changing it will not affect production in any way.
The change that you are looking at would be adding code to https://github.com/ietf-tools/datatracker/blob/main/ietf/mailtrigger/models.py#L48 creating a new type of recipient and change the database (ask the secretariat to do it through the admin, or add a migration) to change the set of recipients at https://datatracker.ietf.org/mailtrigger/name/doc_external_resource_change_requested/.
The new code would replace doc_stream_manager with something that was smarter - returning a specific ad or pair of ads if the stream was IESG, and the stream manager otherwise.
I think this is beyond my datatracker-fu, but I would still like this to be fixed. The IESG does not need these emails.
I changed the relevant mailtrigger from to
(that is, I removed the doc_stream_manager
recipient and added the doc_non_ietf_stream_manager
recipient.)
That there is a stream manager based recipient in the trigger at all is a fallback (to find someone to approve the request), and for the ietf stream, the other recipients cover that well enough already.
I think this change resolves the issue, so I'm closing it. Let me know if you think it needs further tuning instead.
type_defect
| by cmorgan@amsl.comHi! The Secretariat received the following ticket from Lars Eggert, but this looks like something more for the Tools Team. (I can't immediately tell what DKG did to trigger the mail this is about, but the fact that it's from ietf-secretariat-reply@ietf.org makes me think it's some sort of automatic Datatracker notification.)
--
From: lars@eggert.org
To: ietf-secretariat-reply@ietf.org
CC: iesg@ietf.org
Subject: Re: External resource change requested for draft-ietf-lamps-samples
Re: External resource change requested for draft-ietf-lamps-samples Hi,
I think it is sufficient if the ADs in question are CC’ed on these notifications, and not the entire IESG.
Lars
-- Sent from a mobile device; please excuse typos.
Issue migrated from trac:3285 at 2022-03-04 08:40:45 +0000