-
Notifications
You must be signed in to change notification settings - Fork 696
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
No bootstrap
files in Hackage cabal-install tar ball
#7289
Comments
Just to echo here, the bootstrap.py file is not part of the |
Bumped into this problem too when updating FreeBSD port of |
Probably rewrite README.md, then? |
@ambs what's wrong with the readme? |
README.md refers to the bootstrap.sh file. If it is not shipped, we should not refer to it :) |
@ambs could you link to the specific line where we mention bootstrap.sh? I can't find it |
Probably we are referring to different things but look into https://hackage.haskell.org/package/cabal-install. Line 53. |
Indeed we are! The readme is fixed on master. Changing the one on hackage would require a release |
Yeah, common mortals prefer to use releases. :-) |
And extra detail, |
What remains to be done to resolve this? |
The bootstrap script should be distributed with Hackage tarball. |
I can do that for 3.8.1 release. Do you mean the |
Yes.
The |
Thank you. Uhoh:
Cheat via a symbolic link? Move |
These files are now named |
To clarify, the Would that be acceptable? |
That's right, |
FWIW, OpenBSD port packages its own openbsd.json. It's easy enough to regenerate and keep around. Hence from my point of view |
Well, yes. We at FreeBSD patch the existing |
[Edit: the below is now fixed]: |
Hi there! In the heat of the battle, this request has been ignored and then re-assigned to the upcoming release 3.12. Is bundling |
I don't see a reason to prefer Hackage to GitHub for getting these script and JSON files. And the change is prone to all sorts of dangers as Mikolaj points out above. Also, priority: high is not adequate imo. |
Considering how long this went unpatched I can't justify this being a high priority item. A reason to prefer the official hackage release is just that: it's official. My guessing at the right tag and relying on github to package up the bundle is somewhat less reliable. It's somewhat ironic, that the key GitHub used to sign the latest release is GPG key ID: 4AEE18F83AFDEB23 |
Describe the bug
cabal-install-3.4.0.0.tar.gz as distributed on hackage doesn't include bootstrap directory.
These files are very useful when bootstrapping cabal-install without having a previous version handy, e.g. in my OpenBSD port. I was previously using an rc-tagged bundle on github and hoping to change the dependency to Hackage instead.
Expected behavior
Enough files available on Hackage to build all of cabal-install.
System information
cabal-3.4.0.0
,ghc-8.10.3
The text was updated successfully, but these errors were encountered: