-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 and languages percentage doesn't update when repo updated manually #18154
Comments
I think this is working as intended from my perspective. As I'm pretty sure that Gitea doesn't allow nor support that users are messing around with the repo's that Gitea is hosting. As a lot of functionality(like language and size) isn't generated on-demand, but they are generated when their are new commits on the main branch. |
Gitea shows all commits and files correctly, even tho I manually update the repo. |
Well, that doesn't imply that it's allowed or supported. I'm against it, as allowing this can cause for a lot of undefined behavior. Maybe some other maintainer want's to shed some light 🤷🏽 |
Other maintainer can set the remote url to I can make a fake commit and push to |
#17494 It will be added in the next release. |
By doing that, the language and size info will be updated correctly? |
Yap. It then takes the latest commit(doesn't mater if it was pushed online or offline). |
Maybe that's not usefull for repository size ... |
🤷🏽 I'm pretty sure that gitea doesn't support nor handle that users are messing around with the repo's under the data folder. So it's just own-risk and what works, that works. |
Gitea Version
latest
Git Version
2.27.0
Operating System
Windows 10
How are you running Gitea?
By running
Gitea
via command-lineDatabase
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When I push offline/manually repository size and languages percentage doesn't update, by offline I mean copy bare repository from somewhere else and paste to repo location, not by pushing to
http://localhost:....
Screenshots
No response
The text was updated successfully, but these errors were encountered: