[Haskell-cafe] Cabal v3 public sub-libraries

Mikolaj Konarski mikolaj at well-typed.com
Tue Sep 21 15:10:34 UTC 2021


Hi Daniel,

> Should I try a candidate upload to hackage, or is the testing about something in hackage-server or cabal itself?

I don't remember if candidates now display haddocks, but if they do,
that's probably a good way to test the multilib haddocks. Otherwise, I
guess, spin a private Hackage and test there.

I looked closer and there is also some related work remaining to do in cabal

https://github.com/haskell/cabal/issues/7669

and in haddock (polishing the multilib case and extending to backpack)

https://github.com/haskell/haddock/issues/1363

but probably not a lot in hackage-server itself

https://github.com/haskell/hackage-server/issues/924
https://github.com/haskell/hackage-server/issues/577

It may be useful to get in touch with the interested parties and
comment in these issues or open new ones.

Kind regards,
Mikolaj

On Tue, Sep 21, 2021 at 4:56 PM Daniel Winograd-Cort <dwincort at gmail.com> wrote:
>
> Hi Mikolaj,
>
> Thanks for the response!  Do you have any tips on how I can go about testing?  Should I try a candidate upload to hackage, or is the testing about something in hackage-server or cabal itself?
>
> Best,
> Daniel
>
> On Mon, Sep 20, 2021 at 3:10 AM Mikolaj Konarski <mikolaj at well-typed.com> wrote:
>>
>> Hi Daniel,
>>
>> IIRC, the main, or the only remaining problem with public multi-libs
>> is haddocks, and this set of haddock PRs paves the way and offers a
>> manual workaround: https://github.com/haskell/haddock/pull/1419
>>
>> Contributions and testing very welcome.
>>
>> Kind regards,
>> Mikolaj
>>
>> On Sun, Sep 19, 2021 at 3:53 PM Daniel Winograd-Cort <dwincort at gmail.com> wrote:
>> >
>> > Hi cafe,
>> >
>> > I remember hearing about public sub-libraries in cabal v3, providing the ability to declare multiple libraries in the same cabal file that can be accessed (individually) by other packages.  Does anyone know if this is supported on hackage, and if not, if there is a plan to allow this behavior on hackage?
>> >
>> > Thanks,
>> > Daniel
>> >
>> > _______________________________________________
>> > Haskell-Cafe mailing list
>> > To (un)subscribe, modify options or view archives go to:
>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> > Only members subscribed via the mailman list are allowed to post.


More information about the Haskell-Cafe mailing list