-
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
Mail count & Issue count #194
Conversation
e494112
to
a0f9992
Compare
I don't know why CI fails. I can build it locally and run the tests just fine. The CI also only fails for version 3.3 with an error indicating sqldf is missing (?). |
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 @JoJoDeveloping for this very nice pull request! 🥳 I really appreciate it. In particular, I like your abstractions and, especially, also the different kinds of how to count issues and pull requests. 👍 Nevertheless, as this affects also filtering and configuration options of the project data, we should discuss about that together in our next meeting, as this also may affect code beyond this pull request. For that reason, I did not yet have a look at your changes in util-networks-covariates
and also not at your tests. Stay tuned!
In the meanwhile, there are a few minor issues you could work on 😉 For example, your fancy helper function would be even fancier if you would add a few inline comments. For more details, see my comments below.
When reading my comments, please also keep in mind that some of the coding-style related comments also hold for several other places in your implementation than just the one I have added the comment at.
In case of questions, please don't hesitate to ask.
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.
Nice work @JoJoDeveloping . I found a couple of additional things which were not mentioned in @bockthom's review.
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 your PR, @JoJoDeveloping! 😃 Keep up the good work!
This is not a full review as I have not looked into the implementation in detail. I just want to share my thoughts on some things that I spotted while scanning the comments of @bockthom and @hechtlC. 😉
a0f9992
to
d996e28
Compare
tests/codeface-data/results/testing/test_feature/feature/issues-github.list
Outdated
Show resolved
Hide resolved
8cb3159
to
4a6183d
Compare
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.
First of all thanks for the good work on this enhancement @JoJoDeveloping.
There are some problems here (mostly documentation). These will need to be fixed. Please also check whether there are more than one occurrence of the documentation problems as I have not marked every one.
Please also don't forget to address the old comments.
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 @JoJoDeveloping for working on this PR. I just had a quick view at it and spotted only minor issues. I will do a full pass when all the remaining issues (especially to the test suite) are fixed.
I have already spotted a few issues:
- This PR contains files which should not be part of it, e.g.,
tests/testthat-problems.rds
. Please remove them via rebase, as we don't want such files to show up in the commit history. Please also check if there are other files that should not appear here. - There still are some violations of the coding conventions (spacing, indentation, etc.). The individual comments below just indicate some of them. Please also check for similar violations not explicitly mentioned in our reviews.
- The test data for pull-requests contains unrealistic data. Please adjust events in such a way that they can occur in a real setting, see also my comments below.
Please see also the individual comments below.
tests/codeface-data/results/testing/test_feature/feature/issues-github.list
Outdated
Show resolved
Hide resolved
7a73379
to
a1c21d7
Compare
…thor for issue se-sic#188 Signed-off-by: Johannes Hostert <[email protected]>
…se-sic#188 Signed-off-by: Johannes Hostert <[email protected]>
Tests for PRs are missing since there is no test data including PRs yet Signed-off-by: Johannes Hostert <[email protected]>
…n all varieties one can imagine (and more) Signed-off-by: Johannes Hostert <[email protected]>
Signed-off-by: Johannes Hostert <[email protected]>
Signed-off-by: Johannes Hostert <[email protected]>
Signed-off-by: Johannes Hostert <[email protected]>
…t.issues to make it similar to get.commits[.filtered] Close se-sic#185. Signed-off-by: Johannes Hostert <[email protected]>
Signed-off-by: Johannes Hostert <[email protected]>
a1c21d7
to
98b5984
Compare
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.
Yet another review on my part 😃
In the end, I have added way more comments than I wanted to add... but I think that we are close to merging, though, if the comments are adressed. However, the longer the time span between two subsequent reviews, the higher the probability that I will spot new issues that I have not spotted yet 😉
Maybe you would like make use of this information when addressing my comments 😄
Anyway, please find my detailed comments below. If anything is unclear, don't hesitate to ask.
Signed-off-by: Johannes Hostert <[email protected]>
d113945
to
f739b12
Compare
f739b12
to
240a460
Compare
Signed-off-by: Johannes Hostert <[email protected]>
240a460
to
ffaa594
Compare
2de0157
to
d9a9366
Compare
Signed-off-by: Johannes Hostert <[email protected]>
d9a9366
to
d71681a
Compare
Signed-off-by: Johannes Hostert <[email protected]>
I'm done with my final review! As soon as the stated issues regarding test, news, and showcase/util-networks-metrics are fixed, this PR can be merged. |
Thanks @JoJoDeveloping for your endurance. This PR contains a lot of substantial and valuable changes and will definitively improve coronet in various directions. The only point of criticism left is that the last commit's message does not contain a signed-off tag 😉 |
Signed-off-by: Johannes Hostert <[email protected]>
66b5937
to
6129435
Compare
When not passing a specific value for parameter `issue.type` to all the `add.vertex.attribute.issue.*` functions, the vector `c("all", "pull.requests", "issues")` is automatically used as default. However, as only one of the vector's elements is allowed, this leads to problems when passing this parameter to other functions in turn. To fix this, add some missing `match.arg` calls that make sure that only one value (the actual default "all") is used for the `issue.type` parameter. This is a follow-up commit for PR se-sic#194 and commit eb4f649. Signed-off-by: Thomas Bock <[email protected]>
Prerequisites
dev
.Description
Adds methods that add relevant attributes to implement the changes noted in #188
These are per-author and include:
The definition of when an author is related to an issue are tentative and should be looked over. In particular we have:
As an added bonus, we also fix #185. We also rename the issue data getters in util-data.R so that they are named consistently with the commit data getters.
Merging this closes #185, closes #188.