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

Re: What’s up with Haskell?



Am Tue, 12 Jul 2016 16:28:39 +0200
schrieb Sven Bartscher <kritzefitz@debian.org>:

> On Tue, 12 Jul 2016 16:10:42 +0200
> Joachim Breitner <nomeata@debian.org> wrote:
> 
> > > > Should we update to LTS-6.7, to get some newer packages in?
> > > > 
> > > > Is it worth starting to stage GHC-6 and LTS-7 (based on
> > > > nightly) on a branch in the repository?    
> > > 
> > > [snip]  

I uploaded haskell-devscripts-0.11.0 to experimental, so we should be
able to upload GHC-8 to experimental.

> > > I still don't have comprehensive test about my changes to
> > > haskell-devscripts and dh-haskell still needs to be updated to
> > > handle the new ABIs correctly.    

I'm now satisfied with the test results of haskell-devscripts. I hope I
will finish dh-haskell during the next time.
 
> > > Another problem is that updating GHC-8 with the new
> > > haskell-devscripts causes a one-time bootstrapping problem, as
> > > GHC-8 needs the haskell-devscripts-nocolour >= 0.10.3 to handle
> > > the ABIs correctly, but the new version of haskell-devscripts
> > > needs GHC-8 as earlier versions of ghc-pkg aren't able to
> > > retrieve the abi field, like haskell-devscripts requires it.    
> > 
> > Hmm. Any chance to make haskell-devscripts fall back to parsing the
> > package id, to avoid such problems.  

Done

> > Oh, that reminds me of another reason why haskell-devscripts
> > depends on ghc (and not the other way around):
> > 
> > When upload, say, ghc-8 to experimental, we want to upload all
> > Haskell packages to experimental.  To ensure that they are built
> > with ghc, what we did previously, was to bump the dependency of
> > haskell-devscripts on ghc to ghc (>= 8.0), and then the individual
> > packages only get their haskell-devscripts build-dependency bumped.
> > 
> > Nevermind, we can still do the same in haskell-devscripts, as
> > before.  
> 
> I don't see the problem here. Even if we didn't split
> haskell-devscripts, it would still have its dependency on GHC, which
> we would bump.

I see the problem now, but, as you said, bumping in haskell-devscripts
should be fine.

> > But can we find a better name than -nocolour? There might be other
> > packages that we might want haskell-devscripts to depend on (not
> > fully realistic, but an example: hoogle). Maybe
> > haskell-devscripts-files? haskell-devscripts-stage1?
> > haskell-devscripts-common? haskell- devscripts-bootstrap?  
> 
>  - haskell-devscripts-files: Sounds reasonable
>  - haskell-devscripts-stage1: Feels a bit strange to me, even though I
>    can't tell why
>  - haskell-devscripts-common: Seems out of place, as the -common
> suffix is AFAIK usually used for other situtations.
>  - haskell-devscripts-bootstrap: Seems alright.
> 
> I think haskell-devscripts-minimal might also fit.

I used haskell-devscripts-minimal.

Regards
Sven

Attachment: pgpY70NIhx51z.pgp
Description: Digitale Signatur von OpenPGP


Reply to: