You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
Giteabot 99545ae2fd
Fix mirror bug (#33597) (#33607)
Backport #33597 by @ericLemanissier

follows-up be4e961240

This is the same modification as
be4e961240
but for force-pushes.
It is needed, because `git fetch` reveals force pushes for github
mirrors:
```
$ git fetch --tags origin
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 9 (delta 5), reused 8 (delta 5), pack-reused 0 (from 0)
Unpacking objects: 100% (9/9), 1.70 KiB | 12.00 KiB/s, done.
From https://github.com/conan-io/conan-center-index
   729f0f1b8f..48184eddeb  refs/pull/26595/head  -> refs/pull/26595/head
 + 0c31ab60a3...1283cca9e7 refs/pull/26595/merge -> refs/pull/26595/merge  (forced update)
```

Fix https://github.com/go-gitea/gitea/issues/33200

PS: I did not test the modification, but it is the exact same change as
the last hunk in
https://github.com/go-gitea/gitea/pull/33224/files#diff-bb5cdb90db0f0e7f6716c0e6d0b9cbb67f08d82052b03ab3a7b5e23a1d76aed7
, just moved to the previous case of the switch

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
2 weeks ago
..
actions Skip deletion error for action artifacts (#33476) (#33568) 2 weeks ago
agit Add reviewers selection to new pull request (#32403) 4 months ago
asymkey Fix some pending problems (#29985) 11 months ago
attachment Include file extension checks in attachment API (#32151) 4 months ago
auth Fix context usage (#33554) (#33557) 2 weeks ago
automerge Add new event commit status creation and webhook implementation (#27151) 4 months ago
context Fix context usage (#33554) (#33557) 2 weeks ago
contexttest Check if reverse proxy is correctly configured (#30890) 10 months ago
convert Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) (#33577) 2 weeks ago
cron Use default Git timeout when checking repo health (#33593) (#33598) 2 weeks ago
doctor Move team related functions to service layer (#32537) 3 months ago
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 8 months ago
feed Enable tenv and testifylint rules (#32852) 2 months ago
forms Fix commit status events (#33320) (#33493) 3 weeks ago
gitdiff Performance optimization for pull request files loading comments attachments (#33585) (#33592) 2 weeks ago
indexer Update issue indexer after merging a PR (#30715) 10 months ago
issue Rework suggestion backend (#33538) (#33546) 2 weeks ago
lfs Fix SSH LFS memory usage (#33455) (#33460) 4 weeks ago
mailer Support for email addresses containing uppercase characters when activating user account (#32998) (#33001) 2 months ago
markup Fix context usage (#33554) (#33557) 2 weeks ago
migrations Remove aws go sdk package dependency (#33029) (#33047) 2 months ago
mirror Fix mirror bug (#33597) (#33607) 2 weeks ago
notify Add new event commit status creation and webhook implementation (#27151) 4 months ago
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 3 months ago
org Enable tenv and testifylint rules (#32852) 2 months ago
packages Only show the latest version in the Arch index (#33262) (#33580) 2 weeks ago
projects Fix unnecessary comment when moving issue on the same project column (#33496) (#33499) 3 weeks ago
pull Add missing transaction when set merge (#33113) 2 months ago
release Enable tenv and testifylint rules (#32852) 2 months ago
repository Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) (#33577) 2 weeks ago
secrets Refactor deletion (#28610) 1 year ago
task Fix "force private" logic (#31012) 9 months ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Move team related functions to service layer (#32537) 3 months ago
webhook Fix commit status events (#33320) (#33493) 3 weeks ago
webtheme Initial support for colorblindness-friendly themes (#30625) 10 months ago
wiki Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 6 months ago