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