-
Notifications
You must be signed in to change notification settings - Fork 136
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
Forcefully set configuration for InvenioRDM #36
Projects
Comments
fenekku
added a commit
to fenekku/invenio-app-rdm
that referenced
this issue
Dec 9, 2019
- This approach has the advantange of being very simple and non-coupling. But it is new. - Using ext.py could achieve the same thing, but it's more code - closes inveniosoftware#36
fenekku
added a commit
to fenekku/invenio-app-rdm
that referenced
this issue
Dec 9, 2019
- This approach has the advantange of being very simple and non-coupling. But it is new. - Using ext.py could achieve the same thing, but it's more code - closes inveniosoftware#36
fenekku
added a commit
to fenekku/invenio-app-rdm
that referenced
this issue
Dec 9, 2019
- This approach has the advantange of being very simple and non-coupling. But it is new. - Using ext.py could achieve the same thing, but it's more code - closes inveniosoftware#36
fenekku
added a commit
that referenced
this issue
Dec 10, 2019
- This approach has the advantange of being very simple and non-coupling. But it is new. - Using ext.py could achieve the same thing, but it's more code - closes #36
fenekku
added a commit
to fenekku/invenio-app-rdm
that referenced
this issue
Dec 10, 2019
- This approach has the advantange of being very simple and non-coupling. But it is new. - Using ext.py could achieve the same thing, but it's more code - closes inveniosoftware#36
fenekku
added a commit
that referenced
this issue
Dec 10, 2019
- This approach has the advantange of being very simple and non-coupling. But it is new. - Using ext.py could achieve the same thing, but it's more code - closes #36
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
invenio-app-rdm
module should ensure that InvenioRDM specific configurations are set.This is a non-trivial issue because:
invenio-rdm-records
defines an InvenioRDM record in part via configuration, but it may be loaded after or before the configuration it is meant to change thus not working.invenio-rdm-records
used to forcefully set its configuration which would suffer from same problem but with invenio-app-rdm (this is fixed in config: use ext and only set defaults invenio-rdm-records#39)The simple solution is: #37
We could write an
ext.py
and re-implementflask/config.py::from_object
, but I don't see any real benefit.The text was updated successfully, but these errors were encountered: