Skip to content

No build report UI for package candidates #74

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

Open
edsko opened this issue Sep 24, 2013 · 12 comments
Open

No build report UI for package candidates #74

edsko opened this issue Sep 24, 2013 · 12 comments

Comments

@edsko
Copy link
Contributor

edsko commented Sep 24, 2013

Because cabal-install does not support package candidates explicitly, the only way for the doc builder to install a package candidate (in order to build its docs) is to do

cabal-install ... http://example.com/package/package-name-X.Y.Z/candidate/package-name-X.Y.Z.tar.gz

rather than simply

cabal-install package-name-X.Y.Z

That works ok, but when cabal-install is invoked like that it does not generate a build report, and hence we don't get build reports for candidates. We might fix this in the doc builder somehow, or else in cabal-install.

@hvr
Copy link
Member

hvr commented Dec 3, 2013

...according to @dcoutts, that reports are not being created for candidates, also causes candidate docs not to be uploaded (even though a proper docs tarball results from the build). Moreover, the failed-list isn't updated for candidates either, causing candidates with build failures to be rebuild over and over again.

@selinger
Copy link

selinger commented Dec 6, 2013

Do I understand correctly, from the above thread, that when I upload a package candidate, there is currently no way of checking whether it (and in particular, the documentation) builds correctly? Because one of the main reasons for me for using package candidates in the first place is that I would like to check that everything builds correctly before officially publishing the package. Haddock is one of the most finicky components of the build process, and I also use a custom Setup.hs (mostly to work around bugs in Haddock and HsColour), so I would in particular like to check that the documentation builds correctly.

However, package candidates that I have uploaded (see e.g. http://hackage.haskell.org/package/newsynth-0.1.0.0/candidate and http://hackage.haskell.org/package/fixedprec-0.2/candidate) seem to have neither any documentation generated (even after waiting 24 hours just in case), nor any report showing the outcome of the build process.

@JoeyEremondi
Copy link

Any progress on this? I'm having the same problem.

@lambda-fairy
Copy link
Contributor

Looks like this bug depends on haskell/cabal#1189.

@dcoutts
Copy link
Contributor

dcoutts commented Aug 13, 2014

Ok, haskell/cabal#1189 is fixed (thanks @lfairy), so we're closer to fixing this for candidates.

@gbaz gbaz changed the title No build reports for package candidates No build reports or docs for package candidates Mar 6, 2018
@gbaz
Copy link
Contributor

gbaz commented Jun 7, 2021

This is half done -- build reports are being generated as are docs, but there's no link or html rendering for the build report info. So instead we see e.g. https://hackage-origin.haskell.org/package/multi-except-0.3.0.0/candidate/reports/ as
image

@gbaz gbaz changed the title No build reports or docs for package candidates No build report UI for package candidates Jun 7, 2021
@kcsmnt0
Copy link

kcsmnt0 commented Jul 4, 2021

How long is it expected to take for the build report to show up? I uploaded a candidate a few days ago that seems to still have no reports or module docs. Apologies if this is the wrong place to ask, but this is my first time uploading to Hackage and it's very hard to locate any reliable information about this issue!

@gbaz
Copy link
Contributor

gbaz commented Jul 5, 2021

If docs build properly they should show up within the hour, usually. Its not clear to me why the builder doesn't seem to have picked up this package, I intend to debug it in the next few days. But given the dodginess of the candidate builder, you shouldn't let that influence your decision to publish the package properly one way or the other...

One hunch I have is that the candidate builder might not work for packages who are not in the main index at all yet, but only uploaded as candidates...

@kcsmnt0
Copy link

kcsmnt0 commented Jul 5, 2021

Alright, I have tested everything thoroughly on my local machine so I guess I'll publish it and hope for the best. As a first-time contributor, it's a little intimidating to have the Hackage upload page emphasize how publication is permanent when there's no direct way to preview what I'm publishing!

@selinger
Copy link

selinger commented Jul 5, 2021 via email

@gbaz
Copy link
Contributor

gbaz commented Jul 6, 2021

on why the candidate builds still aren't working right, i can confirm my hunch, opened an issue. #949

@gbaz
Copy link
Contributor

gbaz commented Jul 6, 2021

and by the way there's an updated howto for manual doc uploading in the uploads page: https://hackage.haskell.org/upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants