Skip to content

several scripts: add update / restore function#15230

Draft
MickLesk wants to merge 4 commits into
mainfrom
feat/create-backup-rollout
Draft

several scripts: add update / restore function#15230
MickLesk wants to merge 4 commits into
mainfrom
feat/create-backup-rollout

Conversation

@MickLesk

Copy link
Copy Markdown
Member

✍️ Description

🔗 Related Issue

Fixes #

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to script metadata (PocketBase/website data).
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

MickLesk and others added 4 commits June 19, 2026 22:47
Arm create_backup with an ERR trap, add clear_update_backup, and ship a CI checker for update scripts that mutate config without backups.

Co-authored-by: Cursor <cursoragent@cursor.com>
Summarize how many CT update_script blocks still need backup migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace ad-hoc mv/cp .bak patterns with create_backup/restore_backup across
58 update scripts so failed updates can roll back via the shared ERR trap.

Co-authored-by: Cursor <cursoragent@cursor.com>
Manually standardize 52 more update scripts with clear backup/restore
patterns, including multi-path and post-build restore timing where needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added feature update script A change that updates a script labels Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature update script A change that updates a script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants