From e4a985821577b3ae4b4d1c413dca21e5ee5db15f Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Wed, 4 Aug 2021 12:04:06 -0500 Subject: codeburg --- mirror.py | 2 +- mirrors.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mirror.py b/mirror.py index e0f8e09..61f16b3 100644 --- a/mirror.py +++ b/mirror.py @@ -11,7 +11,7 @@ with open("mirrors.toml", "r") as f: for path in repositories.keys(): local_path = pathlib.Path("/git") / pathlib.Path(path) local_path.mkdir(exist_ok=True, parents=True) - secondary_urls = repositories[path]["secondary"] + secondary_urls = repositories[path]["remotes"] os.chdir(str(local_path)) subprocess.run(["git", "remote", "update"]) subprocess.run(["git", "fetch", "origin", "'*:*'"]) diff --git a/mirrors.toml b/mirrors.toml index c9b1e1f..60923fb 100644 --- a/mirrors.toml +++ b/mirrors.toml @@ -1,5 +1,5 @@ ["uw-madison-chem-shops/wisconsin-photoreactor.git"] -primary = "https://github.com/uw-madison-chem-shops/wisconsin-photoreactor.git" -secondary = ["git@gitlab.com:uw-madison-chem-shops/wisconsin-photoreactor.git", - ] +upstream = "https://github.com/uw-madison-chem-shops/wisconsin-photoreactor.git" +remotes = ["git@gitlab.com:uw-madison-chem-shops/wisconsin-photoreactor.git", + "git@codeberg.org:untzag/wisconsin-photoreactor.git"] -- cgit v1.2.3