Skip to content

Generate draft-author and wg-chairs email alias lists #713

@ietf-svn-bot

Description

@ietf-svn-bot

keyword_sprint resolution_fixed type_enhancement | by henrik@levkowetz.com


Currently, email aliases for all drafts and all active WG chairs (and
more) are being maintained on tools.ietf.org. It is desirable to move
this functionality to the main ietf mail server, but that requires that
alias lists equivalent to those on tools.ietf.org are generated from the
database and made available to the mail daemon (currently postfix).

The alias lists on tools.ietf.org can be inspected here:

The alias lists start with a comment which identifies the generating
program. Check the generating program for more details on the content
of the alias list.

The wg-chair aliases actually contain entries for both -chairs and -ads
for each WG.

The draft aliases contain up to 6 aliases:

   <draftname>: <author1-email>, <author2-email>, ...
   <draftname>.authors: <author1-email>, <author2-email>, ...
   <draftname>.chairs: <doc-wg-chair1-email>, <doc-wg-chair2-email>, ...
   <draftname>.notify: <notify1-email>, <notify2-email>, ...
   <draftname>.ad: <sponsoring-ad-email>
   <draftname>.all.: <email1>, <email2>, ... # all of the above

The datatracker code should be implemented as functions which can be
called by cron scripts to generate each alias file on demand, using a
script file like this (simplified example using an existing function):

#!/bin/bash

export PYTHONPATH=/www/datatracker/current/

TMPFILE=$(mktemp) || exit 1

python -m ietf.idindex.generate_all_id_txt >> $TMPFILE

mv $TMPFILE /www/ietf/id/all_id.txt


Issue migrated from trac:713 at 2022-03-04 01:53:58 +0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions