1
1
mirror of https://github.com/go-gitea/gitea synced 2024-07-05 09:35:48 +00:00
gitea/modules/indexer/stats
Lauris BH a34826b19f
Change language statistics to save size instead of percentage (#11681) (#11690)
* Change language statistics to save size instead of percentage (#11681)

* Change language statistics to save size instead of percentage in database

Co-Authored-By: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>

* Do not exclude if only language

* Fix edge cases with special langauges

Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>

* Fix language stat calculation (#11692)

* Fix language stat calculation

* Group languages and ignore 0 size files

* remove unneeded code

Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
2020-06-02 20:55:21 +03:00
..
db.go Fix queue pop error and stat empty repository error (#10248) 2020-02-12 18:12:27 +08:00
indexer_test.go Change language statistics to save size instead of percentage (#11681) (#11690) 2020-06-02 20:55:21 +03:00
indexer.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
queue.go Index code and stats only for non-empty repositories (#10251) 2020-02-14 13:42:30 +01:00