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

Use the flask-native global configuration store instead of rolling our own #2506

Open
matrss opened this issue Sep 3, 2024 · 3 comments
Open
Assignees
Milestone

Comments

@matrss
Copy link
Collaborator

matrss commented Sep 3, 2024

Every Flask app has a .config attribute to store configuration. Additionally, for MSColab we have mscolab_settings. I think this is redundant, we could just use app.config for everything that should be made globally available in the application in a key-value fashion.

This would also become important once there is not just a singular global APP instance, but the possibility to instantiate more then one Flask app, as each app needs its own configuration. This is something that mscolab_settings is not set up for ATM.

This came up in #2499 (comment).

@ReimarBauer
Copy link
Member

we used mostly the same pattern as for mswms_settings. Also there we maybe can move the server configurations to the app.config.

@ReimarBauer ReimarBauer added this to the 11.0.0 milestone Oct 31, 2024
@anshulagrawal2902
Copy link

Hi, I am interested in taking up this issue. Could you please assign this to me ?

@ReimarBauer
Copy link
Member

ReimarBauer commented Dec 30, 2024

btw. all the "GSOC 75-350h" labeld are ideas for the next GSoC https://open-mss.github.io/develop/GSOC/ideas
(it is not announced that there will be one) This one has a bit more description on https://open-mss.github.io/develop/GSOC/flask_native
When it is worked on I remove it from our ideas page.

The configuration of both servers must be possible outside of the installed package.

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

No branches or pull requests

3 participants