Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotFoundException error during pull request creation #287

Closed
ryfu-msft opened this issue Jul 20, 2022 · 0 comments · Fixed by #289
Closed

NotFoundException error during pull request creation #287

ryfu-msft opened this issue Jul 20, 2022 · 0 comments · Fixed by #289

Comments

@ryfu-msft
Copy link
Contributor

Brief description of your issue

There is a known issue where winget-create is unable to create a reference to the repository if the main/master branch is behind by a certain number of commits. To resolve this issue, the user needs to perform the following steps to update the master branch:

git remote add upstream [email protected]:microsoft/winget-pkgs.git
git switch master
git reset upstream/master --hard 
git push

Steps to reproduce

Leave the master branch of a forked winget-pkgs repository unchanged until it is behind the upstream/master branch by a large number of commits.

Expected behavior

Pull request should be created

Actual behavior

NotFoundException is thrown and pull request does not get created

Environment

Winget-Create 1.0.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant