-
Notifications
You must be signed in to change notification settings - Fork 89
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
Bug - Fork Sync Issue #502
Comments
Same, this happens on latest. I have to delete the forked repo and then it works again only to fail on a next release. |
This looks related to: The comment in the source code where syncing occurs explains the reason:
Looking at how we can do things differently, I can only find this issue (which recommends the same method wingetcreate uses already) in the library's repo I also doubt that it's only occurring on the latest version ( |
Can you try and get any logs when this occurs? You can use |
@mdanish-kh this is running inside a GitHub runner so that won't be possible I'm afraid. |
Are there any recommendations or steps we can follow to fix this? Ideally it should not happen. |
@matifali You can take a look at PR https://www.github.com/microsoft/devhome/pull/2167/files (how the guys over at devhome are attempting to fix this) |
This seems to be a more cleaner solution, as no configuration is required - https://github.com/apps/pull |
@mdanish-kh I have the same problem, in case you still need logs. Logs
|
@mdanish-kh I don't create GitHub Token manually. The first time, after creating a manifest and agreement to create a PR, it is suggested to authorize WingetCreate as an OAuth application on https://github.com/login/device with access to "Full control of private repositories". |
@rakleed WingetCreate v1.9.4.0 contains changes that should address this issue. Can you try with version v1.9.4.0 and check if you're still able to repro? |
Brief description of your issue
Started getting the following error - Unable to create a reference to the forked repository. This can be caused when the forked repository is behind by too many commits. Sync your fork and try again.
Steps to reproduce
Attempt to submit an update using WingetCreate
Expected behavior
Update should complete successfully
Actual behavior
Fork is not automatically syncing which is blocking the submission. It works after a manual sync has been completed from GitHub.
Environment
The text was updated successfully, but these errors were encountered: