go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.46k stars 5.44k forks source link

i suddenly have in my git repo that mentioned it is updated 1 hour ago but i didnt make any update. how is this possible? #32046

Open sprappcom opened 3 weeks ago

sprappcom commented 3 weeks ago

Description

internally hosted gitea instance mentioned my repo is updated 1 hour ago. i didnt do anything and there's no updated information inside the git.

Screenshot from 2024-09-15 15-17-06 Screenshot from 2024-09-15 15-16-23

Gitea Version

1.22

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

ubuntu 24.04

How are you running Gitea?

docker gitea instance. is there some backdoor to this?

Database

MySQL/MariaDB

lunny commented 3 weeks ago

Of course there is no any backdoor. All the sources are open. You can take a look at the files' history commits.

delvh commented 3 weeks ago

Changing your repo settings also counts as "updated now". Did you or your site admin perhaps change something there?

techknowlogick commented 3 weeks ago

Scheduled actions also mark repo as updated, issue comments, PRs, and many other interactions with the repo can mark a repo as updated.

byCarlsJr commented 3 weeks ago

Having the same issue. I'm browsing unauthenticated, yet repos are showing updated after I do so. When checking inside the repo, nothing has changed.

yp05327 commented 3 weeks ago

Any operation which will update the record in DB of this repo will update the updated time. So it doesn't mean the code has been updated xxx ago

Shuenhoy commented 1 week ago

Just accessing some inactive repo will also update the updated time. I found this behavior pretty annoying. Is it possible to do the update at least only when something visible happens, e.g. issue comments, pr, setting changes mentioned above?

lunny commented 1 week ago

So we need to clarify which kind operations should be considered as updated.