Ticket #167 (closed enhancement: fixed)

Opened 9 years ago

Last modified 8 years ago

Domain for per package email aliases

Reported by: toshio Owned by: mmcgrath
Priority: minor Milestone:
Component: General Version:
Severity: Normal Keywords:
Cc: jima, xulchris Blocked By:
Blocking: Sensitive:


We are getting requests to set up per package email aliases so that sending to PACKAGENAME@… will be sent to all comaintainers and people watching a package.

To do this, we need a separate domain from the one where contributors get their aliases otherwise the usernames and package names may conflict.


packages.fedoraproject.org fedorapackages.org

Once we have that I can write a script to pull the information from the packagedb similar to how the username aliases are pulled from the account system.

Change History

comment:1 Changed 9 years ago by mmcgrath

This is a good and interesting idea, how will we handle the aliases once the domain is setup?

comment:2 Changed 9 years ago by toshio

The aliases file would get written by a cron job on bastion. I think that we will want to integrate this with export-aliases.py (from fedora-accounts) for now for performance reasons. The packagedb doesn't know about email addresses directly; it knows about userids (will change to usernames for FAS2). So we'd have to query the FAS for every user we want an email address for.

export-aliases.py already knows about most addresses because it is pulling them from the FAS db to construct the username@… aliases. So export-aliases.py will query a packagedb URL for the current list of package => usernames. Then export-aliases.py can turn that into an aliases file for packages.fedoraproject.org using the username => email addresses it already has and querying the db for the few other addresses it needs.

comment:3 Changed 9 years ago by jima

  • Cc jima added

comment:4 Changed 9 years ago by xulchris

  • Cc xulchris added

comment:5 Changed 9 years ago by toshio

We can also redirect web traffic from packages.fedoraproject.org to https://admin.fedoraproject.org/pkgdb to satisfy this request or redirect it to repoview for a more end-user friendly version.

comment:6 Changed 8 years ago by toshio

Per package email addresses have been implemented. Thanks to skvidal! The aliases use pkgname-owner@… so they don't need their own domain.

Do we still want packages.fedoraproject.org as a domain to redirect to pkgdb?

comment:7 Changed 8 years ago by mmcgrath

  • Owner changed from nobody to mmcgrath
  • Status changed from new to assigned

Naw, I think this one is all set. If we do decide to do something different we can open another ticket.

comment:8 Changed 8 years ago by mmcgrath

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.