forgejo/models
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) (#19934)
* Fix data-race problems in git module

* use HomeDir instead of setting.RepoRootPath

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-06-11 11:56:27 +08:00
..
admin
appstate
asymkey Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
auth Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
avatars
db Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
fixtures Exclude Archived repos from Dashboard Milestones (#19882) 2022-06-04 19:30:01 +01:00
foreignreference
issues Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
migrations Fix data-race problems in git module (quick patch) (#19934) 2022-06-11 11:56:27 +08:00
organization Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
packages
perm Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
project Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
pull Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 2022-05-08 15:46:34 +02:00
repo Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
unit Fix incorrect translation key (#19744) 2022-05-19 09:59:28 +08:00
unittest Fix data-race problems in git module (quick patch) (#19934) 2022-06-11 11:56:27 +08:00
user Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
webhook Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
action.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
action_list.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
action_test.go
branches.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
branches_test.go
commit.go
commit_status.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
commit_status_test.go
consistency.go Fix order by parameter (#19849) 2022-06-04 20:18:50 +01:00
consistency_test.go [doctor] Add check/fix for bogus action rows (#19656) 2022-05-10 02:49:01 +02:00
engine_test.go
error.go
fixture_generation.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
fixture_test.go
issue.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
issue_assignees.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_assignees_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_comment.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_comment_list.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_comment_test.go
issue_dependency.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_dependency_test.go
issue_label.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_label_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_list.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
issue_list_test.go
issue_lock.go
issue_project.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_stopwatch.go Only return valid stopwatches (#19863) 2022-06-02 10:36:46 +08:00
issue_stopwatch_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_tracked_time.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_tracked_time_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_user.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
issue_user_test.go
issue_watch.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_watch_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_xref.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_xref_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
lfs.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
lfs_lock.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
main_test.go
migrate.go
migrate_test.go
notification.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
notification_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
org.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
org_team.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
org_team_test.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
org_test.go
protected_tag.go
protected_tag_test.go
pull.go Make WIP prefixes case insensitive, e.g. allow Draft as a WIP prefix (#19780) 2022-05-26 10:19:24 +01:00
pull_list.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
pull_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
release.go improvement some release related code (#19867) 2022-06-03 02:13:58 -04:00
repo.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
repo_activity.go
repo_collaboration.go Fix order by parameter (#19849) 2022-06-04 20:18:50 +01:00
repo_collaboration_test.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
repo_permission_test.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
repo_test.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
repo_transfer.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
repo_transfer_test.go
review.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
review_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
statistic.go Estimate Action Count in Statistics (#19775) 2022-05-21 14:50:50 -04:00
task.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
token.go
token_test.go
upload.go
user.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
user_heatmap.go
user_heatmap_test.go
user_test.go