-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cleanup - Initial Project Refactor #3
Conversation
Also worked on having go.mod reflect true repository name.
Making sure we're only using the flag that we're passing in.
@amenocal @kuhlman-labs please do an integration test and review the above. I have a bit more changes incoming regarding unit tests, but getting this initial PR out there. :) |
} | ||
} | ||
|
||
func replaceSHA(data interface{}, oldSHA string, newSHA string) { |
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.
In a later PR, I would like to rework this function as I'm getting super spooked around the usage of empty interfaces here (e.g., any type)
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.
@ssulei7 good catch!
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.
Agreed
@ssulei7 LGTM. My integration tests passed, I just added one commit to add in the issue_events file to be processed as well. |
go.mod
to reflect source repository namecmd/root.go
intointernal/commitremap
. Chances are some functions around file processing can be broken out of here as well, but we'll see.func main
, and did an inline function for the root cmd. I didn't see much of a point of adding a concrete function for the root command at this point in time 🤷🏽