*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
  1. Feb 11, 2025
    • Moser, Maximilian's avatar
      Update the name and comment for the config module entrypoint · 8bb8c1b6
      Moser, Maximilian authored
      * `tuw_config` is a bit nicer than `zzz_invenio_config_tuw`, and should
        still be the last entry in the list considering the usual naming
        scheme
      8bb8c1b6
    • Moser, Maximilian's avatar
      Perform config magic before extension loading · 798907f1
      Moser, Maximilian authored
      * previously, our configuration magic was performed as part of the
        `finalize_app` entrypoint
      * while this worked well enough for most use cases, some extensions
        would break this model by caching values during their initialization
      * especially caching-related extensions like to take eagerly create
        clients with the current configuration items, which are hard to fix
        afterwards
      * keeping track of all the instantiated clients just to change their
        connection details when we perform our magic really didn't seem like
        a good approach
      * so instead, we now made sure that our extension is loaded first and
        can thus perform its configuration magic before any other extension
        has a chance of caching values
      * also, extension loading happens after the configuration loading is
        done (especially the handling of environment variables)
      798907f1
  2. Feb 10, 2025
    • Moser, Maximilian's avatar
      Assemble config items from their parts on startup · 9669fff4
      Moser, Maximilian authored
      * add functionality to assemble some config items (like the DB
        connection string) from their parts
      * this was previously implemented in our `invenio.cfg`, but more flaky
        because it had to deal with parsing and setting environment variables
      * also refactor the startup module
      9669fff4
  3. Feb 07, 2025
    • Moser, Maximilian's avatar
      Add possibility to have prefixed config items override unprefixed ones · ad21f638
      Moser, Maximilian authored
      * this can be very useful for having a single project that is used for
        both "local" and "containerized" execution, where some configuration
        items should be slightly different for either (e.g. `SEARCH_HOSTS`)
      * currently we have this functionality implemented in our `invenio.cfg`
        but there it is a bit awkward due to the fact that environment
        variables have not been translated into `app.config` yet
      ad21f638
  4. Feb 06, 2025
  5. Feb 05, 2025
  6. Feb 04, 2025
  7. Jan 30, 2025
  8. Jan 21, 2025
  9. Jan 03, 2025
  10. Dec 05, 2024
  11. Nov 25, 2024
  12. Oct 08, 2024
  13. Oct 01, 2024
  14. Nov 23, 2022
Loading