0
0
mirror of https://github.com/thegeeklab/wp-plugin-go.git synced 2024-11-21 14:10:39 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
8ac84bd4c4
refactor: add more linters and fix findings (#27) 2023-02-08 10:16:01 +01:00
9bf0cbdf85
feat: add custom StringSliceFlag type that allows escaping (#21) 2022-10-31 15:37:50 +01:00
50ca21ff81
initial commit after fork 2022-05-03 22:03:37 +02:00
Don
156b01377d Move commit message parsing to drone library 2020-09-14 13:28:34 -07:00
Don
0ce4bf8655
Add CalVer support (#18) 2020-09-11 06:36:36 -07:00
Don
5113109fd1
Add String() implementations for some structs (#20) 2020-09-11 06:36:07 -07:00
Don
be2c206c20
Add missing fields for Build (#19)
Both DRONE_BUILD_LINK and DRONE_DEPLOY_ID were missing from the list of environment
variables in the drone-runner library.
2020-09-11 06:35:41 -07:00
Don
1f4e8862b8 Remove obsolete fields from Commit 2020-09-10 14:16:39 -07:00
Don
c5ec06ee53 Split Author and Message from Commit
The drone-slack plugin has structs for Author and Message. Since this is the most
popular notification plugin it makes sense to follow along with it.
2020-09-10 11:58:01 -07:00
Thomas Boerger
c46cfdde19
Better separation of network, logging and pipeline
I have reverted some last changes to get logging and network extraction
from context separated from the pipeline again as it has been before.
Feels much better to have it separated within the generated plugins.
2020-01-20 22:58:54 +01: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