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

[Statistics view] Commits and changes lines are shifted #385

Closed
n-rodriguez opened this Issue Mar 16, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@n-rodriguez
Member

n-rodriguez commented Mar 16, 2015

Some commits may have no file changes (empty commit, merge, etc).
In result commits line and changes line are shifted because of missing date in series list :

total_commits_by_day.keys :


---
- 2014-04-17
- 2014-04-18
- 2014-04-19
- 2014-04-20
- 2014-04-23
- 2014-04-25
- 2014-04-26
- 2014-06-23
- 2014-09-03
- 2014-09-08
- 2014-09-09
- 2014-09-10
- 2014-09-11
- 2014-09-16
- 2014-09-17
- 2014-09-24
- 2014-09-29
- 2014-11-08
- 2015-01-15
- 2015-01-31
- 2015-02-27
- 2015-03-11
- 2015-03-12
- 2015-03-16

total_changes_by_day.keys :


---
- 2014-04-17
- 2014-04-18
- 2014-04-19
- 2014-04-20
- 2014-04-23
- 2014-04-25
- 2014-04-26
- 2014-06-23
- 2014-09-03
- 2014-09-09
- 2014-09-10
- 2014-09-11
- 2014-09-16
- 2014-09-17
- 2014-09-24
- 2014-09-29
- 2014-11-08
- 2015-01-15
- 2015-01-31
- 2015-02-27
- 2015-03-11
- 2015-03-12
- 2015-03-16

The missing date here is 2014-09-08 in total_changes_by_day.keys.
In total_commits_by_day.keys :

  • 2014-09-03
  • 2014-09-08
  • 2014-09-09

So the commit exists but there are no changes. The entry should exists in total_changes_by_day with a 0 value (no changes).
depot - statistiques - test - redmine

@n-rodriguez n-rodriguez self-assigned this Mar 16, 2015

@n-rodriguez n-rodriguez added the bug label Mar 16, 2015

@n-rodriguez n-rodriguez added this to the v1.0.3 milestone Mar 16, 2015

@n-rodriguez n-rodriguez changed the title from Commits and changes are shifted in statistics view to Commits and changes lines are shifted in statistics view Mar 16, 2015

@n-rodriguez n-rodriguez changed the title from Commits and changes lines are shifted in statistics view to [Statistics view] Commits and changes lines are shifted Mar 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment