1 Apr 2025 |
adamcstephens | which wasn't well maintained for a while. i actually modernized it a bit | 14:46:45 |
adamcstephens | https://orbical-dev.github.io/incus_sdk/ | 14:47:00 |
adamcstephens | not declarative, but... | 14:47:13 |
hexa | haha 😄 | 14:47:22 |
adamcstephens | i think you know python, right ;) | 14:48:01 |
hexa | these examples are cute | 14:48:10 |
hexa | where is the error handling? 😄 | 14:48:16 |
hexa | sure looks cute for scripting things | 14:48:42 |
hexa | * sure looks fine for scripting things | 14:48:47 |
hexa | oh, they have error handling, the examples are just terse | 14:49:08 |
adamcstephens | there's a Go API client too, somewhat obviously as it's what the client uses, but I suspect you'd prefer the python one | 14:50:08 |
adamcstephens | https://pkg.go.dev/github.com/lxc/incus@v0.7.0/client | 14:50:43 |
adamcstephens | i thought i'd take a quick look at adding the Incus documentation. but it pulls in sphinx and some python packages we don't seem to have | 17:32:32 |
hexa | for sphinx we even have a hook | 17:33:17 |
adamcstephens | https://github.com/lxc/incus/blob/bbc49f4bbbf00993cbb45697e84c093d9760ac44/doc/.sphinx/requirements.txt | 17:40:38 |
adamcstephens | my attempts to substitute this out also failed, so may need to craft a patch https://github.com/lxc/incus/blob/bbc49f4bbbf00993cbb45697e84c093d9760ac44/doc/conf.py#L13 | 17:41:10 |
3 Apr 2025 |
adamcstephens | initial docs support: https://github.com/NixOS/nixpkgs/pull/395767 | 13:44:57 |
adamcstephens | i couldn't see a way to pass extra deps to the sphinx hook? | 13:45:20 |
8 Apr 2025 |
hexa |
Network type does not support non-default projects
| 17:27:11 |
hexa | blargh | 17:27:20 |
hexa | can't assign bridges to projects | 17:27:36 |
hexa | cmon | 17:27:37 |
9 Apr 2025 |
adamcstephens | apparently i was much too ambitious that i could just update all the LTS components and things would just work... | 02:59:44 |
adamcstephens | I'm going to get these LTS components updated, and possibly do some runTest refactoring of the tests, then I think I'm going to reassess my priorities on this stuff. I'm losing steam on this stack. | 03:08:36 |
adamcstephens | Also summer is coming, and I'll have more work to be doing outside in the garden. | 03:09:30 |
adamcstephens | I think the easy thing to let slide will be the monthly non-LTS Incus updates. Maybe someone would be interested in picking up the baton on these? | 03:10:34 |
adamcstephens | This script is...a thing... https://github.com/lxc/lxcfs/blob/main/share/lxc.reboot.hook.in | 03:23:56 |
adamcstephens | 10 years ago. incus now is checking the return value, and leaves the container in a error state when it fails. only option is to kill incus... | 03:25:10 |
adamcstephens | anyway, fix is a simple wrapper, but still. | 03:25:18 |
12 Apr 2025 |
| Spaenny joined the room. | 19:09:23 |