Automating cleanup of AUR

George Rawlinson grawlinson at archlinux.org
Sat Dec 11 07:10:36 UTC 2021


On 21-12-10 19:42, Kevin Morris via aur-dev wrote:
> Alright. Now, please let me know what you guys think are some
> good ideas for pruning out requests and ancient packages that
> would not interrupt expected workflows or "accidently" remove
> packages.

There are a lot of things that can be automated. Here's my wish list:

1. Cron - Automatically delete packages that have been orphaned for
longer than x months. I think 3-6 months is reasonable. Popular
packages tend to be maintained very quickly after they have been
orphaned so I don't think this is too aggressive. Not to mention that
the git repositories are still intact after deletion so if anyone
wishes to re-add a previously deleted package, the history is there.

2. Cron - Automatically orphan packages that have been flagged out of
date for longer than x months. I would think a month or two is a
reasonable length of time for maintainers to either unflag the package
or actually maintain the package.

3. Cron - Related to #1. Before removing the packages from the AUR, an
automated email can be sent to aur-general with a list of packages about
to be deleted and if anyone wants to maintain these, they're up for
grabs. I think weekly would be a bit much, so maybe monthly?

4. I want a pony.

There are currently over 72,000 packages, and only 60-odd Trusted Users
^W ^W Package Maintainers. Anything that eliminates time spent pruning
the AUR is a welcome addition.

--
George Rawlinson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-dev/attachments/20211211/81e92a03/attachment.sig>


More information about the aur-dev mailing list