Skip to content

feat: add --ignore-unavailable option to install command - #6351

Merged
JohnMcPMS merged 1 commit into
microsoft:masterfrom
CatBraaain:add-install-ignore-unavailable-option
Jul 29, 2026
Merged

feat: add --ignore-unavailable option to install command#6351
JohnMcPMS merged 1 commit into
microsoft:masterfrom
CatBraaain:add-install-ignore-unavailable-option

Conversation

@CatBraaain

@CatBraaain CatBraaain commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

📖 Description

Add --ignore-unavailable option to install command, like the export command.

🔗 References

🔍 Validation

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task
Microsoft Reviewers: Open in CodeFlow

@CatBraaain
CatBraaain requested a review from a team as a code owner July 5, 2026 05:24
@CatBraaain
CatBraaain force-pushed the add-install-ignore-unavailable-option branch from 42d292c to dfaa17e Compare July 5, 2026 07:40

@florelis Flor Chacón (florelis) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please update the release notes and install docs

Should we also consider adding it to upgrade?

Just out of curiosity, was there a specific scenario that prompted this change?

Argument::ForType(Args::Type::UninstallPrevious),
Argument::ForType(Args::Type::Force),
Argument{ Args::Type::IncludeUnknown, Resource::String::IncludeUnknownArgumentDescription, ArgumentType::Flag, Argument::Visibility::Hidden},
Argument::ForType(Args::Type::IgnoreUnavailable),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not for this PR, but we really need to sort all these arguments...

@florelis

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@CatBraaain
CatBraaain force-pushed the add-install-ignore-unavailable-option branch from dfaa17e to 0797990 Compare July 22, 2026 08:00
@CatBraaain

CatBraaain commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Flor Chacón (@florelis)

Thanks for your review.

Please update the release notes and install docs

Sorry I missed it, I've updated both of them now.

Should we also consider adding it to upgrade?

Oh yeah maybe it's good idea.
but I don't know about upgrade enough. I'd like to keep this PR scoped to install for now.

Just out of curiosity, was there a specific scenario that prompted this change?

I use a single winget install command to install and update multiple packages. Recently, one package was renamed, causing the entire command to fail and preventing the remaining packages from being processed. I found this inconvenient, so I proposed adding --ignore-unavailable to allow the remaining packages to continue being installed.

@florelis

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@JohnMcPMS
JohnMcPMS merged commit dc4fe7e into microsoft:master Jul 29, 2026
9 checks passed
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.

3 participants