gitea/services/repository
wxiaoguang 81352542fd
Refactor context RefName and RepoAssignment (#33226)
The `ctx.Repo.RefName` was used to be a "short name", it causes a lot of
ambiguity.

This PR does some refactoring and use `RefFullName` to replace the
legacy `RefName`, and simplify RepoAssignment
2025-01-13 01:07:05 +00:00
..
archiver Refactor context RefName and RepoAssignment (#33226) 2025-01-13 01:07:05 +00:00
commitstatus Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
files Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
adopt.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
adopt_test.go Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
avatar.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
avatar_test.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
branch.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
cache.go Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
check.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
collaboration.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
commit.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
contributors_graph.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
contributors_graph_test.go disable gravatar in test (#32529) 2024-11-21 04:30:48 +00:00
create.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
delete.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
delete_test.go Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
fork.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00
generate.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
generate_test.go Move generate from module to service (#29465) 2024-02-28 14:40:36 +01:00
hooks.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
init.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2024-02-24 06:55:19 +00:00
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
license.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
license_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
merge_upstream.go Fix sync fork for consistency (#33147) 2025-01-10 05:29:55 +00:00
migrate.go Support the new exit code for `git remote` subcommands for git version >=2.30.0 (#33129) 2025-01-07 20:42:45 +08:00
push.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
repo_team.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
repo_team_test.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
repository.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
setting.go Fix an actions schedule bug (#28942) 2024-01-31 14:55:12 +00:00
template.go Move generate from module to service (#29465) 2024-02-28 14:40:36 +01:00
transfer.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
transfer_test.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00