datajoint-python icon indicating copy to clipboard operation
datajoint-python copied to clipboard

IMPR: Modernize Project Configuration Management

Open dimitri-yatsenko opened this issue 4 months ago • 1 comments

Improvement Request

Problem

The current configuration system is nonstandard and lacks common features such as validation. Secrets and regular settings are managed jointly, which is not a best practice.

Requirements

  • Load settings hieararchically from project specific locations (. and up), user specific, and system wide.
  • Use pydantic to strictly validate all loaded settings against a predefined schema on startup, providing clear errors for any misconfiguration.
  • Supports secure management of sensitive data through a .gitignore'd secrets file and environment variables.
  • Ensure that environment variables have highest precedence, overriding configuration files
  • Clearly documented, explaining loading order, file structure, and validation rules.

dimitri-yatsenko avatar Aug 18 '25 10:08 dimitri-yatsenko

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Oct 03 '25 02:10 github-actions[bot]