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

Problem with added and removed lines by authors in project Tempest #45

Open
ccervigon opened this issue Sep 26, 2013 · 3 comments
Open

Comments

@ccervigon
Copy link

I found a problem when analyzing the project Tempest. The author with the most commits appears without added and removed lines. But if you see the commits on Github the author does add and remove lines.

Info:

mysql> use openstack_tempest_cvsanaly;

mysql> select * from people where id = 8;
+----+---------+------------------------------+
| id | name | email |
+----+---------+------------------------------+
| 8 | Jenkins | [email protected] |
+----+---------+------------------------------+

mysql> SELECT count() FROM commits_lines WHERE id = ANY (SELECT id FROM scmlog WHERE author_id = 8);
+----------+
| count(
) |
+----------+
| 771 |
+----------+

mysql> SELECT SUM(added) FROM commits_lines WHERE id = ANY (SELECT id FROM scmlog WHERE author_id = 8);
+------------+
| SUM(added) |
+------------+
| 0 |
+------------+

mysql> SELECT SUM(removed) FROM commits_lines WHERE id = ANY (SELECT id FROM scmlog WHERE author_id = 8);
+--------------+
| SUM(removed) |
+--------------+
| 0 |
+--------------+

Commit on Github by this author:

Merge "Test that Heat max_template_size is applied"
Jenkins authored 5 days ago
Showing 2 changed files with 48 additions and 0 deletions.
URL: openstack/tempest@fcbca58

@canasdiaz
Copy link
Member

Could you please send us the command line you use and the version of cvsanaly? Thank you!

@ccervigon
Copy link
Author

tthebosss@tthebosss-ubuntu:~$ cvsanaly2 --version
2.1.0

I execute:

~/Escritorio/vizGrimoire/VizGrimoireR/examples/github/vg-github.py --user tthebosss --passwd XXX
--dir /tmp/temp --removedb --ghuser tthebosss --ghpasswd XXX
--vgdir ~/Escritorio/vizGrimoire openstack/tempest

OR

tthebosss@tthebosss-ubuntu:~/Escritorio/projects/tempest$ cvsanaly2 -u tthebosss -p XXX -d openstack_tempest_cvsanaly --extensions=CommitsLOC

With the same result.

@ccervigon
Copy link
Author

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

No branches or pull requests

3 participants