Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.3k
Fix sync fork for consistency#33147
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
wxiaoguang commentedJan 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I have some tests and will add them (see Improve "merge upstream" (sync fork)#33148 ) But I am not sure whether we should still use the "add remote" trick here, it seems fragile and I am not sure whether it is really helpful in daily usage. |
changchaishi commentedJan 8, 2025
This is really what I am concerned about before submitting the PR. One more bug I found on |
wxiaoguang commentedJan 8, 2025
If you have more ideas about the problem, feel free to take#33148 (there are more tests, I could close my PR if you'd like to use it in your PR) |
wxiaoguang commentedJan 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
At the moment, there is something unclear in my mind. There could be 2 behaviors:
|
changchaishi commentedJan 8, 2025
I see~ For 1. I did not notice this is the intended behavior of Gitea right now, as I am studying the code, I refer to GitHub a lot, Github has I think we can simplify this PR without this issue first.
I reviewed it, and this is nice, how can I use the test? Must you close it so that I can use it, or I can just reference it to create something like |
wxiaoguang commentedJan 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Actually I am not sure which behavior is better for end users. Maybe following GitHub's behavior is better since it is widely used. 🤣
Some possible choices:
|
Uh oh!
There was an error while loading.Please reload this page.
wxiaoguang commentedJan 9, 2025
If you don't mind, I think I can merge#33148 here, then we do not need to use a separate PR to handle the similar tests. |
wxiaoguang commentedJan 10, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Made some new changes:
|
e5f3c16 intogo-gitea:mainUh oh!
There was an error while loading.Please reload this page.
Fixesgo-gitea#33145An integration test could be added.---------Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* giteaofficial/main: (21 commits) Support public code/issue access for private repositories (go-gitea#33127) Validate that the tag doesn't exist when creating a tag via the web (go-gitea#33241) [skip ci] Updated translations via Crowdin Switch back to `vue-tsc` (go-gitea#33248) Let API create and edit system webhooks, attempt 2 (go-gitea#33180) Fix incorrect ref "blob" (go-gitea#33240) Refactor RefName (go-gitea#33234) Refactor context RefName and RepoAssignment (go-gitea#33226) [skip ci] Updated translations via Crowdin Fix upload file form (go-gitea#33230) Fix mirror bug (go-gitea#33224) Remove unused CSS styles and move some styles to proper files (go-gitea#33217) Refactor context repository (go-gitea#33202) [skip ci] Updated translations via Crowdin Fix unpin hint on the pinned pull requests (go-gitea#33207) fix(cache): cache test triggered by non memory cache (go-gitea#33220) Update README.md (go-gitea#33149) Fix editor markdown not incrementing in a numbered list (go-gitea#33187) Some small refactors (go-gitea#33144) Fix sync fork for consistency (go-gitea#33147) ...
Fixes#33145
An integration test could be added.