Skip to content

Handle sync fork failures with useful error messages#591

Merged
AmelBawa-msft merged 2 commits intomicrosoft:mainfrom
mdanish-kh:sync-fork-messages
Mar 18, 2025
Merged

Handle sync fork failures with useful error messages#591
AmelBawa-msft merged 2 commits intomicrosoft:mainfrom
mdanish-kh:sync-fork-messages

Conversation

@mdanish-kh
Copy link
Copy Markdown
Contributor

@mdanish-kh mdanish-kh commented Mar 14, 2025

When we have a failure while syncing fork, show useful messages to the user

Microsoft Reviewers: Open in CodeFlow

@mdanish-kh mdanish-kh requested review from a team and yao-msft and removed request for a team March 14, 2025 02:02
@mdanish-kh
Copy link
Copy Markdown
Contributor Author

@denelon Not sure when we're planning to make a new winget-create release with the --token deprecation; Would it be possible to take a look at this PR before the release so it makes it in?

@denelon
Copy link
Copy Markdown
Collaborator

denelon commented Mar 14, 2025

I don't anticipate deprecating token too soon. We have lots of CI/CD things out there that are using "--token". We need to be very mindful before we break anything.

@mdanish-kh
Copy link
Copy Markdown
Contributor Author

I don't think the way it's implemented will break any existing CI/CD scenarios though. It'll just display a warning, which would be the cue for publishers to migrate to the environment variable

Comment thread src/WingetCreateCLI/Properties/Resources.resx Outdated
Copy link
Copy Markdown
Contributor

@AmelBawa-msft AmelBawa-msft left a comment

Choose a reason for hiding this comment

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

:shipit:

@AmelBawa-msft AmelBawa-msft merged commit 679b51a into microsoft:main Mar 18, 2025
@mdanish-kh mdanish-kh deleted the sync-fork-messages branch March 18, 2025 18:35
@dlemstra
Copy link
Copy Markdown

Thanks for adding this!

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.

4 participants