[new release] fsevents (2 packages) (0.4.0) - #30479
Conversation
CHANGES: - Remove `base-bytes` dependency (@Leonidas-from-XIV, mirage/ocaml-fsevents#1) - Update GitHUb actions scripts (@samoht, mirage/ocaml-fsevents#4) - Update to `cmdliner.1.1.0` (@samoht, mirage/ocaml-fsevents#5) - Apply `ocamlformat.0.27.0` (@MisterDA, @samoht, mirage/ocaml-fsevents#3)
|
A side note to @panglesd if we look about errors: You should note run tests when cmdliner's outputs are involved according to this comment. |
|
Thanks for the release, and for the pointer! I'll do something about those tests before my next release. |
|
Oh no I forgot to do it before #30652 ... 😞 Is it the reason you added the |
Actually, I think I need some helps. I currently don't have an access to a MacOS and it seems that the package does not compile anymore on such platform. If you are the time to fix and propose a PR, I can take the relay and release it 👍. Otherwise, I will try to figure out how to fix the compilation. |
|
I tried it out on my mac. Tests are failing because the first event is If I add let drop_xattr_mod stream =
Lwt_stream.filter_map
(fun event ->
let flags = { event.flags with item_xattr_mod = false } in
if flags = zero then None else Some { event with flags })
streamand replace - let stream = Fsevents_lwt.stream watcher in
+ let stream = drop_xattr_mod (Fsevents_lwt.stream watcher) inin |
|
I don't see locally, which seems to be the main failure in the CI. |
|
My investigation would be that the test in I think a fix would be to associate the test with the fsevents-lwt package: ; example/dune
(executable
(name print_events)
(enabled_if
(= %{system} macosx))
(libraries cf-lwt fsevents-lwt))
(alias
(name runtest)
(enabled_if
(= %{system} macosx))
+ (package fsevents-lwt)
(deps print_events.exe))Anyway, @mseri issue should probably be fixed too. I don't have a Mac either, I use github's CI which is a very bad UX but better (maybe?) than buying a mac just for that, and unlimited for OSS. |
|
See also mirage/ocaml-fsevents#11. |
OCaml bindings to macOS FSEvents
CHANGES:
base-bytesdependency (@Leonidas-from-XIV, Removebase-bytesdependency mirage/ocaml-fsevents#1)cmdliner.1.1.0(@samoht, Update to cmdliner >= 1.1.0 mirage/ocaml-fsevents#5)ocamlformat.0.27.0(@MisterDA, @samoht, Use ocamlformat mirage/ocaml-fsevents#3)