Open mhow2 opened 5 years ago
@creat89 , @Danny2097 , @ambpro , @aabherve ... or anyone :) I need help on this. @ambpro told me that the issues could be implicitely crawled when a github VCS url is set but I don't believe it's the case.
To reproduce https://github.com/docdoku/docdoku-plm.git and start the analysis between 2018-01-01 and 2018-01-31 with bug metrics.
Notice there are results for issues created/updated/closed in the time span (replace created by the corresponding term in the query): https://github.com/docdoku/docdoku-plm/issues?utf8=%E2%9C%93&q=is%3Aissue+created%3A2018-01-01..2018-01-31+
Hello @mhow2, @ambpro,
No, the git reader (VCS) will only retrieve elements regarding code or commits. It will work for GitHub, GitLab, BitBucket, etc., but it will not analyze the bug tracker aspect, because as it names indicates, in only analyzes the vcs components. There is a separate reader for GitHub Issues, GitLab Issues. Internally, you're not aware of this because the importer is the one charged of creating both readers, one for BTS and one for VCS.
As well, in the case of the GitHub and Gitlab BTS reader, they do not have a connection to the token stored in Crossminer. As this element is retrieved at importation time.
@ambpro , @creat89 : so it's something missing in UI right ? Amin, I'm thinking about something depending on the time you have to implement : the "import" function in adminUI, instead of importing the project straight could present a pre-filled project creation form instead. It would allows one to add readers to a github/gitlab/eclipse project.
I have to say it again : currently it's not possible to create a project that is hosted on github. The only way is to use the import function but then it's not possible to add readers. This should be solved in some way.
I'll try to check this week the elements necessary to create a bts project. I don't remember if for github you need to add the URL or split the URL into owner and project. But in all the cases,, it would be minor the modifications in our side.
Thanks @creat89. The split thing might be needed for gitlab too.
Gitlab should be faster as I'm pretty sure that the input is the URL and I created the parsed not so long ago. But I let you know.
We need a way to provide the GitHub issue tracker URL when registering a new project by hand. (there is no button for it).
It is blocking when you need to set vcs, bts AND a communication channel for a project that is hosted on github or gitlab