Skip to content

Rewrite backup system #1299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Variable-ind
Copy link
Contributor

@Variable-ind Variable-ind commented Jul 6, 2025

The new system keeps backups of upto 20 last sessions (older session backups get removed)
This is basically the LifeSaver extension, integrated to core.

(some other related fixes i found while integrating):

  • fixed Global.popup_error(tr("File failed to save. Error code %s (%s)") % [err, error_string(err)]) accidentally placed after return instead of before.
  • removed duplicate occurrences of "user://backups" to a single variable (which should be less prone to bugs)

Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you!

@OverloadedOrama OverloadedOrama merged commit a434510 into Orama-Interactive:master Jul 9, 2025
4 checks passed
@Variable-ind Variable-ind deleted the rework-backup-system branch July 11, 2025 04:45
OverloadedOrama added a commit that referenced this pull request Jul 15, 2025
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.

2 participants