Commit Graph

35 Commits (48eb5ac6856aeed5b6501fcd27899d3dc3da2876)

Author SHA1 Message Date
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it (#18866) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 25a290e320
Upgrade bleve from v2.0.6 to v2.3.0 (#18132) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 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
Gusted ab1379743e
Fix nil checking on typed interface (#17598) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao 43262226db
Fix data race in bleve indexer (#16474) 3 years ago
zeripath 23358bc55d
Use git log name-status in get last commit (#16059) 4 years ago
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867) 4 years ago
zeripath 270aab429e
On open repository open common cat file batch and batch-check (#15667) 4 years ago
zeripath ff460ca74d
Speed up `enry.IsVendor` (#15213) 4 years ago
zeripath 523efa433b
Move Bleve and Elastic code indexers to use a common cat-file --batch (#14781) 4 years ago
zeripath ae7e6cd474
Reduce calls to git cat-file -s (#14682) 4 years ago
Jui-Nan Lin c10503afec
[Feature] add precise search type for Elastic Search (#12869) 4 years ago
Lauris BH f5abe2f563
Upgrade blevesearch dependency to v2.0.1 (#14346) 4 years ago
Jui-Nan Lin 6c4e9623cc
fix: use Base36 for all code indexers (#12830) 4 years ago
Lunny Xiao 9bc69ff26e
Support elastic search for code search (#10273) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
Lauris BH 4dc62dadce
Migrate to go-enry new version (#10906) 5 years ago
Lauris BH 3c45cf8494
Add detected file language to code search (#10256) 5 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037) 5 years ago
Lunny Xiao 89b4e0477b
Refactor code indexer (#9313) 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
zeripath 2904abdc22 DefaultBranch needs to be prefixed by BranchPrefix (#9356) 5 years ago
Lunny Xiao 50da9f7dae Move modules/indexer to modules/indexer/code (#9301) 5 years ago
Lunny Xiao be06dee04c Move code indexer related code to a new package (#9191) 5 years ago
Lunny Xiao 9856ac5818
fix race on indexer (#9136) 5 years ago
zeripath cbaa1de9ec Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
zeripath 167e8f18da
Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
guillep2k 72f6d5c882 Restrict repository indexing by glob match (#7767) 5 years ago
guillep2k 5a44be627c Convert files to utf-8 for indexing (#7814) 5 years ago
guillep2k 4fe490f062 Fixes indexed repos keeping outdated indexes when files grow too large (#7712) 5 years ago
guillep2k 3566d2c860 Include "executable" files in the index, as they are not necessarily binary (#7718) 5 years ago
guillep2k 06392479b4 Skip non-regular files (e.g. submodules) on repo indexing (#7711) 5 years ago
zeripath 54bd63cd5c
Change UpdateRepoIndex api to include watchers (#7012) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
Ethan Koenig 6eaeb01ecf Update code.gitea.io/git (#3482) 7 years ago
Ethan Koenig a89592d4ab Reduce repo indexer disk usage (#3452) 7 years ago
Ethan Koenig b16c84de7b Fix synchronization bug in repo indexer (#3455) 7 years ago
Ethan Koenig b0d5bb909b Delete indexer DB entries when (re)creating index (#3385) 7 years ago