KEMBAR78
Only download during COM download by JohnMcPMS · Pull Request #5348 · microsoft/winget-cli · GitHub
Skip to content

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Apr 1, 2025

Cherry pick #5327 to 1.10

Issue

When download was added, the COM download and install split for dependencies was accidentally implemented. But it was validated only with download in mind, so the download part worked for download intent. With dependencies, the split basically attempted to install the dependencies twice, causing a failure on the second attempt due to internal assertions.

Change

For the COM download command, explicitly force that we are only downloading.

Microsoft Reviewers: Open in CodeFlow

Fixes microsoft#4661

## Issue
When `download` was added, the COM download and install split for
dependencies was accidentally implemented. But it was validated only
with download in mind, so the download part worked for download intent.
With dependencies, the split basically attempted to install the
dependencies twice, causing a failure on the second attempt due to
internal assertions.

## Change
For the COM download command, explicitly force that we are only
downloading.
@JohnMcPMS JohnMcPMS requested a review from a team as a code owner April 1, 2025 22:56
@JohnMcPMS JohnMcPMS merged commit a14cbc2 into microsoft:release-v1.10 Apr 1, 2025
4 checks passed
@JohnMcPMS JohnMcPMS deleted the cp-5327 branch April 1, 2025 23:00
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.

2 participants