Skip to content

Read DSN aliases from an optional shared file - #2111

Merged
rolandwalker merged 1 commit into
mainfrom
RW/add-shared-dsn-alias-file
Aug 7, 2026
Merged

Read DSN aliases from an optional shared file#2111
rolandwalker merged 1 commit into
mainfrom
RW/add-shared-dsn-alias-file

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Add a main.shared_dsns_file configuration option, by analogy to shared_favorites_file.

If set, DSN aliases are loaded from that file, but never written to that file, so it currently must be composed in an editor.

DSN aliases in the user's ~/.myclirc take precedence over those in the shared file.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

Add a main.shared_dsns_file configuration option, by analogy to
shared_favorites_file.

If set, DSN aliases are loaded from that file, but never written
to that file, so it currently must be composed in an editor.

DSN aliases in the user's ~/.myclirc take precedence over those in
the shared file.
@rolandwalker rolandwalker self-assigned this Aug 7, 2026
@rolandwalker
rolandwalker merged commit ec6f13e into main Aug 7, 2026
11 checks passed
@rolandwalker
rolandwalker deleted the RW/add-shared-dsn-alias-file branch August 7, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant