Skip to content

Add expand_vars to expand variables in passed strings - #137

Open
ColinKinloch wants to merge 1 commit into
collabora:mainfrom
ColinKinloch:wip/ckinloch/variable_expansion
Open

Add expand_vars to expand variables in passed strings#137
ColinKinloch wants to merge 1 commit into
collabora:mainfrom
ColinKinloch:wip/ckinloch/variable_expansion

Conversation

@ColinKinloch

Copy link
Copy Markdown
Contributor

This code is adapted from the obs-gitlab-runner project.

It adds shellexpand for extracting variables from a given string and shell-words for quoting and escaping variables.

Also adds Variable::masked_value to return masked variables without the overhead from fmt::Display.

This code is adapted from the `obs-gitlab-runner` project.

It adds `shellexpand` for extracting variables from a given string and
`shell-words` for quoting and escaping variables.

Also adds `Variable::masked_value` to return masked variables without
the overhead from `fmt::Display`.
@ColinKinloch
ColinKinloch force-pushed the wip/ckinloch/variable_expansion branch from fc573a6 to 6653e7d Compare August 7, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant