-
Notifications
You must be signed in to change notification settings - Fork 10
Extract data reformat logic into a separate file #11
Conversation
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 Diana, left a few comments - PTAL
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.
Can you split this PR into multiple? I see a lot of code refactoring mixed with other changes. Very large set of changes to review.
@ericwb if you filter out |
Any autogenerated files should be in a second commit in the PR. |
@ericwb, @tzstoyanov @annajung I have reverted all auto-generated HTML files, so now the PR contains 5 files. |
I think it is better to have all related changes in the same PR, just add a second commit with the doc updates. |
@tzstoyanov I agree with you that it is better to have all related changes in the same PR, having it as a separate commit is a good approach, and less error prone. I just realized that code reviews could be done for a specific commit as well. So, no need to filter out *.html files. |
I think commits should not be squashed, as each commit is a separate logical change in the code. Keeping commits simplifies finding problems using |
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.
lgtm
@tzstoyanov sometime as a follow-up, we commit just a typo fix that just makes a noise I think. @annajung suggested that we could elaborate GitHub Actions for HTML auto-generated code. |
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.
thank you! lgtm
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 like some typos on filenames
cb3a919
to
502b6c7
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.
LGTM
Extract data reformat logic into a separate file - github_data.py
Available commands:
--name
is an optional parameter (supported by github_data.py and featureFector.py)--words
is an optional parameter (supported by featureVector.py and commentAnalysis.py)Fixes: #4
Signed-off-by: Diana Atanasova [email protected]