17 Commits (forgejo)

Author SHA1 Message Date
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>
1 year ago
6543 54e9ee37a7
format with gofumpt (#18184)
* gofumpt -w -l .

* gofumpt -w -l -extra .

* Add linter

* manual fix

* change make fmt
2 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 5 years ago
Morgan Bazalgette 2b52f77e1b General refactor of the cmd package (#3328)
* General refactor of the cmd package

* Address breakage in runCreateUser

* Place "common" functions into cmd.go
6 years ago
Gabriel Jackson bf6f61cc69 Cleanup log messaging
This change corrects a few logging issues:

 * Standardized formatting errors with '%v'.
 * Standardized failure warning word usage.
 * Corrected an instance of using the standard log library when
   the gitea log library should be used instead.
7 years ago
Joubert RedRat ce21ed6c34 Remove remaining Gogs reference on locales and cmd (#430) 8 years ago
Thomas Boerger 2932042a6d Get rid of bin folder within makefile, enabled TiDB (#319)
* Get rid of the bin folder within the build process

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped latest make task, it is unused

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Added tidb tag to drone config

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped the cert build tag

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped useless minwinsvc build tag

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped the useless build tags from drone config

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
8 years ago
Matthias Loibl 5cd093aa46 Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Thomas Boerger 5b5af7daee
Made linter happy in cmd folder 8 years ago
Unknwon 16eb2eb6a3 Fix import path 8 years ago
Unknwon e3d3d424b2 Minor fix for go vet 8 years ago
Unknwon 7826eae452 #3045 fix DEPRECATED Action signature erorr 8 years ago
Unknwon e030109b5a fix api broken 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Paolo Borelli e94ca36335 Add CommonName to the self signed certificate
Without a CN the self signed certificate is considered
invalid by chrome.
You can check with: openssl x509 -in cert.pem -subject -noout
9 years ago
Unknwon fc18741cc7 Fix #524 10 years ago
Unknwon 135d3733b3 Feature: Integrate crypto/tls/generate_cert.go command 10 years ago