John Olheiser
af44abe4c2
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>
6 years ago
kolaente
cdba91b438
Add golangci ( #6418 )
6 years ago
Oleg Kovalov
b21d2cae09
Remove check for negative length ( #5120 )
7 years ago
SagePtr
b9041c703e
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
7 years ago
Lunny Xiao
8fa2001d20
golint fixed for modules/user
9 years ago
Matthias Loibl
e7e2c8c43e
Add tests for CurrentUsername() ( #88 )
9 years ago
Pablo Saavedra
5a99c23938
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
9 years ago
Paolo Borelli
f8cccb03a8
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.
10 years ago