9 Mar 2024 |
adamcstephens | the three solution i'm seeing are:
- move the unwrapped back to its own package
- eliminate the wrapper and move the wrapping back into the main package
- move the wrapper code into the module
| 16:14:20 |
adamcstephens | i started doing #3, but do i want to lose the ability to run this outside systemd if that ever comes to fruition? | 16:17:06 |
adamcstephens | maybe i'm just overthinking potential systemd alternatives | 16:18:28 |
hexa | yeah, people have annoyed me with "needs to run w/o the nixos module" alot of times | 16:20:33 |
hexa | in which case they should start start maintaining that part | 16:20:46 |
adamcstephens | i don't like #2 because coupling a complex wrapper with the package feels wasteful to me | 16:21:43 |
hexa | case in point: matrix-synapse-unwrapped | 16:22:03 |
adamcstephens | ok, i'll finish up #3. if a systemd alternative ever comes, i can rethink this again then :) | 16:22:40 |
adamcstephens | really this only applies to incusd anyway. there's only one extra package for the client, which is spice for gui consoles | 16:24:06 |
adamcstephens | thanks for your input hexa | 16:24:24 |
hexa | yw | 16:24:32 |
adamcstephens | building go packages is so refreshing compares to rust :) | 17:05:46 |
10 Mar 2024 |
adamcstephens | mkg20001 if you update the UI package will you make it a full package instead of overriding the lxd one? | 17:42:01 |
mkg20001 | In reply to @adam:robins.wtf mkg20001 if you update the UI package will you make it a full package instead of overriding the lxd one? why? is there any issue with the override? | 18:15:56 |
adamcstephens | Don’t we want to ensure we update any patches/scripts from zabbly when we update the source package? | 18:17:22 |
adamcstephens | I’m also still hoping to deprecate lxd. I’ve just been waiting for incus LTS | 18:17:51 |
hexa | after reading alot of the docs; does incus support online migration with anything but ceph? | 18:22:56 |
hexa | I feel they're not being clear on what is possible with what | 18:23:27 |
adamcstephens | maybe the new lvmlock support? | 18:39:17 |
adamcstephens | i don't have shared storage so i haven't explored it myself | 18:40:42 |
hexa | Yeah, but lvm means having shared central storage | 18:49:55 |
hexa | Which blows | 18:49:59 |
adamcstephens | don't you already run ceph? | 19:00:53 |
hexa | I do | 19:02:58 |
hexa | was just trying to understand the alternatives | 19:03:12 |
adamcstephens | https://github.com/lxc/incus/issues/564 | 19:03:48 |
adamcstephens | https://github.com/lxc/incus/issues/344 | 19:04:05 |
hexa | glusterfs is some weird distributed filesystem 😄 | 19:05:09 |
hexa | linstor is iirc the firm behind drbd | 19:05:19 |
adamcstephens | yep | 19:05:26 |