[aur-general] Orphaning a 1000 packages

Justin Davis jrcd83 at gmail.com
Fri Nov 11 15:57:31 EST 2011


On Thu, Nov 10, 2011 at 4:22 PM, Magnus Therning <magnus at therning.org> wrote:
> I'm the current maintainer of ArchHaskell and within the small team
> we've reached the decision to drop support for the huge set of package
> owned by the user arch-haskell on AUR.
>
> Currently we maintain 300+ binary packages, and we'd like to keep them
> on AUR.  All others should be orphaned (or removed).  Doing that
> manually would be painful to say the least, are there any tools that
> assist with mass-orphaning?
>
> /M
>
> --
> Magnus Therning                      OpenPGP: 0xAB4DFBA4
> email: magnus at therning.org   jabber: magnus at therning.org
> twitter: magthe               http://therning.org/magnus
>
> Most software today is very much like an Egyptian pyramid with
> millions of bricks piled on top of each other, with no structural
> integrity, but just done by brute force and thousands of slaves.
>     -- Alan Kay
>

It might churn your stomach ;-) but you could use my WWW::AUR perl
module set ...

use WWW::AUR::Login;
my $u = WWW::AUR::Login->new('arch-haskell', 'password');
for my $p ($u->packages) {
    $u->disown($p);
}

You'd need the perl-www-aur package installed:
https://aur.archlinux.org/packages.php?ID=44180

-- 
-Justin


More information about the aur-general mailing list