Add adminUrl to replication for repository creation
Adds a new option to replication.config: adminUrl to be used
as a ssh alternative to the url option, but only related to
repository creation. If not specified, the repository creation
tries to follow the default way through the url value.
It is useful when remote.<name>.url protocols does not allow
repository creation although their usage are mandatory in the
local environment. In that case, an alternative ssh url could
be specified to repository creation.
Directly set the alternative adminUrl to the default url wouldn't
completely solve the problem because many access through
ssh protocol may be problematic in some environments.
An example of this is when you want the replication to be done
over the git protocol, which does not support repository creation.
In order for Gerrit to create the repositories on that replication
server it is now possible to provide an AdminURL that contains the
ssh protocol.
2 files changed