Proposal: Ignore sub-minor version components in package id

Joachim Breitner mail at joachim-breitner.de
Mon Oct 3 23:32:50 CEST 2011


Hi,

Am Montag, den 03.10.2011, 22:52 +1100 schrieb Ivan Lazar Miljenovic:
> > I am only talking about the packages as registered with ghc-pkg, not the
> > packages as specified by .cabal. In distribution-lingo, the former are
> > binary packages and the latter are source packages.
> 
> Would this not make it harder to determine which exact version of a
> package you have installed?  I believe cabal-install uses ghc-pkg to
> know which versions are installed, so how would it know whether you
> have the latest bug-fix release installed?

no, that would also not be the case.

Have a look at "ghc-pkg describe network". You see that it keeps track
of the version in a field of its own. I am only talking about the id
that appears in the "id" and "depends" fields.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
  mail at joachim-breitner.de  |  nomeata at debian.org  |  GPG: 0x4743206C
  xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/libraries/attachments/20111003/10478b6a/attachment.pgp>


More information about the Libraries mailing list