diff options
author | Blaise Thompson <blaise@untzag.com> | 2021-08-04 12:04:06 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2021-08-04 12:04:06 -0500 |
commit | e4a985821577b3ae4b4d1c413dca21e5ee5db15f (patch) | |
tree | 329aabd284916de67fd703d7d417d1ff5f682ddc | |
parent | 0b903ed4d2fd68d6e892c1bb60d1f15c4a788554 (diff) |
codeburg
-rw-r--r-- | mirror.py | 2 | ||||
-rw-r--r-- | mirrors.toml | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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"] |