-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot clone repository properly on MacOS #268
Comments
You can clone the repository by creating a case-sensitive filesystem image, the same as for building Haiku. Here's an old guide that details how to do it: https://www.haiku-os.org/articles/2015-02-05_building_haiku_mac_os_x_1010_yosemite/#disk_image |
@jurgenwigg made some simple renaming changes to fix this and they were cancelled by a later change. I think we should really fix this repository to be cloneable without such complicated setup. Why is that so hard to do? It's just about renaming a single file :( |
We can also change path to the source code by just moving files from |
The reversion was done by @korli.
But HaikuPorter does have real usages outside of Haiku, namely bootstrap cross-compile builds, which are not done with installed toolchains. That would be the primary usecase for HaikuPorter on macOS. As the Haiku repository itself cannot be checked out at all, much less built, on a case-insensitive filesystem, why does it matter that HaikuPorter can't be, either? |
There are many use cases and reasons to make possible for the people to normally (without any issues) clone repository. Before doing any further refactoring or cleanup we should write unit and integration test for the existing code. This should be possible to be done on any OS. Since HaikuPorter can be used for cross compilation it shouldn't depend on case sensitivity of the OS. |
Like what?
It is possible. Just create a case-sensitive disk image using DiskUtility, the same as when cloning the Haiku repository.
It does, and so does Haiku's cross-compilation process. You can simply create a case-sensitive disk image on macOS and use that, as Haiku developers who use Macs already do. |
It is the 4th time we are having this discussion now, that's ridiculous. Can we just rename one file or move one directory? This should cost about zero effort. There are no downsides. Why are we wasting time arguing about it? We should just make a simple change and allow cloing Haikuporter on Windows and Mac OS to work. There is no reason to keep things the way they are now. Why are you insisting on not making this simple change? Reasons why this can be useful (already mentioned the previous times we had this discussion, but I will repeat them again...)
For Haiku, supporting all these usecases would be hard, nonetheless, it is possible to clone the repo from MacOS without problems. It's only the building of Haiku that will be problematic, and that would require a nontrivial amount of work to fix, so we may not do it. But here? It's just a single file to rename. |
Except there are usages of
That's what
Windows has case-sensitive NTFS for WSL. I have the main Haiku repository checked out on case-sensitive NTFS, and it works great. Unlike macOS, it's completely transparent; you don't need to make a separate disk image for it.
We support building Haiku on macOS already and there are developers who do just that (e.g. jscipione), using a case-sensitive disk image. |
The initial proposal (renaming the haikuporter directory instead of the script) was rejected. The second proposal (moving the haikuporter directory to an src subdirectory) was also rejected. As far as I can see, both of these would work just fine without any changes needed elsewhere. Am I missing something? |
Next option would be setting Where and how is used |
This series of commits was messy anyway, didn't explain anything why it was done. I miss why the folder can't be renamed. |
This works with a case-sensitive disk image. Did you follow the instructions here? https://www.haiku-os.org/articles/2015-02-05_building_haiku_mac_os_x_1010_yosemite/#disk_image This works for other Haiku developers just fine, I know @jscipione develops on macOS with case-sensitive disk images.
I think it needs to keep the name |
How about moving haikuporter.py and Haiku porter to a subdir then? |
Disk image works fine. Nevertheless I think forcing users to create disk image for this repo is a wrong thing. There should be a note about that in the documentation for the |
It is packaged properly for Haiku (as an hpkg file) already. Use on other OS is quite limited (only for Haiku bootstrap) for now, unless you have plans to change that? We should still fix this issue, of course, and maybe do a "proper" Python packaging as well. |
Making proper python package is almost done. Whole source from About other uses - I've just started to dig deep into |
Hi, after last commits I cannot clone repository properly (with preserving all files and directories) on MacOS:
The text was updated successfully, but these errors were encountered: