-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Description
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
gitea/routers/web/repo/release.go
Lines 101 to 108 in f6db650
| // 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) |
Gusted
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionality