[arch-haskell] Distribution.ArchLinux maintainer search for the AUR

Don Stewart dons at galois.com
Sat Oct 12 07:36:01 UTC 2013


etherealgoddess:
> Greetings,
> 
> The JSON AUR interface now has an msearch method in its API to allow
> finding all packages by a certain maintainer.
> 
> So now it's possible to do:
> http://aur.archlinux.org/rpc.php?type=msearch&arg=arch-haskell to get
> all the packages maintained by the arch-haskell devs.
> 
> The change required in Distribution.ArchLinux is trivial, but I would
> be willing to provide a darcs patch if it's somehow needed.

Thanks for the news, and the example API use. 

I've implemented the binding, and it is now available in archlinux 0.3
package:

    http://hackage.haskell.org/package/archlinux-0.3

An example of how to use it:

    import Distribution.ArchLinux.AUR
    import Control.Monad

    me = "arch-haskell"

    main = do
        packages <- maintainer me
        forM_ packages $ putStrLn . packageName

To print all packages by "me"

In AUR now. http://aur.archlinux.org/packages.php?ID=29267

Enjoy!

-- Don



More information about the arch-haskell mailing list