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/models
Lunny Xiao 6410c34b7f
Refactor ref type (#33242)
Major changes:

1. do not sync ".keep" file during tests
2. fix incorrect route handler and empty repo handling (backported as #33253 with tests)
3. do not use `RepoRef`: most of the calls are abuses.
4. Use `git.RefType` instead of a new type definition `RepoRefType` on `context`.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 month ago
..
actions Refactor RefName (#33234) 1 month ago
activities Refactor RefName (#33234) 1 month ago
admin Fix javascript error when an anonymous user visiting migration page (#32144) 5 months ago
asymkey Refactor older tests to use testify (#33140) 2 months ago
auth Refactor tests (#33021) 2 months ago
avatars Replace 10 more gt- classes with tw- (#29945) 11 months ago
db Refactor older tests to use testify (#33140) 2 months ago
dbfs Enable `unparam` linter (#31277) 9 months ago
fixtures Let API create and edit system webhooks, attempt 2 (#33180) 1 month ago
git Enable tenv and testifylint rules (#32852) 2 months ago
issues Fix unpin hint on the pinned pull requests (#33207) 1 month ago
migrations Automerge supports deleting branch automatically after merging (#32343) 2 months ago
organization Refactor older tests to use testify (#33140) 2 months ago
packages Refactor maven package registry (#33049) 2 months ago
perm Support public code/issue access for private repositories (#33127) 1 month ago
project Use project's redirect url instead of composing url (#33058) 2 months ago
pull Automerge supports deleting branch automatically after merging (#32343) 2 months ago
renderhelper Refactor render system (orgmode) (#32671) 3 months ago
repo Fix missing license when sync mirror (#33255) 1 month ago
secret Clarify Actions resources ownership (#31724) 7 months ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 4 months ago
unittest Refactor ref type (#33242) 1 month ago
user Some small refactors (#33144) 2 months ago
webhook Let API create and edit system webhooks, attempt 2 (#33180) 1 month ago
main_test.go make writing main test easier (#27270) 1 year ago
repo.go Fix issue comment number (#30556) 2 months ago
repo_test.go Fix issue comment number (#30556) 2 months ago