Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s
CI / tests (pull_request) Successful in 6m34s
This commit is contained in:
@@ -6,7 +6,7 @@ import tempfile
|
||||
import typing
|
||||
|
||||
from do_epic.repo_pick import CLAUDE_LABEL, HUMAN_LABEL
|
||||
from loop_state.paths import CONFIG_FOLDER
|
||||
from loop_state.paths import config_folder, without_xdg_folders
|
||||
from project_config.settings import Epic, Finish
|
||||
from do_epic import epic_record, findings, finish
|
||||
from record_store.jira_description import EpicDescription
|
||||
@@ -56,7 +56,9 @@ class Machine:
|
||||
|
||||
|
||||
def machine_made(home: pathlib.Path, sandbox: Sandbox, launcher: pathlib.Path, env: typing.Mapping[str, str]) -> Machine | Failure:
|
||||
folder = home / CONFIG_FOLDER / "do-epic"
|
||||
# So that do-epic keeps its config and state under home.
|
||||
env = without_xdg_folders(env)
|
||||
folder = config_folder(env, home) / "do-epic"
|
||||
folder.mkdir(parents=True)
|
||||
ladder = read_ladder(SHIPPED)
|
||||
if isinstance(ladder, Failure):
|
||||
|
||||
Reference in New Issue
Block a user