Azure / Azure/azure-sdk-tools

`test-proxy restore` should emit local paths

Open
#6,416 2 comments 0 reactions 1 assignee Claimed by @scbedd View on GitHub
Central-EngSys Test-Proxy
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Currently, `test-proxy restore` emits something like:

```
Running proxy version is Azure.Sdk.Tools.TestProxy 20230627.1
git --version
git checkout *
git clean -xdf
git remote -v
git remote set-url origin https://github.com/Azure/azure-sdk-assets
git fetch origin refs/tags/net/cognitivelanguage/Azure.AI.Language.Conversations_76d76224ff:refs/tags/net/cognitivelanguage/Azure.AI.Language.Conversations_76d76224ff
git sparse-checkout set --no-cone net/sdk/cognitivelanguage/Azure.AI.Language.Conversations
git -c advice.detachedHead=false checkout net/cognitivelanguage/Azure.AI.Language.Conversations_76d76224ff
git remote -v
git remote set-url origin https://github.com/Azure/azure-sdk-assets
```
For diagnostics this is fine, but what's missing is probably something most devs will need: the local mapping paths under `/.assets`. I know this is in `/.assets/.breadcrumb`, but it seems extraneous to have to go look here when you want to look at your files.

It's not uncommon to have to do that, and certainly easier to pull down what you need and use VSCode or whatever to browse it. Alternatively, a `test-proxy view -a assets.json` could open a browser right to your files on the right branch on github.com.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.