Commit Graph

6 Commits (e64880ef0767a6921498401e041bf9ad8dfa9a6f)

Author SHA1 Message Date
zeripath ee1d64ddd1
Stop using git count-objects and use raw directory size for repository ()
* Migrate from git count-objects to a raw directory size
* As per @guillep2k ignore unusual files
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 ()
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
* move code.gitea.io/git to code.gitea.io/gitea/modules/git

* fix imports

* fix fmt

* fix misspell

* remove wrong tests data

* fix unit tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* enable Debug to trace the failure tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* comment commit count tests since git clone depth is 50

* fix tests

* update from code.gitea.io/git

* revert change to makefile
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
G 34df9deff1 Convert xorm literal queries to method calls ()
Jonas be6edaddcb Repo size in admin panel ()
* Implementation of the feature to view repository size in admin panel
 * Move GetRepoSize to git module
 * Repository.RepoSize -> Repository.Size
 * RepoSize -> Size in template
 * Redo a few bits and pieces
 * Update size when syncing mirror or forking
 * Remove GetRepoSize
 * Changed fatal errors to error message

* Copy migration code from Gogs

* make fmt