Skip to content

froide-govplan: init at 0-unstable-2025-01-27#349750

Merged
onny merged 3 commits into
NixOS:masterfrom
onny:govplan
Mar 26, 2025
Merged

froide-govplan: init at 0-unstable-2025-01-27#349750
onny merged 3 commits into
NixOS:masterfrom
onny:govplan

Conversation

@onny

@onny onny commented Oct 19, 2024

Copy link
Copy Markdown
Contributor

Froide-Govplan, a web application government planer. Used by the project fragdenstaat.de/koalitionstracker

Enable froide-govplan by adding following snippet to your system configuration:

services.froide-govplan.enable = true;

Follow further setup instructions here.

Depends on:

ToDo

  • configure database url to use socket instead of tcp
  • support defining secret_key
  • STATIC_ROOT not working
  • froide-govplan app needs to run as govplan user
  • use latest froide version (no downgrade)
  • after creating cms page, need to restart froide-govplan to circumvent namespace error
  • Add test

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Oct 19, 2024
@nix-owners nix-owners Bot requested a review from natsukium October 19, 2024 11:42
@onny onny marked this pull request as draft October 19, 2024 12:06
@ofborg ofborg Bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Oct 19, 2024
@ofborg ofborg Bot requested a review from mmai October 20, 2024 10:14
@ofborg ofborg Bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. and removed 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Oct 20, 2024
@onny onny force-pushed the govplan branch 3 times, most recently from ab07f38 to 7d9436b Compare October 22, 2024 08:20
@ofborg ofborg Bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. and removed 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Oct 22, 2024
@ofborg ofborg Bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. and removed 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Oct 22, 2024
@onny onny force-pushed the govplan branch 3 times, most recently from 99f7ef0 to ff4db3b Compare October 24, 2024 06:07
@ofborg ofborg Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 24, 2024
@ofborg ofborg Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 5, 2024
@ofborg ofborg Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 5, 2024
@onny onny force-pushed the govplan branch 5 times, most recently from 341697e to b8c02ca Compare November 8, 2024 09:52
@ofborg ofborg Bot added 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. and removed 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. labels Nov 8, 2024
@onny onny force-pushed the govplan branch 4 times, most recently from a3f4f5a to 0016b0c Compare November 11, 2024 10:03
@onny onny mentioned this pull request Nov 25, 2024
13 tasks
Comment thread pkgs/development/python-modules/psycopg/default.nix Outdated
Comment thread nixos/modules/services/web-apps/froide-govplan.nix Outdated
Comment thread nixos/tests/all-tests.nix Outdated
Comment thread pkgs/by-name/fr/froide-govplan/package.nix Outdated
Comment thread pkgs/by-name/fr/froide-govplan/package.nix Outdated
Comment thread pkgs/by-name/fr/froide-govplan/package.nix Outdated
Comment thread pkgs/by-name/fr/froide-govplan/package.nix Outdated
Comment thread pkgs/by-name/fr/froide-govplan/package.nix Outdated
@onny

onny commented Mar 23, 2025

Copy link
Copy Markdown
Contributor Author

@drupol Thank you for reviewing :)

@onny

onny commented Mar 26, 2025

Copy link
Copy Markdown
Contributor Author

@drupol Is this ready to merge? :)

Comment thread nixos/modules/services/web-apps/froide-govplan.nix

@drupol drupol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll mark this as LGTM, but I haven't tested it, I trust @onny for that.

@onny

onny commented Mar 26, 2025

Copy link
Copy Markdown
Contributor Author

thank you @drupol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (new) This PR adds a module in `nixos/` 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants