Distinguish auto-accepted requests
commit60cdad28eebf45ac2822155cea27277e1f7de455
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 30 Jun 2016 13:57:53 +0000 (30 15:57 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Thu, 30 Jun 2016 20:45:26 +0000 (30 22:45 +0200)
treeca6d776153967c9b7008d3dffeab34d1f69c6853
parentfbf3e5405781f0f7ded67e99ab83bebc0737499d
Distinguish auto-accepted requests

Before commit 9746a65 (Port notification routines to Python,
2015-06-27), notification emails for automatically closed requests
explicitly stated that the action was taken "automatically by the Arch
User Repository package request system". When porting the notification
routines to Python, this feature was overlooked and emails sent by the
new script always reported that the requester triggered the acceptance
or rejection of a request.

This patch reimplements the old behavior such that notifications no
longer look as if the requester had accepted the request himself.

Reported-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
scripts/notify.py
web/lib/pkgreqfuncs.inc.php