summaryrefslogtreecommitdiffstats
path: root/modules/indexer/code/git.go
Commit message (Collapse)AuthorAgeFilesLines
* Reduce calls to git cat-file -s (#14682)zeripath2021-02-171-2/+6
| | | | | | | | | | | | | * Reduce calls to git cat-file -s There are multiple places where there are repeated calls to git cat-file -s due to the blobs not being created with their size. Through judicious use of git ls-tree -l and slight adjustments to the indexer code we can avoid a lot of these calls. * simplify by always expecting the long format * Also always set the sized field and tell the indexer the update is sized
* Language statistics bar for repositories (#8037)Lauris BH2020-02-111-3/+4
| | | | | | | | | | | | | | | | | | * Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
* Fix file rename/copy not supported by indexer (#9965)guillep2k2020-01-241-2/+27
| | | | Co-authored-by: zeripath <art27@cantab.net>
* Refactor code indexer (#9313)Lunny Xiao2019-12-231-0/+147
* Refactor code indexer * fix test * fix test * refactor code indexer * fix import * improve code * fix typo * fix test and make code clean * fix lint