Hi,

Am Sonntag, den 19.06.2011, 20:31 +1000 schrieb Ivan Lazar Miljenovic:
> > same on Debian, file:///usr/share/doc/ghc-doc/html/libraries/index.html
> > is one of the most-visited locations in my computer :-)
> >
> > For Debian, you can check where we deviate from the Haskell Platform on
> > http://people.debian.org/~nomeata/platform.html
> > and
> > http://people.debian.org/~nomeata/hackagevsdebian.html
> > gives you an idea of our coverage of Hackage.
> >
> > And, something that we are proud of: The dependencies between the
> > Haskell library packages include the ABI hash, so an apt-get upgrade
> > will never break installed Haskell libraries, but only upgrade if all
> > depending packages have been rebuilt.
> 
> Are these binary or source packages that you use the ABI hash?

The binary packages. Here is an example for how we make sure that an ABI
incompatible change to web-routes requires a rebuild of yesod, and that
until that happens the user will not get the new web-routes package
installed.

$ apt-cache show libghc-yesod-dev|grep Depends
Depends: libghc-base-dev-4.3.1.0-91c38,
libghc-base64-bytestring-dev-0.1.0.2-2bc90,
libghc-blaze-builder-dev-0.2.1.4-eb4c4,
libghc-bytestring-dev-0.9.1.10-6aa1e, libghc-cereal-dev-0.3.3.0-7fd4a,
libghc-clientsession-dev-0.4.1-493f6,
libghc-containers-dev-0.4.0.0-b4885,
libghc-data-default-dev-0.2.0.1-9411c,
libghc-directory-dev-1.1.0.0-393d8,
libghc-email-validate-dev-0.2.6-c13c2, libghc-failure-dev-0.1.0.1-1e2c3,
libghc-hamlet-dev-0.6.1.2-ec8f2, libghc-neither-dev-0.1.0-0adb6,
libghc-network-dev-2.3.0.2-824dd, libghc-old-locale-dev-1.0.0.2-161f7,
libghc-parsec-dev-3.1.1-33474, libghc-persistent-dev-0.3.1.3-d494b,
libghc-puremd5-dev-2.1.0.3-754be, libghc-random-dev-1.0.0.3-7511f,
libghc-template-haskell-dev-2.5.0.0-95716,
libghc-text-dev-0.11.0.6-139d7, libghc-time-dev-1.2.0.3-34932,
libghc-transformers-dev-0.2.2.0-4bbbf, libghc-wai-dev-0.2.2.1-53001,
libghc-wai-extra-dev-0.2.4.2-4646d, libghc-web-routes-dev-0.23.4-ab46a,
libghc-web-routes-quasi-dev-0.6.3.1-5c04c,
libghc-xss-sanitize-dev-0.2.6-b2c10, libc6 (>= 2.7), libffi5 (>= 3.0.4),
libgmp10, zlib1g (>= 1:1.1.4)
$ apt-cache show libghc-web-routes-dev|grep Provides
Provides: libghc-web-routes-dev-0.23.4-ab46a

> Also,
> how do you manage to update the documentation index on package
> installation/removal?

The ghc-doc package installs a dpkg trigger that watches certain
directories (the directories where library install their package
descriptions and .haddock files). If such a change
happens, /usr/lib/ghc-doc/gen_contents_index is run, which can be seen
here:
http://anonscm.debian.org/darcs/pkg-haskell/ghc/gen_contents_index.in

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to