[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/



On Sat, Jun 23, 2018 at 12:31 AM, Clint Adams <clint@debian.org> wrote:
> On Fri, Jun 22, 2018 at 05:36:52PM +0200, Mikolaj Konarski wrote:
>> 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
>
> Interesting.  So test-packages.pl could be rewritten to always
> grab the earliest-dated instance of each cabal file needs patching.

Yes. Herbert confirms this. He says it's ~50 lines of haskell code.

P.S. Thanks for the LambdaHack upload.


Reply to: