You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/repository
Jason Song f79530c50e
Do not use lower tag names to find releases/tags (#29261) (#29262)
Backport #29261.

Fix #26090, see
https://github.com/go-gitea/gitea/issues/26090#issuecomment-1952013206

Since `TagName` stores the original tag name and `LowerTagName` stores
the lower tag name, it doesn't make sense to use lowercase tags as
`TagNames` in `FindReleasesOptions`.

5e72526da4/services/repository/push.go (L396-L397)

While the only other usage looks correct:

5e72526da4/routers/web/repo/repo.go (L416)
12 months ago
..
archiver Next round of `db.DefaultContext` refactor (#27089) 1 year ago
files Fix reverting a merge commit failing (#28794) (#28825) 1 year ago
adopt.go Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
adopt_test.go Use more specific test methods (#24265) 2 years ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
avatar_test.go Use context parameter in services/repository (#23186) 2 years ago
branch.go Fix schedule tasks bugs (#28691) (#28780) 1 year ago
cache.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
check.go move repository deletion to service layer (#26948) 1 year ago
collaboration.go Fix `DeleteCollaboration` transaction behaviour (#28886) (#28889) 1 year ago
collaboration_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
commit.go Show branches and tags that contain a commit (#25180) 2 years ago
create.go move repository deletion to service layer (#26948) 1 year ago
create_test.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
delete.go Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
delete_test.go Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
fork.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
hooks.go Add user webhooks (#21563) 2 years ago
lfs.go Fix bugs in LFS meta garbage collection (#26122) 2 years ago
lfs_test.go Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
push.go Do not use lower tag names to find releases/tags (#29261) (#29262) 12 months ago
repository.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
review.go Use context parameter in services/repository (#23186) 2 years ago
review_test.go Use context parameter in services/repository (#23186) 2 years ago
setting.go Fix an actions schedule bug (#28942) (#28999) 1 year ago
template.go Move notification interface to services layer (#26915) 1 year ago
transfer.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
transfer_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago