From aca22e4b68f79b8b9cebf576405ca994cf521347 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mar 10 2020 17:22:39 +0000 Subject: Do not clone using ssh, since this make testing harder --- diff --git a/build.py b/build.py index e16c3b8..634de20 100755 --- a/build.py +++ b/build.py @@ -99,12 +99,14 @@ def clone_translated_source(): print("* clone_translated_source") repo_dir = os.path.dirname(os.path.abspath(__file__)) + "/translated-sources/" - url = "ssh://git@pagure.io/fedora-docs/translated-sources.git" + url = "https://pagure.io/fedora-docs/translated-sources.git" if os.path.exists(repo_dir): subprocess.run(['git', 'pull'], check=True, cwd=repo_dir) else: - subprocess.run(["git", "clone", url, repo_dir], check=True) + subprocess.run(["git", "clone", url, repo_dir, "--config", + "remote.origin.pushurl=ssh://git@pagure.io/fedora-docs-l10n/translated-sources.git" + ], check=True) def commit_translated_source(): """Commit translated sources"""