gitea/models/migrations/v1_22
silverwind b18c047d62
Upgrade gopls to v0.19.0, add make fix (#34772)
Upgrade to
[v0.19.0](https://github.com/golang/tools/releases/tag/gopls%2Fv0.19.0)
and fix issues. Runs with new `warning` serverity setting. This likely
does less checks than before. Additionally, add `make fix` which runs
modernize. This is also verified on CI.

For the record, here are the issues discoverd when running with `info`
severity, in case we want to fix these:

```
tests/integration/repo_test.go:95:5-14: could use tagged switch on i
tests/integration/api_packages_generic_test.go:149:4-64: could use tagged switch on setting.Packages.Storage.Type
services/webhook/msteams_test.go:33:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:59:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:85:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:111:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:138:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:161:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:187:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:213:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:239:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:266:4-33: could use tagged switch on fact.Name
services/webhook/msteams_test.go:407:4-33: could use tagged switch on fact.Name
tests/integration/api_packages_conan_test.go:350:6-33: could use tagged switch on pf.Name
models/issues/tracked_time_test.go:98:3-18: could use tagged switch on user.ID
tests/integration/api_token_test.go:505:5-43: could use tagged switch on minRequiredLevel
services/gitdiff/gitdiff.go:220:33-46: method "getLineLegacy" is unused
```

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-06-18 19:30:40 +00:00
..
main_test.go Add combined index for issue_user.uid and issue_id (#28080) 2023-12-14 09:26:59 +00:00
v280.go Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
v281.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
v282.go Add Index to pull_auto_merge.doer_id (#27811) 2023-10-30 08:39:29 +00:00
v283_test.go Fix migration test (#28659) 2023-12-30 21:54:48 +08:00
v283.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
v284.go Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-14 17:15:59 -04:00
v285.go Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-14 17:15:59 -04:00
v286_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
v286.go Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-14 17:15:59 -04:00
v287_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
v287.go Add admin API route for managing user's badges (#23106) 2024-03-01 03:23:28 -05:00
v288.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
v289.go Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-14 17:15:59 -04:00
v290.go Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-14 17:15:59 -04:00
v291.go Upgrade xorm to v1.3.9 and improve some migrations Sync (#29899) 2024-07-14 17:15:59 -04:00
v292.go Fix migration v292 (#30153) 2024-03-28 16:14:30 +00:00
v293_test.go Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
v293.go Fix migration v292 (#30153) 2024-03-28 16:14:30 +00:00
v294_test.go Upgrade gopls to v0.19.0, add make fix (#34772) 2025-06-18 19:30:40 +00:00
v294.go Rename migration package name for 1.22-rc1 (#30730) 2024-04-27 14:02:07 +00:00
v295.go Rename migration package name for 1.22-rc1 (#30730) 2024-04-27 14:02:07 +00:00
v296.go Rename migration package name for 1.22-rc1 (#30730) 2024-04-27 14:02:07 +00:00
v297.go Rename migration package name for 1.22-rc1 (#30730) 2024-04-27 14:02:07 +00:00
v298.go Rename migration package name for 1.22-rc1 (#30730) 2024-04-27 14:02:07 +00:00