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.
forgejo/modules/repository
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073)
Part of #27065

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
10 months ago
..
branch.go Fix bug for ctx usage (#26762) 10 months ago
collaborator.go Always reuse transaction (#22362) 2 years ago
collaborator_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
commits.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 10 months ago
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 10 months ago
create.go Move createrepository from module to service layer (#26927) 10 months ago
create_test.go Move createrepository from module to service layer (#26927) 10 months ago
delete.go Allow repo admins too to delete the repo (#23940) 1 year ago
env.go Implement actions (#21937) 1 year ago
fork.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
generate.go Move createrepository from module to service layer (#26927) 10 months ago
generate_test.go Substitute variables in path names of template repos too (#25294) 1 year ago
hooks.go Move createrepository from module to service layer (#26927) 10 months ago
init.go Move createrepository from module to service layer (#26927) 10 months ago
init_test.go Make label templates have consistent behavior and priority (#23749) 1 year ago
license.go Move createrepository from module to service layer (#26927) 10 months ago
license_test.go Move createrepository from module to service layer (#26927) 10 months ago
main_test.go move repository deletion to service layer (#26948) 10 months ago
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
repo.go Move createrepository from module to service layer (#26927) 10 months ago
temp.go Implement FSFE REUSE for golang files (#21840) 2 years ago