Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository size in repository management does not account for git LFS data #9369

Closed
1 task done
8ctopus opened this issue Dec 16, 2019 · 2 comments · Fixed by #11060
Closed
1 task done

Repository size in repository management does not account for git LFS data #9369

8ctopus opened this issue Dec 16, 2019 · 2 comments · Fixed by #11060
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug

Comments

@8ctopus
Copy link
Contributor

8ctopus commented Dec 16, 2019

  • Gitea version (or commit ref): 1.10.1
  • Git version: 2.17.1
  • Operating system: Ubuntu 18.04.3 LTS
  • Database (use [x]):
    • MySQL
  • Can you reproduce the bug at https://try.gitea.io: the IP is unfortunately blocked from Russia.

Description

The repository size indicated in Repository Management does not account for data stored in git LFS.

So for example, if I create a new repository, add git LFS tracking for zip and add a 20Mb zip file, the repository size shown in the Repository Management is less than 100kb instead of the 20Mb.

It would be better if the size in Repository Management would show the sum of the sizes of git LFS data and repository.

@lunny lunny added the type/bug label Dec 16, 2019
@stale
Copy link

stale bot commented Feb 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale stale bot added the issue/stale label Feb 14, 2020
@stale
Copy link

stale bot commented Feb 28, 2020

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale stale bot closed this as completed Feb 28, 2020
@zeripath zeripath added issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Feb 28, 2020
@zeripath zeripath reopened this Feb 28, 2020
techknowlogick added a commit that referenced this issue May 31, 2020
Fixes #9369

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
ydelafollye pushed a commit to ydelafollye/gitea that referenced this issue Jul 31, 2020
Fixes go-gitea#9369

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants