chore: move repositories to GovOPlaN organization
This commit is contained in:
@@ -28,23 +28,23 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
bootstrap = load_bootstrap_module()
|
||||
|
||||
self.assertEqual(
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
bootstrap.clone_remote(
|
||||
"git@git.add-ideas.de:add-ideas/govoplan-core.git",
|
||||
"git@git.add-ideas.de:GovOPlaN/govoplan-core.git",
|
||||
transport=bootstrap.PUBLIC_HTTPS_TRANSPORT,
|
||||
),
|
||||
)
|
||||
self.assertEqual(
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
bootstrap.clone_remote(
|
||||
"ssh://git@git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"ssh://git@git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
transport=bootstrap.PUBLIC_HTTPS_TRANSPORT,
|
||||
),
|
||||
)
|
||||
self.assertEqual(
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
bootstrap.clone_remote(
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
transport=bootstrap.PUBLIC_HTTPS_TRANSPORT,
|
||||
),
|
||||
)
|
||||
@@ -65,12 +65,12 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
bootstrap = load_bootstrap_module()
|
||||
|
||||
unsafe_remotes = (
|
||||
"git@example.test:add-ideas/govoplan-core.git",
|
||||
"https://token@git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de:443/add-ideas/govoplan-core.git",
|
||||
"git@example.test:GovOPlaN/govoplan-core.git",
|
||||
"https://token@git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
"https://git.add-ideas.de:443/GovOPlaN/govoplan-core.git",
|
||||
"https://git.add-ideas.de/add-ideas/../govoplan-core.git",
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git?ref=main",
|
||||
"ssh://root@git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git?ref=main",
|
||||
"ssh://root@git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
)
|
||||
for remote in unsafe_remotes:
|
||||
with self.subTest(remote=remote), self.assertRaises(ValueError):
|
||||
@@ -95,7 +95,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
"path": "govoplan-core",
|
||||
"remote": (
|
||||
"git@git.add-ideas.de:"
|
||||
"add-ideas/govoplan-core.git"
|
||||
"GovOPlaN/govoplan-core.git"
|
||||
),
|
||||
}
|
||||
],
|
||||
@@ -124,7 +124,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
"credential.helper=",
|
||||
"clone",
|
||||
"--",
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
str(parent / "govoplan-core"),
|
||||
],
|
||||
check=True,
|
||||
@@ -150,7 +150,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
"path": "govoplan-core",
|
||||
"remote": (
|
||||
"git@git.add-ideas.de:"
|
||||
"add-ideas/govoplan-core.git"
|
||||
"GovOPlaN/govoplan-core.git"
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -241,7 +241,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
"name": name,
|
||||
"path": name,
|
||||
"remote": (
|
||||
"git@git.add-ideas.de:add-ideas/"
|
||||
"git@git.add-ideas.de:GovOPlaN/"
|
||||
f"{name}.git"
|
||||
),
|
||||
}
|
||||
@@ -272,7 +272,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
self.assertEqual(0, status)
|
||||
runner.assert_called_once()
|
||||
self.assertEqual(
|
||||
"https://git.add-ideas.de/add-ideas/govoplan-core.git",
|
||||
"https://git.add-ideas.de/GovOPlaN/govoplan-core.git",
|
||||
runner.call_args.args[0][-2],
|
||||
)
|
||||
|
||||
@@ -292,7 +292,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
"path": "govoplan-core",
|
||||
"remote": (
|
||||
"git@git.add-ideas.de:"
|
||||
"add-ideas/govoplan-core.git"
|
||||
"GovOPlaN/govoplan-core.git"
|
||||
),
|
||||
}
|
||||
],
|
||||
@@ -334,7 +334,7 @@ class RepositoryBootstrapTests(unittest.TestCase):
|
||||
"path": "govoplan-core",
|
||||
"remote": (
|
||||
"git@git.add-ideas.de:"
|
||||
"add-ideas/govoplan-core.git"
|
||||
"GovOPlaN/govoplan-core.git"
|
||||
),
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user