Skip to content

Changes config get to download configs to user data folder instead of installation folder. Closes #1564#1614

Open
waldekmastykarz wants to merge 2 commits intodotnet:mainfrom
waldekmastykarz:issue-1564
Open

Changes config get to download configs to user data folder instead of installation folder. Closes #1564#1614
waldekmastykarz wants to merge 2 commits intodotnet:mainfrom
waldekmastykarz:issue-1564

Conversation

@waldekmastykarz
Copy link
Copy Markdown
Collaborator

Changes config get to download configs to user data folder instead of installation folder. Closes #1564

@waldekmastykarz waldekmastykarz requested a review from a team as a code owner April 11, 2026 15:54
Copilot AI review requested due to automatic review settings April 11, 2026 15:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the config get workflow so that downloaded gallery configs are stored in the per-user Dev Proxy data directory (instead of the installation directory), ensuring they survive upgrades and enabling use of a new ~dataFolder path token.

Changes:

  • Download config get outputs to ~dataFolder/configs/<config-id>/... rather than <install>/config/....
  • Introduce ProxyUtils.DataFolder and add support for the ~dataFolder token in path resolution.
  • Update CLI help/output to reference ~dataFolder where appropriate.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
DevProxy/Commands/DevProxyCommand.cs Updates --config-file help text to mention ~dataFolder token support.
DevProxy/Commands/ConfigCommand.cs Moves config get download target from installation config/ to user data configs/ and updates printed example commands.
DevProxy.Abstractions/Utils/ProxyUtils.cs Adds DataFolder and expands ReplacePathTokens to handle ~dataFolder.

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.

Change config get to download configs to user data folder instead of installation folder

2 participants