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

Redesign configuration #4017

Open
nijel opened this issue Jun 11, 2020 · 2 comments
Open

Redesign configuration #4017

nijel opened this issue Jun 11, 2020 · 2 comments
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.

Comments

@nijel
Copy link
Member

nijel commented Jun 11, 2020

Weblate uses Django settings since the beginning. It might be time to revisit this decision as in many cases this causes troubles.

  • The settings is Python code, what makes it powerful, but most people do not need this
  • The settings live in the Python site packages, what makes it look like code, while it actually is not
  • Most of the settings are not supposed be changed by users and forgetting doing that on upgrade can lead to subtle breakage
  • We have additional layer on top of that to load settings from the environment in Docker container, maybe we could use something shared for both environments
@nijel nijel added the enhancement Adding or requesting a new feature. label Jun 11, 2020
@nijel
Copy link
Member Author

nijel commented Jun 11, 2020

We might want to try something like https://pydantic-docs.helpmanual.io/ for loading from the environment.

@nijel nijel added the backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. label Jun 11, 2020
@github-actions
Copy link

This issue has been added to the backlog. It is not scheduled on our roadmap, but it eventually might be implemented. In case you desperately need this feature, please consider helping or funding the development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant