[CODESEARCH] Rework how --git option works 11/122411/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 2 Jul 2021 09:00:30 +0000 (11:00 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 2 Jul 2021 09:10:16 +0000 (11:10 +0200)
commit1fc7d0ad7f255601816bd0112e5da2f04069dfed
tree2a5e72be6668155f2e2931903efc1e07f585212b
parentd671e65bde10a92b58d40a50229ec28a5a75ee69
[CODESEARCH] Rework how --git option works

"--git" will not only affect the "base-url" in Hound config for
code browser but also the "url" for the repository clone string.
This is the most sane behavior as git protocol is the most efficient
one in terms of speed.

"git" and "ssh" options are also set to be mutually exclusie as
according to the above change using git protocol based clone and
passing ssh credentials would not make sense as git protocol does
not support any kind of authentication.

Change-Id: I9897bc2aec2707ca4ed7543b1576686fb8e2b2da
Issue-ID: INT-1940
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
bootstrap/codesearch/create_config.py