-
Notifications
You must be signed in to change notification settings - Fork 37
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
New Hackage release #84
Comments
Yes, but not immediately. There've been multiple changes recently and dust has not settled yet. You can accelerate things by acting as a beta tester:
Long file names and symbolic links are areas of special interest, because they are undergoing massive changes. |
Great, looking forward to it! We are already using |
I've uploaded a release candidate: https://hackage.haskell.org/package/tar-0.6.0.0/candidate I managed to adapt Cabal to work with it. @mpilgrem could you possibly check how it works with Stack? |
Released as https://hackage.haskell.org/package/tar-0.6.0.0 |
@Bodigrim, I was not able to get to this previously, but may I ask: does the change log entry "Prohibit non-ASCII file names instead of silent corruption." mean that programs, like Stack, which UTF8 encode file names in tar achives cannot now use this version of the package? For example, when creating let tarPath isDir fp =
case Tar.toTarPath isDir (forceUtf8Enc (pkgIdName FP.</> fp)) of
Left e -> prettyThrowIO $ ToTarPathException e
Right tp -> pure tp
-- convert a String of proper characters to a String of bytes in UTF8
-- encoding masquerading as characters. This is necessary for tricking the
-- tar package into proper character encoding.
forceUtf8Enc = S8.unpack . T.encodeUtf8 . T.pack |
Unfortunately this is unlikely to work, yes. I do not recommend playing fast and loose with filenames, but I don't have fundamental reservations against providing There likely to be bigger compatibility issues though. |
Thanks. Other parts of Stack use the |
It looks like the last version of this package published on Hackage is
0.5.1.1
published in August 2019. Are there plans to do a new release, especially sinceHEAD
is now up to0.7.0.0
?The text was updated successfully, but these errors were encountered: