Skip to content

Expand variables in path#80

Draft
antirotor wants to merge 1 commit into
developfrom
enhancement/expand-variables-in-path
Draft

Expand variables in path#80
antirotor wants to merge 1 commit into
developfrom
enhancement/expand-variables-in-path

Conversation

@antirotor

@antirotor antirotor commented Jun 25, 2026

Copy link
Copy Markdown
Member

Changelog Description

Expand ~, $VAR and {VAR} style variables in path.

Additional review information

Expansion is applied only in setResolvedAssetPath(const std::string &) — the overload that receives raw string paths from pinning files, cache misses, and memcached. The ArResolvedPath overload is left untouched since those paths should already be fully resolved.

Note

To be useful with ynput/ayon-core#1884

Testing notes:

Setup variables in roots
Resolve USD assets with the resolver build

expand `~`, `$VAR` and `{VAR}` in path
@antirotor antirotor self-assigned this Jun 25, 2026
@antirotor antirotor added the type: enhancement Enhancements to existing functionality label Jun 25, 2026
@antirotor antirotor changed the base branch from main to develop June 25, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Enhancements to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant