Commit Graph

9 Commits

Author SHA1 Message Date
Robert Kaussow 6be7f2b898
refactor: rework plugin cmd (#82)
BREAKING CHANGE: `types.Cmd` was moved to `exec.Cmd` and the `Private` field from the struct was removed. The filed `Trace` is now a bool field instead of a bool pointer, and the helper method `SetTrace` was also removed.

BREAKING CHANGE: The method `trace.Cmd` was removed, please use the `Trace` field of `exec.Cmd`.
2024-05-17 09:39:33 +02:00
Robert Kaussow 5dce9de670
feat: add cmd trace method (#47) 2024-01-01 21:42:17 +01:00
Robert Kaussow b5465c55af
feat: add network struct to expose http client and options (#12) 2023-08-15 22:46:42 +02:00
Robert Kaussow 8816f37595
refactor: initial commit after rewrite to woodpecker 2023-08-11 12:27:16 +02:00
Robert Kaussow 8ac84bd4c4
refactor: add more linters and fix findings (#27) 2023-02-08 10:16:01 +01:00
Robert Kaussow 50ca21ff81
initial commit after fork 2022-05-03 22:03:37 +02:00
Don 1304e6261a Format code 2020-09-10 13:06:29 -07:00
Don a8409c1215 Remove deprecated field usage 2020-09-10 11:17:05 -07:00
Thomas Boerger a20f13fdb0
Restructure the code accross more files
I have split the code into various files and beside that I have also
used more flat package structure. I have removed the whole constants for
flag names and environment variables, since nobody got to write these
flags manually anyway as all these variables are assigned to structs
all can benefit form code completion while this lib stays more readable.

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
2019-12-21 21:55:01 +01:00