-
Notifications
You must be signed in to change notification settings - Fork 710
Cabal 3.4.0.0 release on Windows lacks extensions #7298
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
Comments
To fix, we need to change Line 255 in 89df281
|
I am afraid that i observed that in the release candidates downloads but i assumed the official release download would be done in other way (the same way previous correct ones) 😟 |
@jneira Release candidates where there so people could report issues, also about packaging. I was testing new packaging scripts as well. I think I shouldn't have assumed that people would report issues about that. But you shouldn't assumed either. Let's not assume anything and ask if something doesn't seem right, ok? |
Sure, I have to say that if RC downloads had been placed in the same page or site than the official one I would be more inclined to open an issue or mention it. |
In addition to the missing extension, the file naming of the distributions themselves has changed. Perhaps this was intentional but in my opinion it's best to name distributions with a proper triple and only deviate with good reasons. Afterall, there are untold many scripts which depend upon this naming convention. |
Investigating a bit more closely, it looks like these names come from |
One more thing to track raised by a Windows user: https://mail.haskell.org/pipermail/haskell-cafe/2021-February/133465.html Apparently we're not testing |
That's just |
@Mistuke alright that explains the CI passing for windows. I got @mightybyte to do a bounds bump |
@Mistuke so this should be fixed. Are you good on your end? |
I'm confused:
In what sense has this issue been fixed? |
Are we seeing the same thing here? Ben Gamari and I uploaded a revised version on sunday that had the correct extension. I just downloaded and it had
This can be addressed later, and we're not even sure this is a change that needs to happen, since it's probably more correct as @bgamari mentions. I need to know if Mistuke is unblocked on the binaries now, which is the more pressing issue. |
Perhaps not! I tried downloading https://downloads.haskell.org/cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip this morning, which contained |
downloads.haskell.org aggressively caches everything, so who knows lol. Either way, that should fix Chocolatey for now, and we can talk Now, i'm fine with naming changes as long we shout them loudly. This particular issue is the result of not doing that and letting everyone else clean up when things broke. I'm fine with the change to convention though! If @Mistuke/other people tell me otherwise that it's a PITA or breaks some system invariant, I'll throw a PR up for reverting that behavior. That said, @fgaz and I are currently the only active maintainers, so any help people can contribute is very appreciated. |
@emilypi yup, we're all good, thanks! package is making it's way out so I can publish GHC 9.0 :) |
great! glad we could get you unblocked @Mistuke and sorry for the confusion 🙇 |
Sorry if this is not the appropriate issue (happy to open a new one if needed) but I usually downloaded the official release from It would be great if release candidates would be listed there too (or link to other dedicated page within haskell.org). I think it would help it's diffusion, so more users would try them and more errors would be catched. |
@jneira that's something we'll have to poke the haskell org folks to update. Submit a PR with an update to https://github.com/haskell-infra/www.haskell.org and I'll approve + merge it (i still have rights!) |
can this be closed? |
@gbaz i'm not sure we want to close it until there's a PR to |
afaics https://downloads.haskell.org/~cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip is fixed and release.py does not exist anymore so i think we can safely close this |
I'm afraid the Windows build at https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/ has no @hasufell: would it be possible to get .exe by tweaking the gitlab CI script or does it require changes elsewhere? |
It's a zip file https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0-rc1/cabal-install-3.8.0.20220526-x86_64-windows.zip Did you look inside? |
Yes, that's how I know the file is |
*the file inside |
Copied from #7297
|
This should be fixed in 3.8.1.0-final (or 3.8.1.0-rc2) thanks to #8191. Please confirm once it releases in a month or so. |
Describe the bug
As discussed in Mistuke/CabalChoco#3 ,the binary while it doesn't need an extension for command-line execution, it does break the platform convention and is problematic in a lot of GUI based tools. a lot of tools filter the program type based on extensions.
To Reproduce
Download and unpack https://downloads.haskell.org/~cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip
the file in there is
cabal
and notcabal.exe
Expected behavior
I expect file to be
cabal.exe
System information
Additional context
Currently blocking packaging of cabal on chocolatey and haskell-ci
haskell/actions#39
The text was updated successfully, but these errors were encountered: