You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models
a1012112796 4aba8a6a5f
Split lfs size from repository size (#22900)
releated to #21820

- Split `Size` in repository table as two new colunms, one is `GitSize`
for git size, the other is `LFSSize` for lfs data. still store full size
in `Size` colunm.
- Show full size on ui, but show each of them by a `title`;  example:

![image](https://user-images.githubusercontent.com/25342410/218636251-e200f085-d7e7-4a25-9ff1-b586a63e07a9.png)

- Return full size in api response.

---------

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: DmitryFrolovTri <23313323+DmitryFrolovTri@users.noreply.github.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago
..
actions Fix content holes in Actions task logs file (#25560) 2 years ago
activities Use a separate admin page to show global stats, remove `actions` stat (#25062) 2 years ago
admin Make repo migration cancelable and fix various bugs (#24605) 2 years ago
asymkey Merge setting.InitXXX into one function with options (#24389) 2 years ago
auth Add ability to set multiple redirect URIs in OAuth application UI (#25072) 2 years ago
avatars Avoid warning for system setting when start up (#23054) 2 years ago
db Split lfs size from repository size (#22900) 2 years ago
dbfs Fix content holes in Actions task logs file (#25560) 2 years ago
fixtures Fix duplicate Reviewed-by trailers (#24796) 2 years ago
git Fix index generation parallelly failure (#25235) 2 years ago
issues Improve loadprojects for issue list (#25468) 2 years ago
migrations Split lfs size from repository size (#22900) 2 years ago
organization Use RepositoryList instead of []*Repository (#25074) 2 years ago
packages Hide limited users if viewed by anonymous ghost (#25214) 2 years ago
perm Rewrite logger system (#24726) 2 years ago
project Improve GetBoards and getDefaultBoard (#22981) 2 years ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo Split lfs size from repository size (#22900) 2 years ago
secret Support configuration variables on Gitea Actions (#24724) 2 years ago
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2 years ago
system Avoid warning for system setting when start up (#23054) 2 years ago
unit Rewrite logger system (#24726) 2 years ago
unittest Refactor path & config system (#25330) 2 years ago
user Show outdated comments in files changed tab (#24936) 2 years ago
webhook New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
error.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fixture_generation.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fixture_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Merge setting.InitXXX into one function with options (#24389) 2 years ago
migrate.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
migrate_test.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
org.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
org_team.go Remove org users who belong to no teams (#24247) 2 years ago
org_team_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Implement actions artifacts (#22738) 2 years ago
repo_collaboration.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo_collaboration_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_transfer.go Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
repo_transfer_test.go Rename almost all Ctx functions (#22071) 2 years ago