Skip to content
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

Renaming a request leads to old request not being deleted from filesystem #12

Open
APIWT opened this issue Sep 21, 2021 · 0 comments
Open

Comments

@APIWT
Copy link
Contributor

APIWT commented Sep 21, 2021

The new non-flat file format for workbooks has a bug where it leaves any old request data behind (for example, after renaming a request).

I propose that we do the following when a workbook is being saved:

  • Create a temporary backup of everything in <workbook>/.backup/
  • Delete everything other than the backup (workbook.json and folders directory)
  • Create new data

We can encourage people to add .backup directories to their .gitignore

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

No branches or pull requests

1 participant