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

Repeated repo name when analyzing repos with deep URIs #100

Open
canasdiaz opened this issue Jan 28, 2016 · 0 comments
Open

Repeated repo name when analyzing repos with deep URIs #100

canasdiaz opened this issue Jan 28, 2016 · 0 comments
Labels

Comments

@canasdiaz
Copy link
Member

The field 'name' of the repositories table is useless when we have different repos with different URIs but same last token. Example:

mysql> SELECT * FROM repositories WHERE name = 'core';
+-----+-----------------------------------------------+------+------+
| id  | uri                                           | name | type |
+-----+-----------------------------------------------+------+------+
|   5 | https://gerrit.wikimedia.org/r/pywikibot/core | core | git  |
|  67 | https://gerrit.wikimedia.org/r/mediawiki/core | core | git  |
| 282 | https://gerrit.wikimedia.org/r/oojs/core      | core | git  |
+-----+-----------------------------------------------+------+------+
3 rows in set (0,00 sec)

This bug affects GrimoireLib due to it gets SCM data grouping by 'name'. This bug was repored by the Wikimedia folks (https://phabricator.wikimedia.org/p/jayvdb/) in the following ticket https://phabricator.wikimedia.org/T123808#1970520

@canasdiaz canasdiaz added the bug label Jan 28, 2016
canasdiaz added a commit to VizGrimoire/GrimoireLib that referenced this issue Feb 4, 2016
Workaround to get SCM repository names using uri instead of name
due to bug MetricsGrimoire/CVSAnalY#100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant