-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove function 'get.commit.data' #163
Conversation
…rview' Remove the two functions 'get.author.class.activity' and 'get.author.class.activity.overview' from the file 'util-core-peripheral.R'. Signed-off-by: Jakob Kronawitter <kronawij@fim.uni-passau.de>
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 for working on this pull request @SCPhantom . This helps a lot to "clean up" the core-peripheral module, looks good now. I only found some minor issues, please have a look at them.
(Disclaimer: I did not have a look at the changes to the tests yet.)
Replace 'get.commits' call with a 'get.commits.filtered' call in the function 'get.commit.data' and adjust affected test cases accordingly. This change was made because at each place where 'get.commit.data' is used, it is not wanted that successive calculations work with unfiltered commits. This relates to issue #70. Signed-off-by: Jakob Kronawitter <kronawij@fim.uni-passau.de>
In preparation to the removal of the function 'get.commit.data', remove all calls to this function and replace them with equivalent statements that use the function 'get.commits.filtered'. This relates to issue #70. Signed-off-by: Jakob Kronawitter <kronawij@fim.uni-passau.de>
Remove the function 'get.commit.data' from the file 'util-data.R'. This relates to issue #70. Signed-off-by: Jakob Kronawitter <kronawij@fim.uni-passau.de>
Signed-off-by: Jakob Kronawitter <kronawij@fim.uni-passau.de>
I have fixed the two issues in a rebase since this PR is rather small anyways |
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.
Looks good to me. Thanks for the changes, @SCPhantom!
Prerequisites
dev
.Description
This pull removes the function
get.commit.data
and replaces calls to this function with simpler statements of equivalent functionality despite that they now use the functionget.commits.filtered
to retrieve the filtered commits instead ofget.commits
which was previously used within the by now deleted functionget.commit.data
.Changelog
get.author.class.activity
andget.author.class.activity.overview
from the fileutil-core-peripheral.R
(61b344a)get.commit.data
fromutil-data.R
and replace all calls to this function with statements of equivalent functionality despite the fact that they are now retrieving the commit data viaget.commits.filtered
instead ofget.commits
which was internally used in the functionget.commit.data
(486c105, 9194dfc, e259522, Update core-peripheral module #70)