-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow for multiple reporting formats #39
Conversation
* All reporting related stuff is now in the `reporting` package * This may require some more thought on organization. I was pretty heavy-handed here. * There's now a `Reporter` interface * There's a `SlackReporter` implementation of that interface * Slack functionality is all isolated inside the Slack module * Slack messages are sent asynchronously! Oh also there's no tests here. Which sucks. But this PR is already so massive...
Codecov Report
@@ Coverage Diff @@
## main #39 +/- ##
===========================================
+ Coverage 16.71% 44.00% +27.28%
===========================================
Files 9 12 +3
Lines 347 400 +53
===========================================
+ Hits 58 176 +118
+ Misses 288 223 -65
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Phylum OSS Supply Chain Risk Analysis - INCOMPLETEThe analysis contains 1 package(s) Phylum has not yet processed, |
I apologize for the size of this PR. There was a lot of necessary reshuffling to make this all work right. And once I got started on tests, there was no stopping me. 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! This is becoming more flexible to work on. Now, I want to get some work done here. 😄
@@ -0,0 +1,175 @@ | |||
package reporting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤩
Thanks! I really hope this works out as well as we think it will. I think I'm going to leave this PR open at least for the night, to give others a chance to pick it apart. As excited as I am to get this merged 😄 |
Fixes #5
reporting
packageReporter
interfaceSlackReporter
implementation of that interfaceOh also there's no tests here. Which sucks. But this PR is already so massive...
Largely, this PR is shuffling a whole lot of code around to new places.