Skip to content

InteractiveConfiguration: Add support for going back#285

Merged
chenxiaolong merged 1 commit into
masterfrom
back
May 14, 2026
Merged

InteractiveConfiguration: Add support for going back#285
chenxiaolong merged 1 commit into
masterfrom
back

Conversation

@chenxiaolong
Copy link
Copy Markdown
Owner

This is done by caching rclone's state for all previous questions and the answers submitted for them. Going backwards requires resubmitting the answer to the question before the previous question. For now, this works fine because rclone's state string is reusable. If that ever changes, we'll need to do an O(n) resubmission of every prior queestion each time the user tries to go back.

Closes: #284

@chenxiaolong chenxiaolong self-assigned this May 14, 2026
@chenxiaolong chenxiaolong force-pushed the back branch 2 times, most recently from eadbc68 to fe0c4a9 Compare May 14, 2026 04:13
This is done by caching rclone's state for all previous questions and
the answers submitted for them. Going backwards requires resubmitting
the answer to the question before the previous question. For now, this
works fine because rclone's state string is reusable. If that ever
changes, we'll need to do an O(n) resubmission of every prior queestion
each time the user tries to go back.

Closes: #284

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
chenxiaolong added a commit that referenced this pull request May 14, 2026
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong merged commit 97b2518 into master May 14, 2026
1 check passed
@chenxiaolong chenxiaolong deleted the back branch May 14, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improved configuration interface

1 participant