Commit Graph

27 Commits (6c53cf852f1b00fbcd5f641ebf4885f78cf1160c)

Author SHA1 Message Date
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) (#19934) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath d3dbdbe6c5
Prevent intermittent failures in RepoIndexerTest (2) (#19229) 3 years ago
zeripath 793ce9dacf
Prevent intermittent failures in RepoIndexerTest (#19225) 3 years ago
zeripath f1c6cf7c51
Prevent Stats Indexer reporting error if repo dir missing (#18870) 3 years ago
zeripath a82fd98d53
Pause queues (#15928) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 4a57c9ea17
Fix some lints (#17337) 3 years ago
wxiaoguang b231d0deab
Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath`, fix the hang of `git cat-file` (#17096) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath d6a33cef23
If the default branch is not present do not report error on stats indexing (follow-up of #15546) (#15583) 4 years ago
zeripath f719ffc783
If the default branch is not present do not report error on stats indexing (#15546) 4 years ago
zeripath 511f6138d4
Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
zeripath bac65f1b82
Fix incorrect error logging in Stats indexer and OAuth2 (#12387) 4 years ago
Cirno the Strongest 9d652002c6
Fix language stat calculation (#11692) 5 years ago
Lauris BH ea4c139cd2
Change language statistics to save size instead of percentage (#11681) 5 years ago
Lauris BH a1d796f521
Index code and stats only for non-empty repositories (#10251) 5 years ago
Lunny Xiao 3d69bbd58f
Fix queue pop error and stat empty repository error (#10248) 5 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037) 5 years ago