You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time a mirror repository syncs with its upstream repository (every 8 hours by default), the Gitea mirror repository's last updated time is set to the current time even if there are no upstream changes. This continually causes mirror repositories to be listed higher than other repositories in the Gitea user profile page that contains mirror repositories.
Gitea should instead use the most recent commit time in a mirror repository when determining profile page repository ordering.
This can be reproduced with the following steps:
Create a mirror repository and wait for it to finish syncing.
Create a new source repository and push some content to it.
View the user profile for the two created repositories, and note that the source repository is listed first.
Open the mirror repository, click Settings, and under Mirror Settings click "Sync Now"
Return to the user profile page, and note that the mirror repository is now listed first (with a more recent updated time) even if no new changes were pulled from upstream
What should happen instead:
Mirror repositories should determine the most recent commit timestamp in a mirror repository (for all synced branches), and use that timestamp to when determining the repository order to display on the user profile page.
The text was updated successfully, but these errors were encountered:
[x]
):Description
Every time a mirror repository syncs with its upstream repository (every 8 hours by default), the Gitea mirror repository's last updated time is set to the current time even if there are no upstream changes. This continually causes mirror repositories to be listed higher than other repositories in the Gitea user profile page that contains mirror repositories.
Gitea should instead use the most recent commit time in a mirror repository when determining profile page repository ordering.
This can be reproduced with the following steps:
What should happen instead:
The text was updated successfully, but these errors were encountered: