| |
@@ -99,12 +99,14 @@
|
| |
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"""
|
| |