Commit d45a460
Support for slackUserIdFromEmail slackUserIdsFromCommitters commands (#175)
* adding slack file send
* added all file send params
* adding slack file upload
* adding test files
* modifed plugin tests to check for request body similar to previous cases
* adding output env vars
* updating slack file upload instructions
* handling filename arg is empty case
* Update plugin.go
done
Co-authored-by: OP (oppenheimer) <[email protected]>
* not creating any tmp files if DRONE_OUTPUT not set
* Update README.md
* Update README.md
* Update plugin.go
* Update README.md
* adding get slack id from email functionality
* getting all slack ids of commiters from git
* updating arm64 docker file
* added windows git command for getting commiters
* Updating usage for get slack id support in README.MD
* test update for commiter log
* adding git commit id ranges for getting commiter ids
* adding HEAD and sha commit ranges, HEAD and number sha commit ranges
* Updating usage from Get the Slack IDs of all committers
* getting old and new commit ids from HEAD^ and HEAD
* making slack id of commiters to json string
* adding email len == 0 check and returning error
* taking csv list for getSlackid from emails
* testing message sending to user
* sending dm same as channel msg
* added fmt prints
* changing fmt.Print to log.Print
* removing bash git command with go git package
* removing git bash install from linux docker files
* adding test functions
* removing debug print
* adding test cases for no commiters, slack lookup failure, rate limit failure
* Update plugin.go
Co-authored-by: OP (oppenheimer) <[email protected]>
* Update plugin.go
Co-authored-by: OP (oppenheimer) <[email protected]>
* Update plugin.go
Co-authored-by: OP (oppenheimer) <[email protected]>
* Update plugin.go
Co-authored-by: OP (oppenheimer) <[email protected]>
* adding time package
---------
Co-authored-by: OP (oppenheimer) <[email protected]>
Co-authored-by: Senthil Kumar T <[email protected]>1 parent fc548f3 commit d45a460
File tree
8 files changed
+587
-31
lines changed- docker
8 files changed
+587
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
91 | 134 | | |
92 | 135 | | |
93 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
| 22 | + | |
18 | 23 | | |
19 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
24 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 | | |
26 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
27 | 48 | | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
| 8 | + | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
242 | 257 | | |
243 | 258 | | |
244 | 259 | | |
| |||
299 | 314 | | |
300 | 315 | | |
301 | 316 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
307 | 325 | | |
308 | 326 | | |
309 | 327 | | |
| |||
0 commit comments