[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hackage revisions and the current breakage of https://jenkins.debian.net/view/haskell/job/haskell-package-plan/



> I unpacked a freshly downloaded '01-index.tar' file, but couldn't find
> rev0 for hackage-security-0.5.3.0. It does contain older versions, but
> no older metadata revisions. Am I missing something?

Meanwhile, Duncan told me:

15:33 < dcoutts> mikolaj: yes, all revisions are in the "01" tarball
15:33 < dcoutts> but if you unpack with standard 'tar' tools they only
unpack out the last one
15:34 < dcoutts> if you use the Haskell 'tar' lib you can select the
first if you like
15:35 < dcoutts> or e.g. if you want all updates up to a certain date,
but none after, then take the prefix of the tarfile up to one record
15:36 < dcoutts> that's what the cabal update --index-state=STATE does

Before I badger hvr, let me understand the other problem:

> The think is, there is no way to request '0.5.3-r1' from cabal.

You mean, when Debian decides to use '0.5.3-r1'
and somebody modifies metadata so that the last
version on Hackage is '0.5.3-r2', then we can't request
'0.5.3-r1' from Hackage, but we need to request '0.5.3-r0'
and manually apply the r1 patch somehow, which defeats
the purpose?


Reply to: