Skip to content

clangpdb-ci.yml: Fix string replacement - #552

Merged
Joey Vagedes (Javagedes) merged 5 commits into
mainfrom
personal/joeyvagedes/bugfix2
Apr 1, 2026
Merged

Joey Vagedes (Javagedes) merged 5 commits into
mainfrom
personal/joeyvagedes/bugfix2

Conversation

@Javagedes

Copy link
Copy Markdown
Contributor

String replacement did not occur as expected with nunjucks. The yaml/json formatted strings were not treated as raw strings as expected, resulting in unexpected formatting of inputs.

Example of Incorrect formatting:

Example 1:

In this example, both the python version and package config inputs need to be wrapped in quotes

image

Example 2:

In this example, package config value replacement value needed to be treated as a raw string, so the | was used

image

@makubacki

Copy link
Copy Markdown
Member

Joey Vagedes (@Javagedes), were you able to confirm everything looks good with file sync after this change?

@Javagedes

Copy link
Copy Markdown
Contributor Author

Joey Vagedes (@Javagedes), were you able to confirm everything looks good with file sync after this change?

Michael Kubacki (@makubacki) Yep, just tested. Please see the test run on a fork:

Javagedes#4

String replacement did not occur as expected with nunjucks. The yaml/json
formatted strings were not treated as raw strings as expected, resulting
in unexpected formatting of inputs.
@Javagedes
Joey Vagedes (Javagedes) force-pushed the personal/joeyvagedes/bugfix2 branch from 30dbdec to f6c610e Compare April 1, 2026 20:09
@Javagedes
Joey Vagedes (Javagedes) merged commit 191d9cc into main Apr 1, 2026
2 checks passed
@Javagedes
Joey Vagedes (Javagedes) deleted the personal/joeyvagedes/bugfix2 branch April 1, 2026 20:10
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.

3 participants