gitea/modules/repository
Lunny Xiao 673cf6af76
make writing main test easier ()
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
branch.go Fix bug for ctx usage ()
collaborator.go Always reuse transaction ()
collaborator_test.go Rename `repo.GetOwner` to `repo.LoadOwner` ()
commits.go Fix context cache bug & enable context cache for dashabord commits' authors ()
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors ()
create.go Move createrepository from module to service layer ()
create_test.go Move createrepository from module to service layer ()
delete.go Another round of `db.DefaultContext` refactor ()
env.go Implement actions ()
fork.go Reduce usage of `db.DefaultContext` ()
generate.go Move createrepository from module to service layer ()
generate_test.go Substitute variables in path names of template repos too ()
hooks.go Move createrepository from module to service layer ()
init.go Move createrepository from module to service layer ()
init_test.go Make label templates have consistent behavior and priority ()
license.go Move createrepository from module to service layer ()
license_test.go Move createrepository from module to service layer ()
main_test.go make writing main test easier ()
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs ()
repo.go Another round of `db.DefaultContext` refactor ()
temp.go Implement FSFE REUSE for golang files ()