Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pretalx #2

Closed
fricklerhandwerk opened this issue Jul 11, 2023 · 6 comments
Closed

pretalx #2

fricklerhandwerk opened this issue Jul 11, 2023 · 6 comments
Assignees
Labels
NGI0 Entrust Funded through NGI Zero Entrust package Create a Nix package service Create a NixOS service module

Comments

@fricklerhandwerk
Copy link
Collaborator

fricklerhandwerk commented Jul 11, 2023

Pretalx is one of the leading open source tools capable of handling the full organisation of events from Call for Proposals to user feedback, and is used by many large open source events already (MozFest, FOSDEM, Pycon, NSEC, etc).

Since this project supports "components", it will need a configurable setup. Break down into separate issues as needed.

The goal here is to provide turnkey setup for self-hosting.

@fricklerhandwerk fricklerhandwerk added package Create a Nix package service Create a NixOS service module NGI0 Entrust Funded through NGI Zero Entrust labels Jul 11, 2023
@lorenzleutgeb
Copy link
Member

@ngi-nix/algae will look into this, starting 2023-07-31.

@lorenzleutgeb
Copy link
Member

lorenzleutgeb commented Aug 2, 2023

@ngi-nix/algae is progressing, packaging pretalx via poetry2nix. At the moment, it runs in a basic configuration (webserver started via shell, using an SQLite database). We'd like to introduce services soon and at that point #28 would be helpful. We haven't yet looked into a solution for components.

@lorenzleutgeb
Copy link
Member

A note regarding "optional dependencies": As of now, we have:

  • psycopg2-binar for PostgreSQL
  • mysqlclient for MySQL
  • django-redis for Redis
  • Faker and freezegun for (integration) testing

See also:

psycopg2-binary = "*"
Faker = "*"
freezegun = "*"
mysqlclient = "*"
django-redis = "*"

It looks like the preferred way to specify such dependencies is Poetry extras. However, according to nix-community/poetry2nix#400 there's no good support for exposing extras via poetry2nix.

@mweinelt
Copy link
Contributor

NixOS/nixpkgs#231684 exists and is probably further along.

@lorenzleutgeb
Copy link
Member

lorenzleutgeb commented Aug 24, 2023

Cool, especially that you managed to package it without poetry2nix! We've merged our work in the meantime. Overall, the approach is quite similar, as would be expected. There are some differences though (handling secrets, using pretalx create_test_event). It might be worth it for you to check out our contribution.

@augustebaum
Copy link
Contributor

The PR to nixpkgs is awaiting further review with our contributions but in the meantime it seems we're done here

lorenzleutgeb pushed a commit that referenced this issue Apr 18, 2024
Fix support for lists of runner labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NGI0 Entrust Funded through NGI Zero Entrust package Create a Nix package service Create a NixOS service module
Projects
Status: mobleted
Development

No branches or pull requests

7 participants