When repo_store is a distributed filesystem, putting a Unix socket in it
is at best somewhat confusing. Add an optional hookrpc_path
configuration option so that the charm can decide to put it somewhere
else.
git 2.13 changed receive-pack to deduplicate refs between the current
repository and its alternate object stores, which broke
InitTestCase.test_clone_with_refs. This test just cares about checking
that the alternate object store is set up correctly, so tweak it a
little to ensure that it isn't affected by this deduplication.
git 2.13 changed receive-pack to deduplicate refs between the current
repository and its alternate object stores, which broke
InitTestCase.test_clone_with_refs. This test just cares about checking
that the alternate object store is set up correctly, so tweak it a
little to ensure that it isn't affected by this deduplication.
When repo_store is a distributed filesystem, putting a Unix socket in it
is at best somewhat confusing. Add an optional hookrpc_path
configuration option so that the charm can decide to put it somewhere
else.
If port numbers are read from the environment (which TurnipConfig
supports), then they will be strings rather than ints. Convert them to
ints to avoid crashing in this case.