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

[Backport release-23.05] nixos/paperless: use toShellVars for paperless-manage #245362

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Bot-based backport to release-23.05, triggered by a label in #242275.

  • Before merging, ensure that this backport complies with the Criteria for Backporting.
    • Even as a non-commiter, if you find that it does not comply, leave a comment.

Atemu added 2 commits July 25, 2023 10:27
The homebrewed snippet didn't escape vars properly which is an issue because
PAPERLESS_OCR_USER_ARGS requires a JSON string. This also meant a discrepancy
between the services' env vars and paperless-manage's.

Just use the correctly functioning library function for this instead.

(cherry picked from commit 44f637a)
Co-authored-by: Christian Theune <[email protected]>
Co-authored-by: Erik Arvstedt <[email protected]>
(cherry picked from commit 2616bb7)
@lukegb lukegb merged commit 3e0779c into release-23.05 Jul 25, 2023
@mweinelt mweinelt deleted the backport-242275-to-release-23.05 branch July 25, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants