flynnnnnnnnnn
487cb6a411
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 >
2022-11-27 18:20:29 +00:00
John Olheiser
b27dc8fe43
Add gitea-vet ( #10948 )
...
* Add copyright
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add gitea-vet and fix non-compliance
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Combine tools.go into build.go and clean up
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Remove extra GO111MODULE=on
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2020-04-05 07:20:50 +01:00
kolaente
7815690b67
Add golangci ( #6418 )
2019-06-12 15:41:28 -04:00
Oleg Kovalov
f36a84cc8e
Remove check for negative length ( #5120 )
2018-10-20 17:25:14 -04:00
SagePtr
3b32a8e2c4
Use native go method to get current user rather than environment variable ( #4930 )
...
* Use native go method to get current user rather than environment var
* Use t.Skip instead of return in test
2018-10-18 15:08:20 +08:00
Lunny Xiao
71f28c3e8d
golint fixed for modules/user
2016-11-24 17:37:11 +08:00
Matthias Loibl
6d1eb5b38d
Add tests for CurrentUsername() ( #88 )
2016-11-06 09:47:25 +01:00
Pablo Saavedra
ca10c06350
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
2016-07-09 13:22:28 +08:00
Paolo Borelli
688e7fcba5
Factor out function to get the current user
...
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
2015-08-15 10:05:12 +02:00