Azure / Azure/azure-devops-cli-extension
az artifacts universal download wastes time re-downloading different versions of Universal Packages tooling
- Dominant language
- Python
- Stars
- 682
- Forks
- 278
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
## Describe the bug
**Command Name**
`az artifacts universal download
Extension Name: azure-devops. Version: 0.25.0.`
**Errors:**
```
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- `az artifacts universal download --organization a --feed {} --name {} --version {} --path {} --scope {} --project {}`
- `az artifacts universal download --organization b --feed {} --name {} --version {} --path {} --scope {} --project {}`
- `az artifacts universal download --organization a --feed {} --name {} --version {} --path {} --scope {} --project {}`
- `az artifacts universal download --organization b --feed {} --name {} --version {} --path {} --scope {} --project {}`
## Expected Behavior
I expected the commands to spend most of the time downloading the artifacts. Instead, they spend most of their time re-downloading "Universal Packages tooling" as the two organizations apparently require different versions and 'az artifacts' only caches one locally. I see both ArtifactTool_win10-x64_0.2.231 and ArtifactTool_win10-x64_0.2.236 repeatedly downloaded.
## Environment Summary
```
Windows-10-10.0.22000-SP0
Python 3.10.4
Installer: MSI
azure-cli 2.36.0
Extensions:
azure-devops 0.25.0
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.