1
0
mirror of https://github.com/harness/drone.git synced 2025-05-31 11:43:15 +00:00

5 Commits

Author SHA1 Message Date
Enver Bisevac
00647d7d1b [MAINT] golangci-lint config changed ()
* goheader linter added

* file header consistency
2022-10-13 14:39:15 +02:00
Johannes Batzill
fad6e18898 Introduce Controller for Repo, Space, User, and ServiceAccount ()
Preparing the support for harness specific API router + http handler, which allows us to have complete control over the rest api naming and functionality, without having to do complex path rewrites or request / reponse rewrites inline.
2022-10-03 18:56:49 -07:00
Enver Bisevac
ca8aa47e05 [MAINT] initial work on linter setup ()
* initial work on linter setup

* simple linter rules fixed
2022-09-13 00:08:43 +02:00
Johannes Batzill
b7b9f53b0d Improve error handling to match go standards - don't wrap and rethrow, but log and return. Also adds some more validations for path creation and resource moving. Add accesslogging for git and api router ()
This commit contains the following:
- Improve and simplify error handling (remove unnecessary wrappers, make it feel like go)
- Add extra validation for path creation and resource moving (path has to be within same top space, no top space alias allowed)
- Add access logging for rest api and git api
2022-09-09 22:08:46 -07:00
Tan Nhu
5891818ce1 Initial commit 2022-08-09 12:37:37 -07:00