-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Rename Sync2
-> Sync
#26479
Rename Sync2
-> Sync
#26479
Conversation
The xorm `Sync2` has already been deprecated in favor of `Sync`, so let's do the same inside the Gitea codebase. Command used to replace everything: ```sh for i in $(ag Sync2 --files-with-matches); do vim $i -c ':%sno/Sync2/Sync/g' -c ':wq'; done ```
Just a one extreme edge case, If someone downgrade to ancient version of gitea, then go.mod will have older version, just make sure that |
But how can they downgrade to an ancient version that includes this PR?` |
Checking out older release version/tag. I do sometime. |
Yes, but that doesn't include this PR. |
But if we want to backport to LTS version like ~1.19 If dependency is chaged. My case is very rear. It will not impact in regular. |
|
Then we are good, You have covered my concern in point 1. |
* upstream/main: (24 commits) Update zh-cn documentation (go-gitea#26406) Fix NuGet search endpoints (go-gitea#25613) Fix tooltip of commit select button (go-gitea#26472) fix grab cursor on default column (go-gitea#26476) Fix storage path logic especially for relative paths (go-gitea#26441) Rename `Sync2` -> `Sync` (go-gitea#26479) Add ThreadID parameter for Telegram webhooks (go-gitea#25996) Fix stderr usages (go-gitea#26477) Use correct pull request commit link instead of a generic commit link (go-gitea#26434) Close stdout correctly for "git blame" (go-gitea#26470) Refactor tests (go-gitea#26464) Remove last newline from config file (go-gitea#26468) Add matrix to support (go-gitea#26382) Refactor project templates (go-gitea#26448) Avoiding accessing undefined mentionValues (go-gitea#26461) Tweak actions menu (go-gitea#26278) Adjust minio new sequence, now it will check whether bucket exist first and then create one if it doesn't exist (go-gitea#26420) Set commit id when ref used explicitly (go-gitea#26447) Fix 404 error when remove self from an organization (go-gitea#26362) Update index doc (go-gitea#26455) ...
The xorm
Sync2
has already been deprecated in favor ofSync
,so let's do the same inside the Gitea codebase.
Command used to replace everything: