Route every read and write of the plan through plan_store and todo-item, which gains list, edit and move
CI / tests (pull_request) Failing after 2m13s

This commit is contained in:
2026-11-14 15:15:25 +01:00
parent a87b6cff98
commit 0ac8cad97f
35 changed files with 1088 additions and 421 deletions
-6
View File
@@ -27,9 +27,6 @@ BRANCH = "branch"
OPTIONAL = (BRANCH, COMMIT_TITLE, ENV_FILE, LANGUAGE, PULL_REQUEST_TITLE, WAIT_FOR_APPROVAL)
OUTSIDE = "a path that starts with / or ~/ and lies outside the checkout and the config's folder, so that no git remote receives the credentials"
# Where a project keeps a file, for a tool that reads it at a commit: a path from the checkout's top, as git names it; or, outside the checkout, the file itself, which the tool reads as it stands, since the checkout's commits hold no version of it.
Place = str | pathlib.Path
@dataclasses.dataclass(frozen=True)
class Unnamed(Failure):
@@ -65,9 +62,6 @@ class ProjectConfig:
path = self.paths[setting]
return path.relative_to(self.top).as_posix() if path.is_relative_to(self.top) else None
def place(self, setting: str) -> Place:
return self.tracked(setting) or self.paths[setting]
def load(top: pathlib.Path, main: pathlib.Path, home: pathlib.Path) -> ProjectConfig | Failure:
"""The config that names main, the project's main checkout.