gitea/models
wxiaoguang 39de2955fd
Improve sync fork behavior (#33319)
Fix #33271

Suppose there is a `branch-a` in fork repo:

1. if `branch-a` exists in base repo: try to sync `base:branch-a` to `fork:branch-a`
2. if `branch-a` doesn't exist in base repo: try to sync `base:main` to `fork:branch-a`
2025-01-20 15:17:47 +08:00
..
actions Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
activities Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
admin Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
asymkey Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
auth Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
db Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
dbfs Enable `unparam` linter (#31277) 2024-06-11 18:47:45 +00:00
fixtures Only allow admins to rename default/protected branches (#33276) 2025-01-15 20:51:49 +00:00
git Improve sync fork behavior (#33319) 2025-01-20 15:17:47 +08:00
issues Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
migrations Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
organization Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
packages Refactor maven package registry (#33049) 2024-12-31 05:30:52 +00:00
perm Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
project Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
renderhelper Refactor render system (orgmode) (#32671) 2024-11-29 16:08:29 +08:00
repo Fix missing license when sync mirror (#33255) 2025-01-14 05:44:12 +00:00
secret Clarify Actions resources ownership (#31724) 2024-08-01 09:04:04 +00:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
system Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 2024-11-11 00:11:00 +00:00
unittest Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
user Some small refactors (#33144) 2025-01-10 06:00:06 +00:00
webhook Let API create and edit system webhooks, attempt 2 (#33180) 2025-01-13 17:17:39 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
repo.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
repo_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00