Automating cleanup of AU

Xyne xyne at archlinux.org
Sat Dec 11 23:28:02 UTC 2021


On 2021-12-11 12:33 -0800
Kevin Morris via aur-dev wrote:

>On Sat, Dec 11, 2021 at 03:42:17PM +0330, Amin Vakil via aur-dev wrote:
>> 
>> I can recall many times NetSysFire talking about how hard maintaining wiki
>> pages could be when there isn't a deletion request for an AUR package in
>> #archlinux-aur.
>> 
>> I'm not sure how they can handle this automatic deletion of packages without
>> a request for it, maybe a list of automatically deleted packages suffice?
>> 
>> Best Regards,
>> Amin Vakil  
>
>:) Thanks for keeping a look out. Indeed, this is already changed
>in the "next-gen" aurweb. When released, __all__ package deletions
>(and merges) will either accept and close pending requests about
>them or autogenerate a request and send an accepted closure notification
>to the aur-requests ML. We'll keep with this flow when deleting
>packages permanently (hopefully).
>
>In addition, they are also logged out to the ASGI server now, so
>even without requests, we have better tracking of what's going on.
>
>-- 
>Kevin Morris
>Software Developer

For wiki maintenance, would it be possible to include hooks that flag pages
that link to the deleted packages? If the deletions are listed via an API, then
a timer on the wiki server could periodically scan for affected pages and
notify the wiki maintainers.

Just a thought.

Regards,
Xyne


More information about the aur-dev mailing list