FS#43651 - Pending requests should link to [aur-requests]
Attached to Project:
AUR web interface
Opened by (Det) - Sunday, 01 February 2015, 00:29 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 06 February 2016, 15:08 GMT
Opened by (Det) - Sunday, 01 February 2015, 00:29 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 06 February 2016, 15:08 GMT
|
Details
Pending requests should link to [aur-requests], as it tells
you what the request was about, and when it was made.
|
This task depends upon
pkgbase=""
request="" # Orphan/Merge/Deletion
# LC_TIME=C: prevent locale translation of %B
# ${pkgbase}$: match end of line to prevent suffixed results, e.g. -git, -dev
thread="$(curl -sL https://lists.archlinux.org/pipermail/aur-requests/$(LC_TIME=C date +%G-%B)/thread.html | grep ${pkgbase}$ | grep ${request} | cut -d '"' -f2)"
url="https://lists.archlinux.org/pipermail/aur-requests/${thread}"
[1]: http://wiki.list.org/DOC/4.87%20How%20do%20I%20invoke%20some%20process%20on%20messages%20as%20they%20are%20added%20to%20the%20pipermail%20archive
[2]: http://wiki.list.org/DOC/4.87%20How%20do%20I%20invoke%20some%20process%20on%20messages%20as%20they%20are%20added%20to%20the%20pipermail%20archive?action=AttachFile&do=view&target=Ext_Arch.py
[3]: http://wiki.list.org/DOC/4.04%20How%20can%20I%20use%20an%20external%20archiver%20with%20Mailman%20like%20MHonArc%3F
Of course, it would be possibly to show the request type and comment without any interaction with mailman, since those are already stored in the database. A link to the mailing list post would be good too though.
[1] https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/59
[2] https://mail.python.org/archives/search?q=ctypes&page=1&mlist=python-dev%40python.org&sort=date-desc