Skip to content

An attempt to help my dad to update his family tree data, possibly involving my descent into madness

License

Notifications You must be signed in to change notification settings

quandram/descent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

descent

An attempt to help my dad to update his family tree data, possibly involving my descent into madness.

This is written to allow me to take GEDCOM files from two, fairly archaic, programs and update them to be a viable import for more modern software.

This isn't good code, it is written to solve a particular problem If you have the same or similar problem... good luck!

The problem

  • My dad originally used the DOS based Pedigree back in the early 90's I think.
  • He then "updated" to ScionPC
  • Some, now unknown, middle step was used as you can't directly import the GEDCOM output of Pedigree to ScionPC
  • Somewhere in that process data got lost

Thankfully, he didn't get rid of anything so nothing, I think, actually got lost. Just misplaced.

Solution

  • Pick a modern tool, I went for Gramps, as the import target.
  • Find some third party tool to do most of the heavy lifting. Thanks Python Gedcom Parser
  • Write a number of scripts to do distinct jobs to try and get to the goal.

Requirements

  • python -m venv {path-to-venv}
  • source {path-to-venv}/bin/activate
  • Python Gedcom Parser
    • This repo feels abandoned but it is absolutely good enough for our purposes
    • The pip package is outdated but cloning the repo and importing that gives us what we need
    • {path-to-venv}/bin/pip install {path-to-cloned-python-gedcom}

Scripts

  1. convert-to-utf8.py Simple conversion script as the initial Pedigree output isn't UTF-8
  2. pre-processor.py Just enough hackery to allow the parser to open the input file
  3. updater.py Line by line updating of the GEDCOM file
  4. aligner.py Reorder a GEDCOM file to make it easy to compare two versions in some other tool like meld or WinMerge

About

An attempt to help my dad to update his family tree data, possibly involving my descent into madness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages