Skip to content

Mirror: if no content is fetched, updated should not be changed #4341

Closed
@hochhaus

Description

@hochhaus
  • Gogs version (or commit ref): 0.10.18
  • Git version: git version 2.11.0
  • Operating system: Debian Stretch
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gogs.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist (usually found in log/gogs.log):

Description

When setting up mirrors, the explore page displays the "Updated" field as the last time the repo was polled for an update. It would be better if it showed the last time it was polled when at least one new change was pulled in from the upstream git repo. Otherwise, all of the projects show as updated every X hours.

Alternatively, as I am now using the mirror sync API, having the ability to disable polling all together would also meet my needs.

Metadata

Metadata

Assignees

Labels

💊 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions