Rename do-epic to build-epic, with no alias, and its config folder with it
CI / tests (pull_request) Successful in 4m34s

This commit is contained in:
2026-12-03 22:35:13 +01:00
parent e6b025caaa
commit cded873730
100 changed files with 919 additions and 910 deletions
+7 -7
View File
@@ -54,8 +54,8 @@ class LoadTest(ConfigCase):
self.assertEqual(found.paths["standards"], self.home / ".claude" / "skills" / "larv-review" / "standards")
self.assertEqual(tuple(found.paths), SETTINGS)
def test_the_do_epic_folder_is_no_projects_config_so_it_needs_no_checkout(self) -> None:
self.write("do-epic", 'jira-url = "https://acme.atlassian.net"\n')
def test_the_build_epic_folder_is_no_projects_config_so_it_needs_no_checkout(self) -> None:
self.write("build-epic", 'jira-url = "https://acme.atlassian.net"\n')
self.write("acme", CLIENT)
found = load(self.checkout, self.checkout, self.home, {})
assert isinstance(found, ProjectConfig), found
@@ -639,8 +639,8 @@ class HeldTest(ConfigCase):
(elsewhere / "config.toml").write_text(CLIENT, encoding="utf-8")
self.assertIsNone(held(elsewhere, self.home, {}), "a config.toml outside ~/.config/build-release/")
def test_the_do_epic_folder_holds_no_projects_config(self) -> None:
folder = self.write("do-epic", CLIENT)
def test_the_build_epic_folder_holds_no_projects_config(self) -> None:
folder = self.write("build-epic", CLIENT)
self.assertIsNone(held(folder, self.home, {}))
def test_a_configs_folder_reached_through_a_symlink_holds_its_config(self) -> None:
@@ -663,7 +663,7 @@ class ByNameTest(ConfigCase):
self.write("acme", CLIENT)
self.assertIsNone(by_name("billing", self.home, {}), "a part of a name is not the name")
self.assertIsNone(by_name("acme", self.home, {}), "a config's key is not a repo's name")
self.assertIsNone(by_name("do-epic", self.home, {}))
self.assertIsNone(by_name("build-epic", self.home, {}))
def test_fails_where_two_configs_name_a_checkout_of_that_name(self) -> None:
self.write("acme", CLIENT)
@@ -686,8 +686,8 @@ class EnvFilesTest(ConfigCase):
self.write("none", CLIENT)
self.assertEqual(env_files(self.home, {}), [self.home / "acme.env", pathlib.Path("/srv/other.env")])
def test_lists_do_epics_env_file_though_its_config_names_no_checkout(self) -> None:
self.write("do-epic", 'env-file = "~/jira.env"\n')
def test_lists_build_epics_env_file_though_its_config_names_no_checkout(self) -> None:
self.write("build-epic", 'env-file = "~/jira.env"\n')
self.assertEqual(env_files(self.home, {}), [self.home / "jira.env"])