-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add PosixFilePath and friends support (for AFPP) #202
Conversation
cabal.project
Outdated
source-repository-package | ||
type: git | ||
location: https://github.com/hasufell/filepath.git | ||
tag: babf4068bd7e3c84b87033ed12542a34efa6a462 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temporary
b7f1a64
to
2a96025
Compare
@hasufell could you please rebase? |
c98b694
to
4d7bce9
Compare
ping |
76b3442
to
c0fd56c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine with minor nits. Please address those you don't object to, and rebase...
@hasufell could you please rebase? |
done |
Now that we have CI for "wasm", it is no longer in the way of routine work by wasm-agnostic maintainers. :-( |
I’m AFK, but either Wasm CI job should honor settings in |
567811d
to
c7c32da
Compare
The ARM CI isn't working yet, and I should look a bit more carefully at the new Posix-flavoured Terminal.hsc. |
@TerrorJack |
Sure I'll open a PR against |
@Bodigrim It should work now if you restart the job; I looked into it, and it seems to be a transient network failure; I added retry logic to the curl scripts. |
Not due to a network failure: https://github.com/haskell/unix/runs/7280567595?check_suite_focus=true I don't know what |
It's now a cabal bound issue, since |
We might have been hit by https://gitlab.haskell.org/ghc/ghc/-/issues/21738 |
@hasufell Thanks for the pointer! Given |
To provide more context, the job is to added to test |
Yes |
If you push the fix at https://gist.github.com/TerrorJack/6352f35dc53e7b1b1baef4391ff86c3d, the |
8605076
to
2d86597
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Modulo a pending rebase and ideally a successful CI run.
|
||
import System.Posix.Types | ||
import System.Posix.IO.Common | ||
import System.Posix.IO.ByteString ( fdRead, fdWrite ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We import fdRead
and fdWrite
from ByteString now.
@hasufell there are several redundant imports. GHC build will choke on warnings. |
be2f725
to
7f32a74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, great!
Depends on: haskell/filepath#103
For testing simple file operations, you can use https://github.com/hasufell/file-io (also please review the posix module)
@Bodigrim