Skip to content

feat(nodeenv): read DEST_DIR from env_dir in the config - #468

Merged
ekalinin merged 1 commit into
masterfrom
feat/env-dir-config
Nov 2, 2026
Merged

ekalinin merged 1 commit into
masterfrom
feat/env-dir-config

Conversation

@ekalinin

@ekalinin ekalinin commented Nov 1, 2026

Copy link
Copy Markdown
Owner

env_dir in the [nodeenv] section of the config file sets DEST_DIR for
runs that pass neither DEST_DIR nor -p. DEST_DIR on the command line and
-p take precedence.

  • The value is used as is: ~ is not expanded, a relative path is taken
    from the current directory, like DEST_DIR on the command line.
  • The README defaults block is left alone, so env_dir = None doesn't end
    up in it. Until fix(config): make default configuration examples copyable #433 lands, --dump-config-defaults prints
    env_dir = None.

Fixes #377

env_dir in the [nodeenv] section of the config file sets DEST_DIR for
runs that pass neither DEST_DIR nor -p. DEST_DIR on the command line
and -p take precedence. The value is used as is, a relative path is
taken from the current directory.

Fixes #377
@ekalinin
ekalinin merged commit 007de34 into master Nov 2, 2026
48 checks passed
@ekalinin
ekalinin deleted the feat/env-dir-config branch November 2, 2026 15:19
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.

Consider allowing DEST_DIR be set to in [nodeenv] config section

1 participant