summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2018-05-17 19:49:34 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2018-05-17 22:05:52 +0200
commitf3b4c5c6bc6cd1f7320505ca725c46c78e1362f3 (patch)
treeb4a3cef18e6bb6546ebcf4fd098ad1bee2b19ddb /test
parentfec253a65de91e0790f818dde162c80186a092f8 (diff)
downloadaur-f3b4c5c6bc6cd1f7320505ca725c46c78e1362f3.tar.gz
aur-f3b4c5c6bc6cd1f7320505ca725c46c78e1362f3.tar.xz
Refactor the notification script
Reimplement most of the notification script logic. Create a separate class for each notification type. Each class provides methods for generating the list of recipients, the message subject, the message body, the references to add at the end of the message and the message headers. Additionally, a method for sending notification emails is provided. One major benefit of the new implementation is that both the generation of recipients and message contents are much more flexible. For example, it is now easily possible to make user-specific adjustments to every single notification of a batch. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions