Kiara Grouwstra kiara · any pronouns
kiara pushed to stitching at kiara/Fediversity 2025-03-13 13:29:31 +01:00
49e1799d70 pass flake path as inputs.self.outPath?
kiara closed pull request fediversity/fediversity#245 2025-03-13 11:02:02 +01:00
Rekey For Public Key Lois
kiara commented on pull request fediversity/fediversity#245 2025-03-13 11:02:01 +01:00
Rekey For Public Key Lois

manually rebased into main

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:54 +01:00
WIP: versioned configuration schemas

this draft PR so far seems not to address how to associate such versions with deployment modules revisions, which could be covered by a custom mapping. that seems relevant in case we update things after an operator deploys (#159), but also in case of migration across different versions (Fediversity/Fediversity#100 (comment)).

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:54 +01:00
WIP: versioned configuration schemas

for my understanding, are we using getattr so the type checkers won't cry?

kiara suggested changes for fediversity/fediversity#229 2025-03-13 10:58:54 +01:00
WIP: versioned configuration schemas
kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

separate versions as code impose extra burden on PR reviewers, as it will not by default show diffs when going from a v1 to v2. for that purpose it would seem more elegant to store generated variants by version (whether in source or a db, stored in full or by revsets), such that the source can stay diff-friendly.

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

django control over schemas may make it harder to verify such a schema works out with the property translations the nix back-end would then need to write.

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

if django is to be in control of the schema, how would we verify schema compatibility between django and our deployment module?

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

maybe defer making this dynamic (by e.g. username like here) until we get a DNS provider to ensure we can reflect this?

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

without DNS provider probably even two options is more than we can do

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

as things grow and we would get closer to exposing e.g. nix module options, this manual approach seems to scale less well, compared to generating this from upstream schemas (or potentially our own derivatives).

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

having to do this feels a bit dirty 🥲 but maybe that seems part of the other discussion

kiara commented on pull request fediversity/fediversity#229 2025-03-13 10:58:53 +01:00
WIP: versioned configuration schemas

^ i guess it works, but fwiw it feels hacky, even without the module getting loaded every time

kiara created pull request fediversity/fediversity#246 2025-03-12 16:33:24 +01:00
WIP: trigger nixops from panel
kiara created pull request fediversity/fediversity#245 2025-03-12 14:36:23 +01:00
Rekey For Public Key Lois
kiara opened issue fediversity/fediversity#244 2025-03-12 13:35:11 +01:00
account workspaces
kiara opened issue fediversity/fediversity#243 2025-03-12 13:33:22 +01:00
knowledge base
kiara opened issue fediversity/fediversity#242 2025-03-12 13:32:37 +01:00
enqueue deployment syncs
kiara opened issue fediversity/fediversity#241 2025-03-12 13:29:05 +01:00
allow multiple deployments per operator