-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept multi-lib packages with public sublibraries #1119
Comments
This is indeed a planned feature. I think the groundwork is basically laid except for porting hackage server to link against 3.8 and a new deploy. Once that's done, the UX might be a bit rough still, but it should all work at least (and we can improve the display as we go). Hopefully we can do this forward port and deploy in the next couple months, following the conclusion of gsoc projects which should also be incorporated into the upcoming deploy. |
I totally thought this was already done! Is my recollection incorrect or is some brave soul updating hackage code needed? |
I think it should work now, if anyone has a multilib package to upload. |
Ok cool! Are there any on hackage yet ? I’m curious what the ui looks like |
closing as done. |
I'm also curious as to whether there are any examples in the wild. I think a number of us are keen to try this out but anxious not to mess up our packages accidentally, so it would be great to see an example which we could poke and check it seems to work okay! |
From a quick index grep, there is currently no such package on hackage edit: but you can experiment by uploading candidates |
i may have 1-2 experiments lying around i can try in the near future once i
clean them up
…On Mon, May 15, 2023 at 8:46 AM Francesco Gazzetta ***@***.***> wrote:
From a quick index grep, there is currently no such package on hackage
—
Reply to this email directly, view it on GitHub
<#1119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABBQQWVLNVBZMBZGJGSN3XGIQSLANCNFSM56FFGKUQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
We will have one very shortly; no later than this year's Zurihac, I expect. |
How is one actually supposed to use this feature? I've run the usual |
Upload is allowed, but the hackage UI isn't there yet. You can still use the public libraries in other cabal packages though |
Ah, yes, I now see that that's tracked in #1218.
Can confirm this does work! At least when adding to |
Now that cabal 3.8 has been released and multi-lib packages are no longer experimental, my understanding is that it is planned to update Hackage to accept multi-lib (with publicly visible sublibraries) packages (#852 (comment)).
I am opening this issue mostly to have something upstream to track the progress of this.
Some specific questions:
Links to other tracking issues in the ecosystem:
The text was updated successfully, but these errors were encountered: