Skip to content

Release page show all tags only if needed - else filter by keyword #20073

Open
@6543

Description

@6543

at the moment we do just return all tags to compare against ... if you have quite a lot this is not a good practice.

we should only return 10 and let backend filter by keyword - and/or only if desired explicit load all

// TODO(20073) tags are used for compare feature witch needs all tags
// filtering is doen at the client side atm
tagListStart, tagListEnd := 0, 0
if isTagList {
tagListStart, tagListEnd = listOptions.GetStartEnd()
}
tags, err := ctx.Repo.GitRepo.GetTags(tagListStart, tagListEnd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions