Opened 2 years ago
Closed 2 years ago
#223 closed enhancement (implemented)
qvm-revert-template-changes tool
| Reported by: | joanna | Owned by: | marmarek |
|---|---|---|---|
| Priority: | major | Milestone: | Release 1 Beta 2 |
| Component: | core | Keywords: | |
| Cc: |
Description
Currently we do auto-commit for the template changes, so that whenever the user shuts down a template VM, all the changes are automatically committed.
However, it would actually be better if we could display a dialog box on template shutdown asking the user if he or she intends to commit or discard the changes just introduced to the template.
Change History (5)
comment:1 Changed 2 years ago by marmarek
comment:2 Changed 2 years ago by joanna
Hm, I don't think that originally there was a dialog box to confirm the changes... IIRC, originally the user had to do qvm-comit-template or press the comit button in the mamanger. Any of this was just too easy to forget about.
Anyway, perhaps doing the default commit, but also having such a rollback tool might be the best solution (plus a rollback button in the manager).
comment:3 Changed 2 years ago by marmarek
- Owner changed from joanna to marmarek
- Status changed from new to assigned
comment:4 Changed 2 years ago by joanna
- Summary changed from Ask user whether to commit template changes after template shutdown to qvm-revert-template-changes tool
Changes title to match what we agreed on above.
comment:5 Changed 2 years ago by marmarek
- Resolution set to implemented
- Status changed from assigned to closed

https://wiki.qubes-os.org/trac/ticket/96
Originally there was dialog box and this was bad. Now there is no dialog box and also this is bad...
I think there is another way to solve the true problem - easy way to rollback last changes. This can be separate tool (qvm-template-rollback) which will do the work (as described in full procedure some time ago in email).