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

Deprecate usage of bare env vars and config sources #5153

Merged
merged 1 commit into from
Jul 29, 2024

Commits on Jul 29, 2024

  1. Deprecate usage of bare env vars and config sources

    Deprecate usage of bare environment variables and config sources in configuration files.
      - Use `${env:VAR}` or `${VAR}` instead of `$VAR`.
      - Use `${uri:selector}` instead of `${uri:selector}`, e.g. `${file:/path/to/file}` instead of `$file:/path/to/file`.
    
    Detect such usages and print a deprecation warning. It's ok to not use logger because it's not initiated at this point yet. We use `log.Print` at the stage in other places as well.
    dmitryax committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    7470480 View commit details
    Browse the repository at this point in the history