← Older edit
Newer edit →
Addon:Database Differences Report
1,879 bytes added
22:18, 13 July 2020
add detail about items not included in the report, add note about effect of automatic corrections on a DB comparison
* help button
shows the Reports help
, but it doesn't currently include the Database Differences Report information.
(Gramps 5.1.2 with Database Differences Report 1.0.19)
The Database Differences Report is focused on the principle elements of the Database.
There are a number of other types of 'metadata' that are not examined during the Database Differences Report.
* custom types
* gender name maps
* base path for media
* surname mapping for the "Group As" surname feature
Some of these 'metadata' are not 'regular' in the way they are stored, comparing them would be a fair amount of additional code work.
Also note that some of the 'metadata' would be difficult to compare because they are not stored in the XML files, but rather in the Gramps initialization files.
==Note regarding older backup files==
In the past Gramps allowed data to be input in ways that are no longer allowed. When you import an older backup file, many of these issues are silently corrected for you. For example, Gramps used to allow leading and trailing spaces in name fields. Gramps now removes the leading and trailing white space when the data is entered.
The Database Differences Report performs it's work by creating a temporary Database and importing the backup file that you specified. A side effect of this is that if your Gramps DB has been around for a long time, it may still contain things that are not currently allowed. But the comparison will be done against the backup file that has all of those issues fixed. Each has the potential of showing up as a difference, but on examination they look the same. It is quite hard to see those leading/training spaces.
There are 2 solutions:
* backup your database, create a new empty DB and import backup you just made, then go ahead with the report.
* run the "Clean input data" tool on your DB, then do the report.
Retrieved from "
Contributor help pages
Gramps Github site