Commit Graph

40 Commits (13015bba5a3a2bea1ccc96e9282995bedacc5694)

Author SHA1 Message Date
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Jason Song 375fd15fbf
Refactor indexer (#25174) 1 year ago
wxiaoguang 18f26cfbf7
Improve queue and logger context (#24924) 2 years ago
Lunny Xiao c355728a6f
Remove unnecessary code (#24610) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
Lunny Xiao 5cf7da63ee
Refactor config provider (#24245) 2 years ago
wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
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