Commit Graph

5 Commits

Author SHA1 Message Date
Don
156b01377d Move commit message parsing to drone library 2020-09-14 13:28:34 -07:00
Don
5113109fd1
Add String() implementations for some structs (#20) 2020-09-11 06:36:07 -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
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