Answer prose round 1: 0 🔴, 4 🟡 (0 misread); say what holds under an XDG variable in the decision and the path comments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""do-epic's machine-wide settings: `~/.config/build-release/do-epic/config.toml`, and `repo-rule.md` beside it.
|
||||
"""do-epic's machine-wide settings: `do-epic/config.toml` in the config folder (`loop_state.paths.config_folder`), and `repo-rule.md` beside it.
|
||||
|
||||
One pair per machine, the same for every epic (docs/decisions.md → `do-epic: drives one Jira epic …`). The config is TOML:
|
||||
|
||||
@@ -12,7 +12,7 @@ One pair per machine, the same for every epic (docs/decisions.md → `do-epic: d
|
||||
twu-4 = "tenant-web-ui-4"
|
||||
|
||||
- `jira-url` is the Jira site's address: https, a host, and no path.
|
||||
- `env-file` is the file of Jira credentials: a path that starts with / or ~/, outside every folder of `~/.config/build-release` and outside the clone folder, which hold git checkouts. `~/.config/build-release/<key>.env` is fine.
|
||||
- `env-file` is the file of Jira credentials: a path that starts with / or ~/, outside every folder of the config folder and outside the clone folder, which hold git checkouts. `<key>.env` in the config folder itself is fine.
|
||||
- `repoless-model` is the model that works an epic item with no repo: a model on the routing ladder, `model_routing/routing-ladder.json`.
|
||||
- `clone-folder` is the folder a missing repo is cloned into: a path that starts with / or ~/. `~/code` where left out.
|
||||
- `language` is the default language of Jira text, by its English name. English where left out.
|
||||
@@ -66,7 +66,7 @@ LISTED = f"The settings are {', '.join(SETTINGS)}, and optionally {listed(OPTION
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class DoEpicConfig:
|
||||
"""folder is `~/.config/build-release/do-epic`; repo_rule is `repo-rule.md`'s text."""
|
||||
"""folder is `do-epic` in the config folder; repo_rule is `repo-rule.md`'s text."""
|
||||
folder: pathlib.Path
|
||||
jira_url: str
|
||||
env_file: pathlib.Path
|
||||
|
||||
@@ -18,7 +18,7 @@ from chunk_pr.approval import PARKS
|
||||
from loop_state.paths import state_folder
|
||||
from agent_cycle import tmux
|
||||
|
||||
# In the state folder, where a folder per epic key holds the epic's lock file, which `claims.LOCK` names. A chunk without a repo works there.
|
||||
# The folder in the state folder where a folder per epic key holds the epic's lock file, which `claims.LOCK` names. A chunk without a repo works there.
|
||||
STATE = "do-epic"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user