Commit Graph

21 Commits

Author SHA1 Message Date
Jason Tibbitts
73de9829d0 Add a -maintainers alias file.
The current scripting generates aliases of the form
foo-owner@fedoraproject.org.  But this conflicts with our messaging
which says that the project "owns" packages and people "maintain" them.
Plus, "owner" is singular while we really want to have more than one
maintainer.

This simply adds a second alias file generated from the original file.
2018-07-25 22:00:13 +00:00
Patrick Uiterwijk
364cdcc60e The list of members doesn't change significantly over the runtime of this script
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-02 22:13:17 +00:00
Kevin Fenzi
2b1232dbb6 bash does not like continuing lines without \ 2017-10-15 17:03:09 +00:00
Pierre-Yves Chibon
159faf73a0 Don't ask for forks when querying pagure
Fixes https://pagure.io/pagure-dist-git/issue/38

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-10-14 21:21:05 +02:00
Kevin Fenzi
697f268594 use full path here 2017-08-11 21:11:58 +00:00
Ralph Bean
6cdc5fbf44 Put a lock wrapper also around the package-owner-aliases cronjob on bastion. 2017-08-10 15:51:52 +00:00
Ralph Bean
b084a7762f Use urllib3 retry mechanism in the packager alias script. 2017-08-09 17:48:43 +00:00
Ralph Bean
24141e596b Handle case-insensitivity in postfix by unioning things. 2017-08-09 17:46:15 +00:00
Ralph Bean
e4a44181f7 Tag this role with its own name. 2017-08-04 20:41:10 +00:00
Ralph Bean
9653f40afd Remove the old packager email alias generation script. 2017-08-04 20:39:29 +00:00
Ralph Bean
eb241f903d Flip over packager email alias generation to use the new script. 2017-08-04 20:39:05 +00:00
Ralph Bean
fbfb7c41f6 Email alias script - use pagination so as not to break pagure's golden heart. 2017-08-04 20:37:26 +00:00
Ralph Bean
e544f90a6e Email alias script - use real pagure url. 2017-08-04 20:36:39 +00:00
Matt Prahl
47485d134b Postfix "-owner" and prefix the project namespace if it's not rpms in owner-email-from-pagure.py 2017-04-13 20:48:49 +00:00
Matt Prahl
5d4f03b9b9 Add a package owner email alias script to use Pagure instead of PkgDB and stop querying FAS in staging
As part of the Modularity project, we've decided that we need to have different package
branches with different lifecycles. To read more about this, please view this document:
https://fedoraproject.org/wiki/Infrastructure/Factory2/Focus/ArbitraryBranching. To enable
this, we've decided to rely on Pagure and PDC for package information instead of PkgDB.
This commit is an attempt to modify an existing script that queried PkgDB and FAS for packager
emails with one that uses the new architecture described above.

Also, instead of querying FAS for email information, we've decided to use the email alias
USER@fedoraproject.org. This will be a performance increase and protect us against FAS API
changes.
2017-04-13 18:28:28 +00:00
Kevin Fenzi
c0c992ede7 Compress maillogs on bastion hosts/mail hubs with xz and keep 14 days of them. 2016-05-26 14:08:13 +00:00
Kevin Fenzi
b65b7cbc29 Set this request to verify. There's no reason not to, and it gets rid of the insecure urllib3 spew. 2015-09-04 15:31:01 +00:00
Pierre-Yves Chibon
9f23ed1b7c Check if the group has a proper email 2014-12-16 20:07:50 +01:00
Kevin Fenzi
aa3e1ad5a8 Copy here too 2014-10-08 23:58:41 +00:00
Kevin Fenzi
db8232f0c7 No location needed 2014-10-08 23:55:13 +00:00
Pierre-Yves Chibon
5da315864c Create a new module: packager_alias containing the scripts to create the <pkg>-owner aliases 2014-07-31 13:34:53 +02:00