Skip to content

Allow environment variables in config strings. NFC - #27215

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:config_vars_expand
Jul 20, 2026
Merged

Allow environment variables in config strings. NFC#27215
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:config_vars_expand

Conversation

@sbc100

@sbc100 sbc100 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

This allows us to avoid doing things like os.path.expanduser and
os.path.expandvars inside the config files themselves.

This should help pave the way for simplify the config format and one
day perhaps making them plain text rather than python scripts.

See #27219

@sbc100
sbc100 force-pushed the config_vars_expand branch 3 times, most recently from bd44323 to 830e0a5 Compare June 30, 2026 19:52
@sbc100 sbc100 changed the title Config vars expand Allow environment variables in config strings. NFC Jun 30, 2026
@sbc100
sbc100 force-pushed the config_vars_expand branch from 830e0a5 to 88e1a2a Compare June 30, 2026 20:22
@sbc100
sbc100 force-pushed the config_vars_expand branch from 88e1a2a to 5f85467 Compare July 20, 2026 18:47
@sbc100
sbc100 requested a review from kripken July 20, 2026 18:48
@sbc100
sbc100 force-pushed the config_vars_expand branch 2 times, most recently from 41baab6 to 18b03a3 Compare July 20, 2026 18:55
Comment thread .circleci/config.yml
Comment thread tools/config_template.py Outdated
@sbc100
sbc100 force-pushed the config_vars_expand branch from 18b03a3 to 8c92375 Compare July 20, 2026 20:26
sbc100 added a commit that referenced this pull request Jul 20, 2026
@sbc100
sbc100 force-pushed the config_vars_expand branch from 8c92375 to e50fb3a Compare July 20, 2026 20:35

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but do we need a changelog mention? Perhaps there are paths that now expand into something different than before?

@sbc100
sbc100 force-pushed the config_vars_expand branch 2 times, most recently from e4ee4a7 to 1dd2387 Compare July 20, 2026 20:50
@sbc100

sbc100 commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator Author

Added ChangeLog entry.

@sbc100
sbc100 force-pushed the config_vars_expand branch from 1dd2387 to 3975862 Compare July 20, 2026 20:51
Comment thread ChangeLog.md Outdated
@sbc100
sbc100 force-pushed the config_vars_expand branch from 3975862 to 0d5ffc5 Compare July 20, 2026 21:53
@sbc100
sbc100 enabled auto-merge (squash) July 20, 2026 22:13
This allows us to avoid doing things like `os.path.expanduser` and
`os.path.expandvars` inside the config files themselves.

This helps pave the way to one day making the config files plain
text rather than python scripts.

See emscripten-core#27219
@sbc100
sbc100 disabled auto-merge July 20, 2026 23:25
@sbc100
sbc100 force-pushed the config_vars_expand branch from 0d5ffc5 to e1903c9 Compare July 20, 2026 23:25
@sbc100
sbc100 merged commit 597849e into emscripten-core:main Jul 20, 2026
4 of 19 checks passed
@sbc100
sbc100 deleted the config_vars_expand branch July 20, 2026 23:26
guybedford pushed a commit to guybedford/emscripten that referenced this pull request Jul 24, 2026
…7215)

This allows us to avoid doing things like `os.path.expanduser` and
`os.path.expandvars` inside the config files themselves.

This should help pave the way for simplify the config format and one
day perhaps making them plain text rather than python scripts.

See emscripten-core#27219
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.

2 participants