Skip to content
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

[report] Add functionality to calculate PROJECT ACTIVITY section of the report #92

Merged
merged 1 commit into from
Aug 2, 2018

Conversation

aswanipranjal
Copy link
Contributor

@aswanipranjal aswanipranjal commented Aug 1, 2018

This PR proposes to add the project activity section of the report for git, github_issues
and github_prs data sources.

  • This PR adds the get_sec_project_activity() function which calculates the PROJECT ACTIVITY section of the report and stores the data into a project_activity folder.
  • This PR also merges create_csv_from_df and create_fig_from_df into create_csv_fig_from_df function so that the code is a bit less cluttered and is easier to usage.

@coveralls
Copy link

coveralls commented Aug 1, 2018

Pull Request Test Coverage Report for Build 238

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 59.977%

Totals Coverage Status
Change from base Build 235: 0.0%
Covered Lines: 1034
Relevant Lines: 1724

💛 - Coveralls

@aswanipranjal
Copy link
Contributor Author

aswanipranjal commented Aug 2, 2018

@valeriocos @jgbarah I think this PR is big enough on it's own and I should create a separate PR adding the tests for the functions used to create the reports. Will that be okay with you?

@valeriocos
Copy link
Member

@aswanipranjal, I agree with you. You could also split the 3 bullet points listed in the description of this PR in 3 different PRs.

- This code adds the `get_sec_project_activity` function which calculates
the project activity section of the report.
- This also merges the `create_csv_from_df` and `create_fig_from_df` functions
into `create_csv_fig_from_df` so that the code is a bit less cluttered and because
these functions were being called one after the other.
@aswanipranjal
Copy link
Contributor Author

@valeriocos I am dividing this PR into 4 parts, one for reports section and the other 3 for the 3 data sources.

@aswanipranjal aswanipranjal changed the title [WORK IN PROGRESS] [report] Add functionality to calculate PROJECT ACTIVITY section of the report [report] Add functionality to calculate PROJECT ACTIVITY section of the report Aug 2, 2018
@aswanipranjal
Copy link
Contributor Author

@valeriocos I am finished with the PRs, please review?

Copy link
Member

@valeriocos valeriocos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@valeriocos valeriocos merged commit 063e424 into chaoss:master Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants