[aur-dev][PATCH] git-update: accept any arch when discovering arch-dependent metadata

2018-05-17 Thread Eli Schwartz
Currently we hardcode the architectures the official repos historically supported, which seems both inefficient because of hardcoding, and simply wrong, because many packages support various ARM platforms too. If we were to say "only officially supported arches will be supported in the AUR" we'd

[PATCH 0/6] Localize notification emails

2018-05-17 Thread Lukas Fleischer
This patch series implements FS#31850. The preparatory work is quite invasive and includes a complete rewrite of the notification module. The last patch adds the new translatable strings to our message catalog. Comments welcome! Lukas Fleischer (6): notify.py: Do not add stray newlines

[PATCH 4/6] Localize notification emails

2018-05-17 Thread Lukas Fleischer
Add support for translating notification emails and send localized notifications, based on the user's language preferences. Also, update the translations Makefile to add strings from the notification script to the message catalog. Implements FS#31850. Signed-off-by: Lukas Fleischer

[PATCH 3/6] Refactor the notification script

2018-05-17 Thread Lukas Fleischer
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

[PATCH 1/6] notify.py: Do not add stray newlines

2018-05-17 Thread Lukas Fleischer
Make sure we are consistent with not adding newlines at the end of notification emails. Signed-off-by: Lukas Fleischer --- aurweb/scripts/notify.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aurweb/scripts/notify.py