Open marcinkowskak opened 7 months ago
@marcinkowskak that is ok, but still for setting hosts you need to add two different hosts. In the example above you are trying to add the same host, two times - and that is the reason of the error (see the message).
I understand you wish that you could add for one host repos
and for other orgs
? Or do you mean something else in this issue?
Yes, I want to scan whole organization and couple of chosen repos - here from public GitHub at once.
The other case was when I was trying to scan chosen repos from host A, and the whole org from host B, in both cases I was getting whole orgs - this is now fixed as I see in the #403
All right I got it. So, I created an issue I address in the PR right here #404 And this issue will be managed after release.
@marcinkowskak this feature you mention, would change a bit logic of setting searching scope. We have to think carefully, how to approach it, maybe instead of repos
and org
parameters it would be better to have scope
param.
I understand. We can leave it as it is now and get back to the subject later.
Let's assume we want to get information on repos in a manner below - whole organization and one chosen repository. We get the following error:
It would be nice to have more flexibility in that manner - as right now to get the result I want I need to create two GitStats objects.