[arch-haskell] archlinux haskell library

Don Stewart dons at galois.com
Fri Aug 14 19:00:17 EDT 2009


dons:
> I've started a library for programmatically manipulating and querying
> Arch Linux package infrastructure.
> 
> So far we have:
> 
>     http://hackage.haskell.org/package/archlinux-0.1
> 
> which supports searching and querying packages on AUR.
> 
>     > info "xmonad"
>      Right (AURInfo { packageID       = 10593
>                   , packageName     = "xmonad"
>                   , packageVersion  = Right (Version {versionBranch = [0,8,1] , versionTags = []},"1.2")
>                   , packageCategory = 17
>                   , packageDesc     = "A lightweight X11 tiled window manager written in Haskell"
>                   , packageLocation = 3
>                   , packageURL      = "http://xmonad.org/"
>                   , packagePath     = "/packages/xmonad/xmonad.tar.gz"
>                   , packageLicense = "custom:BSD3"
>                   , packageVotes = 260
>                   , packageOutOfDate = False })
> 
> Useful things we could do with more work:
> 
>     * lint checker
>         -- for all our packages, check they are consistent
> 
>     * hackage version checker
>         -- automatically check versions between hackage and AUR
> 
>     * cabal2arch version checker
>         -- list all packages that were generated with which version of cabal2arch,
>             then auto-rebuild
> 
>     * our own yaourt...
> 
> 

Oh,also, anyone know how I can get the full list of arch-haskell
maintained packages from AUR programmatically? I've found only very
sparse documentation for the JSON interface.

If we could get the full package list, we can do regression builds.

-- Don


More information about the arch-haskell mailing list