8 Oct 2024 |
jade_ | and most of the time this hasn't affected us because we mostly left macOS code alone for reasons not unlike this reasonn | 23:41:56 |
KFears (tragedy arc) | In reply to @jade_:matrix.org well, sort of. it just makes it very brittle The reason why I point this out is because I feel like anything like "tier 1 support" is big doubt if you can't install the daemon | 23:42:45 |
jade_ | i am suggesting that a snapshot based test thingy is something that you could very conceivably write, anyhow, and that perhaps you should write if you want to make the macOS situation better.
the first thing i would do is make a snapshot manually, don't worry yet about automating it, then script starting up the VM and running a test and throwing away the snapshot. | 23:43:48 |
jade_ | this would at the very least make your own life way easier | 23:44:00 |
KFears (tragedy arc) | Like, I do mind maintaining MacOS side of things, because the CI is extremely painful at best and I don't have any local testing environment to do it, but my biggest issue is that I doubt I can say that lix-installer supports MacOS as tier 1 even if I do more than my very best | 23:44:42 |
jade_ | i use OSX-KVM when i have to test apple software because it is the only way it will get done unless a mac magically appears on my doorstep | 23:45:44 |
KFears (tragedy arc) | Like, I'll do my best but I can't make any guarantees about MacOS even if I do the best I can, is what I'm trying to say | 23:45:47 |
KFears (tragedy arc) | Does it make sense? | 23:45:51 |
jade_ | right | 23:45:54 |
jade_ | what i am saying here is that it would be very valuable to the project if you wrote a thing that abstractly "starts a VM", whether with OSX-KVM if necessary or via qemu on native macOS (can literally be a script provided by the user to start qemu), from a snapshot and lets you at least at the start, manually run a test on it locally, then shut it down. | 23:47:58 |
KFears (tragedy arc) | Right | 23:48:46 |
KFears (tragedy arc) | I'm not sure if I'll ever get to it, but just to clarify: is that legal if you don't own/run it on MacOS? | 23:49:09 |
jade_ | i believe that is an unequivocal no | 23:49:23 |
jade_ | but people run hackintoshes and i don't think it has ever been enforced except possibly on people selling hackintoshes. i don't endorse it and the project doesn't endorse it. :/ | 23:51:03 |
KFears (tragedy arc) | So in short: there is no legal, not-astronomically-expensive and convenient way to run lix-installer tests, at least. At most, you get to pick two | 23:55:44 |
jade_ | that's right | 23:55:55 |
KFears (tragedy arc) | Yeah, so then, like, I'm not sure if we can call MacOS support tier 1 even if we can actually run the CI and stuff like normal for it | 23:56:36 |
KFears (tragedy arc) | Because installation will always be different shades of pain | 23:56:51 |
jade_ | owning a mac and running a vm on it with snapshots is (1) and (3), eula violations with an essentially identical script to do the same thing are (2) and (3). | 23:57:22 |
jade_ | but this is a software problem because that script needs to be written and then the installer can easily be tested. | 23:57:50 |
KFears (tragedy arc) | Hmm, I see. So if there's some money to start the process, it's not that bad, right? | 23:58:29 |
colemickens | might be of interest: https://github.com/MatthewCroughan/NixThePlanet | 23:58:54 |
jade_ | yeah. in principle. or if you build it originally with osx-kvm and port it to m1 | 23:58:56 |
jade_ | In reply to @colemickens:matrix.org might be of interest: https://github.com/MatthewCroughan/NixThePlanet aha there is a wfvm for macOS lol | 23:59:14 |
| Lulu joined the room. | 23:59:26 |
9 Oct 2024 |
KFears (tragedy arc) | Alright, so. Aside from the CI stuff, is there anything else I can prioritize on installer? Just getting rid of the tech debt and stuff for now? | 00:02:53 |
jade_ | i mean i think CI is the primary barrier to really wanting to touch it. overall improvements generally encouraged. | 00:04:07 |
jade_ | (also hi cole, thanks for your work upstream on the installer and for fixing the macOS Sonoma issues) | 00:06:56 |
colemickens | In reply to @jade_:matrix.org (also hi cole, thanks for your work upstream on the installer and for fixing the macOS Sonoma issues) Other cole :) | 00:07:08 |
jade_ | WOOPS | 00:07:12 |