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
make docbuilder work with old index as fallback (& add admin acct to trustees) #756
Comments
If you add your local cabal server to the ~/.cabal/config file as a remote repo, then it should have its packages pulled in as well, which I think should suffice? If you find this works, a PR to improve the documentation here is very welcome :-) |
Here's the latest:
(Btw, the haddock build is supposed to fail here). So it is getting a 403 upon trying to upload the failed build report to the server? As always, thanks for the help. |
We could tweak the source to fallback to 00-index if there's no 01-index. Vis a vis the 403, you need to make sure the user specified in the configfile (at |
Once you get this working, a PR that gives simple instructions to the README.md (or in the docs directory, i guess, even though that's pretty stale) would be very appreciated! |
Whew, it's working now, after adding I can add some notes to the README shortly. About falling back to |
Here's where we'd need to fix to add fallback logic: cf5310a#diff-7e7aeeccaf1336a53230bac93394a5cf I don't remember exactly why we thought switching to the 01-index was particularly worthwhile, but I think it improved some corner cases because of that file contains more revision information. It's also sort of silly/irritating that the default admin account isn't automatically in trustees too -- a PR to change that would also be welcome :-) |
i did add 00-index as a fallback in a recent pr now. but we need to remove the limitation that 00-index doesn't have everything 01 does, for back-compat reasons that i think we can now remove. |
we removed that limit too now, so this is just about adding admin to trustees. |
Hi, I'm experimenting with a private Hackage server at the moment, and I'm struggling to get doc building working.
I tried running
hackage-build
locally asrundocs.sh
does, but I see this output:I dug a little bit deeper, and it appears
hackage-build
is grabbing package indexes from~/.cabal/config/packages
here:hackage-server/exes/BuildClient.hs
Line 160 in af9096e
So, this explains why I got
0 package(s) to build
- the package uploaded to my private hackage is calledkab
, which does not exist onhackage.haskell.org
.Any advice on how to proceed here is appreciated!
The text was updated successfully, but these errors were encountered: