Changes

Jump to: navigation, search

GEPS 038: Enhanced Transaction Log

566 bytes added, 22:19, 23 August 2015
References
The system can be easily adapted so that:
* the database is NOT deletedon closing
* the stored data can be loaded back into the undo/redo system
However, the current database only stores the lowest Gramps undo info, and doesn't store:
# the transaction comment message
# No user entered message (like a git commit message)
== Considerations == # What happens if the Gramps data format changes at some point? JSON format may help to mitigate some changes. == Possible Enhancements ==
# 'a routine which restores a .gramps file and applies log file. This would bring a tree up to "current".' (RonJohn)
# store in human-readable, non-binary format (RonJohn)
## storage could be XML or JSON# database backend agnostic# persistent# should work even after an import (copy of imported file could be put into directory and time-stamped)# better UI to show diff, or at least summary of commit (eg, the following records were added: I0001, I0002, ...)# individual changes could be cherry-picked, perhaps, with checks# allow user comment, eg commit message
==References==
# https{{bug|8853}}: Human-readable database transaction log# [[File://grampspersistent-projectundo.org/bugs/viewpatch.php?id=8853zip]]
[[Category:GEPS|G]]
[[Category:Developers/Design]]

Navigation menu