Make get_repositories filter on the server side

Review Request #7817 — Created Dec. 21, 2015 and submitted — Latest diff uploaded

solarmist
RBTools
release-0.7.x
45585cc...
rbtools

Change the call to server.get_repositories to filter on the server side
based on the VCS type inside the clients.

We have over 3000 git repos in our instance (but significantly less SVN
repos) and have people working overseas from our RB instance causing
over 100 network call roundtrips. This reduces those extra calls to
the single digits.

I've tested manually by digging into the Rest API, code review, and
manual testing at LinkedIn. We have forked rbtools internally to deploy
this patch also.

Ran Unit tests:
Ran 167 tests in 39.185s
OK (SKIP=28)

Loading...