Skip to content

Tags in UI should be purely git-based #23569

Closed
@silverwind

Description

@silverwind

Feature Description

See discussion starting with #23243 (comment).

I'd like UI tags to be a pure snapshot of all tags in git, e.g. a combination of git tag and git show <tag>. Gitea seems to have some weird concept where a tag is "synced" into the database and as seen in that PR, that sync apparently misses some tags which show empty despite git show <tag> showing all metadata of the tag like:

  • Tag name
  • Tag tagger
  • Tag date
  • Tag message
  • Tag signature

All this info is in git and does not need to be in the Gitea database.

Releases are a distinct concept from tags and have no relation to them except that a release can optionally point to a tag.

If it helps performance, tag data could be cached in redis etc, but care must be taken so that cache is properly invalidated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions