Generate Django forms from deployment options #275

Closed
opened 2025-03-24 10:52:30 +01:00 by Niols · 3 comments
Owner

For now, they are just taken as an argument:

## Information on the specific deployment that we request. This is the
## information coming from the FediPanel.
##
## FIXME: lock step the interface with the definitions in the FediPanel
panelConfig:

It would make sense to at least make it NixOS module options such that we can benefit from more expressiveness and type checking.

For now, they are just taken as an argument: https://git.fediversity.eu/Fediversity/Fediversity/src/commit/a5c310ad03f8805161b22c8d546b94b1fd41a47a/deployment/default.nix#L32-L36 It would make sense to at least make it NixOS module options such that we can benefit from more expressiveness and type checking.
fricklerhandwerk was assigned by Niols 2025-03-24 10:52:30 +01:00
Niols added this to the Fediversity project 2025-03-24 10:52:30 +01:00
Owner

what is the context of this story (given it doesn't explain much, nor links to existing tickets)?
i'm under the impression #285 appears an implementation of this while the meeting last week seems the origin, but afaict the minutes there mostly mentioned going the other way around.

(c.f. similar question at the pr thread)

what is the context of this story (given it doesn't explain much, nor links to existing tickets)? i'm under the impression #285 appears an implementation of this while the [meeting last week](https://git.fediversity.eu/Fediversity/meta/src/branch/main/meeting-notes/2025-03-27_backend-model-conversion.md) seems the origin, but afaict the minutes there mostly mentioned going the other way around. (c.f. [similar question at the pr thread](https://git.fediversity.eu/Fediversity/Fediversity/pulls/285/files#issuecomment-5353))
kiara added a new dependency 2025-04-02 16:52:45 +02:00
Owner

i'll consider this closed as per Fediversity/Fediversity#285/files (comment)

i'll consider this closed as per https://git.fediversity.eu/Fediversity/Fediversity/pulls/285/files#issuecomment-5353
kiara closed this issue 2025-04-02 16:53:16 +02:00
Owner

given i was asked about closing this, i suppose the intent of this ticket may have flipped around mirroring the considerations linked at the above comment. to not guess about intent here tho, i'll just refer to the PR instead.

given i was asked about closing this, i suppose the intent of this ticket may have flipped around mirroring the considerations linked at the above comment. to not guess about intent here tho, i'll just refer to the PR instead.
kiara changed title from Generate deployment options from Django models to Generate Django forms from deployment options 2025-04-17 20:37:39 +02:00
kiara reopened this issue 2025-04-17 20:37:56 +02:00
kiara added the
type: task
label 2025-05-01 11:56:48 +02:00
kiara removed this from the Fediversity project 2025-06-10 18:49:02 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: fediversity/fediversity#275
No description provided.