Purge cannot be run without a terminal to answer at #54

Open
opened 2026-08-15 19:00:00 +00:00 by rosa · 0 comments
Owner

Purging asks about each file before taking it, which is right for a player at a
terminal and impossible for anything else — a script, or a machine with no
terminal to ask at, cannot get through it.

A flag that answers yes to every question up front would cover that. It came up
while planning the config work as a way to test purge end to end, and was turned
down for that purpose: purge's decisions are asserted as a plan, so the flag
would have been a feature invented to serve a test rather than a player.

As a feature in its own right it stands on its own merits, which is why it is
here separately. Worth deciding whether anyone actually drives this from a
script before building it.

Blocked by

  • None — can start immediately.
Purging asks about each file before taking it, which is right for a player at a terminal and impossible for anything else — a script, or a machine with no terminal to ask at, cannot get through it. A flag that answers yes to every question up front would cover that. It came up while planning the config work as a way to test purge end to end, and was turned down for that purpose: purge's decisions are asserted as a plan, so the flag would have been a feature invented to serve a test rather than a player. As a feature in its own right it stands on its own merits, which is why it is here separately. Worth deciding whether anyone actually drives this from a script before building it. ## Blocked by - None — can start immediately.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rosa/casino#54
No description provided.