[arch-haskell] Layout of ABS tree for Haskell packages?

Magnus Therning magnus at therning.org
Tue Oct 12 06:50:46 EDT 2010

On Tue, Oct 12, 2010 at 11:41, Gour D. <gour at atmarama.net> wrote:
> On Tue, 12 Oct 2010 10:42:50 +0100
>>>>>>> "Magnus" == Magnus Therning <magnus at therning.org> wrote:
> Magnus> I've just downloaded all 1937 packages maintained by
> Magnus> arch-haskell on AUR, and I'm about to put them all in a git
> Magnus> repository.  Before doing that I thought I'd ask if anyone has
> Magnus> suggestions on the directory hierarchy in that repo?
> What do you think about mimic the Hackage hierarchy?

It wouldn't be possible to mimic it completely since hackage allows
several categories for a single package.  However, the packages in AUR
all have a single category (even though I'm not sure how they get
them), maybe we could use that.

> Magnus> The only criterion I can think of is that we'd probably would
> Magnus> want binary and source packages separated in some way.
> I agree with that. Binaries could go all in one bin directory (there
> is no binary category in Hackage ;) )

So maybe something like this?

      <package 1>/
      <package 2>/
      <package k>/
      <package k+1>/
      <package m>/
      <package m+1>/
      <package n>/
      <package n+1>/

> Magnus> Any thought or comments on this.  I'm particularly interested in
> Magnus> comments from people who have experience with working with the
> Magnus> ABS-related tools.
> I don't have that, but when I was using Gentoo, its overlays were
> structured in a similar way.

Oh, don't worry about that comment of mine, *all* suggestions are
welcome.  My knowledge of the ABS tools is *very* limited, so I don't
want to inadvertently come up with something that forces us to do a
lot more tool development that we want to.


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

More information about the arch-haskell mailing list