Rename do-epic to build-epic, with no alias, and its config folder with it
CI / tests (pull_request) Successful in 4m34s
CI / tests (pull_request) Successful in 4m34s
This commit is contained in:
@@ -136,11 +136,11 @@ def start_chunks(loop_run: LoopRun, leaving: bool, paths: Paths, env: typing.Map
|
||||
|
||||
|
||||
def refusal(session: str, windows: list[tmux.Listed], root: str, run: tmux.Tmux) -> Failure | None:
|
||||
"""Why no chunk of the checkout root may start in session, whose windows are windows: another checkout's chunks run in the session, or do-epic runs chunks in root."""
|
||||
"""Why no chunk of the checkout root may start in session, whose windows are windows: another checkout's chunks run in the session, or build-epic runs chunks in root."""
|
||||
if windows and (owned := tmux.owner(session, run)) != root:
|
||||
return Failure(f"the tmux session {session} runs the chunks of {owned or 'another checkout'}, whose key maps to the same session name; rename one of the two checkouts' folders")
|
||||
if theirs := epic_chunks(root, run):
|
||||
return Failure(f"do-epic runs chunks in {root}: {', '.join(f'{placed.window.name} of {placed.session}' for placed in theirs)}; build-release doesn't start a chunk there until those chunks finish")
|
||||
return Failure(f"build-epic runs chunks in {root}: {', '.join(f'{placed.window.name} of {placed.session}' for placed in theirs)}; build-release doesn't start a chunk there until those chunks finish")
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user