Ran into strlen/strpos issues while using Arcanist on Windows:
- Running arc version when not in a project/repository directory blew up (may not be specific to Windows).
- Determining mime type of binary file in repository fails.
Refs T15064
Differential D25534
T15064: Several arcanist PHP 8.1 compat issues on Windows speck on Feb 6 2024, 00:37. Authored by Tags None Referenced Files
Details
Ran into strlen/strpos issues while using Arcanist on Windows:
Refs T15064 Ran diff including a binary file. Ran arc version when not in a project/repository directory.
Diff Detail
Event TimelineComment Actions I wonder how many Windows users we have. The xhpast linter does not work, and the unit test failures listed here are pre-existing and occur without these changes. Comment Actions To be fair, it's possible that most of the arc features work for Windows users that don't use PHP. Or at least, arc diff might work for some setup of lint/unit configuration. Comment Actions Both of these failures are edge cases so it does seem likely we wouldn't have found them as quickly. I do still wonder how many Windows users we have. |