silverwind
0585ac3ac6
Update go dev dependencies ( #22064 )
...
`golangci-lint`
[deprecated](https://github.com/golangci/golangci-lint/issues/1841 ) a
bunch of linters, removed them.
2 years ago
flynnnnnnnnnn
e81ccc406b
Implement FSFE REUSE for golang files ( #21840 )
...
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2 years ago
Lunny Xiao
e72acd5e5b
Split migrations folder ( #21549 )
...
There are too many files in `models/migrations` folder so that I split
them into sub folders.
2 years ago
delvh
0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) ( #21551 )
...
Found using
`find . -type f -name '*.go' -print -exec vim {} -c
':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
Bo-Yi Wu
167b0f46ef
chore(models): rewrite code format. ( #14754 )
...
* chore: rewrite format.
* chore: update format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* chore: update format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* chore: Adjacent parameters with the same type should be grouped together
* chore: update format.
4 years ago
guillep2k
d816f7018b
Remove migration support from versions earlier than 1.6.0 ( #10026 )
...
* Remove migration support from versions earlier than 1.6.0
* Remove unused functions
* Update gogs upgrade instructions
* Improve "latest" link as per @jolheiser
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
Lunny Xiao
d151503d34
Upgrade xorm to v0.8.0 ( #8536 )
5 years ago
kolaente
1bff02de55
Added dependencies for issues ( #2196 ) ( #2531 )
6 years ago