gitea/services
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>
2025-01-14 15:35:34 +08:00
..
actions Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
agit
asymkey Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
attachment
auth Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
automerge Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
context Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
contexttest Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
convert Fix typo in gitea downloader test and add missing codebase in ToGitServiceType (#33146) 2025-01-08 18:34:53 +00:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
externalaccount
feed Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
forms Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
gitdiff Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
indexer
issue Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
lfs
mailer Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
markup Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
migrations Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
mirror Fix mirror bug (#33224) 2025-01-12 18:46:37 +08:00
notify
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +00:00
org Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
packages Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00
projects
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
release Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
repository Refactor context RefName and RepoAssignment (#33226) 2025-01-13 01:07:05 +00:00
secrets
task
uinotification
user Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
webhook Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
webtheme
wiki Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00