You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to have Absolute rooted Paths, but also more specific like StoreDir, or PackageDir and ProjectDir which all would make handling paths a bit more robust.
It would helped a lot in my recent sdist refactor. Getting relative to PackageDir paths is tricky, not sure if I haven't missed any.
I however suggest to store these (file paths) in native way. (Not in POSIX like paths library does), because I'm quite sure that conversion from Windows to Posix and back won't roundtrip on fancier paths there might be. Therefore we might need separate PosixPath for tarballs etc if we end up needing such notion (and we might, index files...)
The text was updated successfully, but these errors were encountered:
Like the one already used in
hackage-security
.We want to have
Absolute
rootedPath
s, but also more specific likeStoreDir
, orPackageDir
andProjectDir
which all would make handling paths a bit more robust.It would helped a lot in my recent sdist refactor. Getting relative to
PackageDir
paths is tricky, not sure if I haven't missed any.I however suggest to store these (file paths) in native way. (Not in POSIX like
paths
library does), because I'm quite sure that conversion from Windows to Posix and back won't roundtrip on fancier paths there might be. Therefore we might need separate PosixPath for tarballs etc if we end up needing such notion (and we might, index files...)The text was updated successfully, but these errors were encountered: