Skip to content

fix: make default configuration examples copyable - #433

Open
jihtsan wants to merge 1 commit into
ekalinin:masterfrom
jihtsan:codex/422-copyable-config
Open

jihtsan wants to merge 1 commit into
ekalinin:masterfrom
jihtsan:codex/422-copyable-config

Conversation

@jihtsan

@jihtsan jihtsan commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Copying the README configuration or the output of --dump-config-defaults sets mirror to the literal string None, causing downloads to target an invalid host.

Omit options without defaults from the dump and README example, use plain INI values, and explain how an omitted mirror selects the built-in download source. Two round-trip tests load the generated configuration and the actual README block and compare every resulting option with its default.

Validation: both round-trip tests failed before the fix and pass afterward; full non-integration suite: 389 passed, 10 skipped, 5 deselected, 2 existing fish xfails. Flake8 and git diff --check passed.

Closes #422.

This branch has not been deployed

No deployments
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.

README config example breaks when copied into ~/.nodeenvrc

1 participant