Tag Archives: hackage

Arch Haskell under new management :-)

Recently there’s been quite a few things happening in the Arch Haskell community. Since Don stepped down from Arch Haskell work there have been quite a few changes in the community.

Before describing those changes I feel it’s worth pointing out just what Don has done over the last year or so. Pretty much single-handedly he has made sure that ArchLinux has almost all of Hackage available as native (source) packages. That resulted in ArchLinux being one of the best, if not the best, Linux distro for Haskell developers. In the end he maintained 1937 packages on AUR (there are currently 25237 packages on AUR in total), and he also wrote and maintained the tool used to track Hackage (cabal2arch).

So, what have we been up to since Don’s announcement?

First of all we’ve moved the activity to github. This allows us to maintain the packages as a team rather than put the entire burden on a single person. The source repositories, cabal2arch, archlinux, and archlinux-web are obviously where the source for the tool and its dependencies are kept. Furthermore there’s the habs git repo. This repo contains the source for all the packages (PKGBUILD and *.install files). Keeping all source packages on github will allow us to more easily accept updates and fixes to individual packages from people in the community. Unfortunately uploading to AUR still remains a bottle neck. Which conveniently brings me on to the ideas for the future.

Even though there now are two people who can upload packages AUR as arch-haskell, it is still likely to be a pain point in keeping up with the uploads to Hackage. The long-term solution is to stop using AUR, but for that to be possible we need to have some tool support for downloading and compiling packages from archhaskell/habs. Until that tool support is there we’ll keep uploading to AUR.

In the future we would also like to provide a subset of the packages in binary form. The main issue at the moment is keeping on top of the re-building that is necessary (if package foo is updated then all its dependants need to be re-built too). We are however well on our way towards having tools to support that. The next big issue is where to house the binary packages :-)

Even further into the future we will look closer at whether a repo of source packages really is the most effective way to track Hackage.

Even though we now have a few people who are hacking away on the tools, and try to keep up with Hackage, we can always use more help. So if you are interested in helping out this is a great opportunity to make a large impact. Just in this post I’ve mentioned a few areas where we need help:

  • Run cabal2arch on new packages on Hackage, QA the results and then file pull requests against archhaskell/habs.
  • Getting tools that support downloading from archhaskell/habs so we can move off AUR.
  • Improving the tools used to build binary packages.
  • Improve cabal2arch.
  • Anything else you can think of.
  • Last but not least, if you know a place where we could house binary packages, please let us know.

So, I encourage everyone with an interest in Haskell on ArchLinux to join the mailing list and get involved. No prior experience with Haskell is really necessary, a bit of shell (bash) scripting is enough for some of the planned things.

See you on the list!

Open Source Haskell Releases and Growth

Hackage, Haskell’s central library achive site, went live 2 years ago during the 2007 Haskell Hackathon in Oxford.

Here we are two years later, on the verge of 1000 open source Haskell applications, libraries and tools (993 at the time of writing), all swinging around cabal and cabal-install.

Is the Haskell community getting any better at the production of code? To work this out, I made a 28 day sliding average of the daily releases to Hackage, and there’s a clear upwards trend. More people are releasing more Haskell than ever before:

Sliding average of Haskell releases

The two spikes correspond to the yearly GHC major releases, where a whole suite of libraries get updated.

We can break Hackage down by category too, to see what areas Haskell is being used in:

Half of all libraries (just over 500) are devoted to data structures, text handling and parsing, system interactions, control structures and abstractions, graphics, and development tools. Nothing terribly category-theoretic there :-)

Following closely are network, web, math, sound and database programming. (Breakdown of the top 30 categories).

The release of new code also mirrors the growth in community participation. Here, the growth in the Haskell IRC channel over the last 7 years:

It seems we’re seeing an obvious correlation between community input (new programmers) and output (project releases).

Join in: the lambdas are hot!

700 Haskell packages

Arch Linux now has 700 Haskell libraries and tools natively packaged! That equates to 81% of Hackage.

Enjoy the native lambdas!

Haskell releases growing

Releases to hackage per day since its launch in January 2007

Releases to hackage per day since its launch in January 2007

The arch-haskell team is trying to track releases of working code from http://hackage.haskell.org, with the goal to always provide a comprehensive Haskell development environment for the distro (we’re doing ok, 680 packages out of the 850 packages on hackage currently.

Recently its been getting a bit hectic, as hackage has appeared to go into overtime. To work out what was happening, I wrote a little program using the gnuplot bindings to graph each days uploads since Hackage went live.

We see a spike of Haskell releases around the original release, a spike a bit over a year ago when ghc 6.8.x came out (and everything broke :) and a broader surge in releases over the last 200 days..

I think that means something good is happening. Perhaps cabal-install is finally making its way to the masses?

Arch Haskell News: Oct 12 2008

A weekly update of Haskell in Arch Linux.

Arch now has 624 Haskell packages in AUR.

That’s an increase of 15 new packages in the last 7 days.

Planning is also underway for the GHC 6.10 release, and the 6.10 release candidate is in testing.

Noteworthy

New and updated packages this week

For more information about Haskell on Arch Linux, see the wiki page, or join us online, on IRC, #arch-haskell @ freenode.