We specify several variables in ~/.devopsdriver/genweb.yml (Linux path). These could be inferred or overridden by passing them on the command line.
We should also move the people-identifier folders under a root-level folder called people.
Variables we can infer (or pass on the command line or set in the genweb.yml file)
- gedcom_path: If this is not specified, we should search the
artifacts directory for *.ged and load the latest (printing out the full path we are using)
- metadata_yaml: There should be a
metadata directory at the root that contains Yaml files that can be concatenated (alphabetically sorted). Should be formatted like metadata 2024-09-01.yml. This will allow us to have multiple, smaller Yaml files and contents of the latest Yaml file would take precedence over "older" named files.
- alias_path: File named
aliases.yml in the root of the artifacts directory
Variables we cannot infer (pass on the command line or specify in the genweb.yml file)
- site_dir: This is the output dir.
- binaries_dir: This should be
artifacts_dir. We will search in this directory for inferred files/directories above.
Proposed Directory Structure
Pass artifacts_dir (formerly binaries_dir) and site_dir on command line, or in ~/.devopsdriver/genweb.yml.
%artifacts_dir%/
artifacts/ (recommended, but not required, location for pictures, movies, mini-websites, etc.)
export 2024-02-01.ged (name doesn't matter, latest modified *.ged in %artifacts_dir% is used)
aliases.yml (name actually matters)
metadata/
2024-02-08 Original.yml (the original metadata file)
2024-06-10 Updates.yml (updates since the original, values take precedence over original)
2024-09-16 Updates.yml (most recent updates. Names don't matter other than sortable and highest sorted takes precedence)
%site_dir%/
export 2024-02-01.ged (just a copy from %artifacts_dir%/)
aliases.yml (just a copy from %artifacts_dir%/)
metadata/
2024-02-08 Original.yml (just a copy from %artifacts_dir%/)
2024-06-10 Updates.yml (just a copy from %artifacts_dir%/)
2024-09-16 Updates.yml (just a copy from %artifacts_dir%/)
people/ (people moved deeper to clean up root dir)
SmithJohnE2004JonesSalleyF1978/ (people-id folders exist here)
We specify several variables in
~/.devopsdriver/genweb.yml(Linux path). These could be inferred or overridden by passing them on the command line.We should also move the people-identifier folders under a root-level folder called
people.Variables we can infer (or pass on the command line or set in the
genweb.ymlfile)artifacts directoryfor*.gedand load the latest (printing out the full path we are using)metadatadirectory at the root that contains Yaml files that can be concatenated (alphabetically sorted). Should be formatted likemetadata 2024-09-01.yml. This will allow us to have multiple, smaller Yaml files and contents of the latest Yaml file would take precedence over "older" named files.aliases.ymlin the root of theartifacts directoryVariables we cannot infer (pass on the command line or specify in the
genweb.ymlfile)artifacts_dir. We will search in this directory for inferred files/directories above.Proposed Directory Structure
Pass
artifacts_dir(formerlybinaries_dir) andsite_diron command line, or in~/.devopsdriver/genweb.yml.%artifacts_dir%/artifacts/(recommended, but not required, location for pictures, movies, mini-websites, etc.)export 2024-02-01.ged(name doesn't matter, latest modified*.gedin%artifacts_dir%is used)aliases.yml(name actually matters)metadata/2024-02-08 Original.yml(the original metadata file)2024-06-10 Updates.yml(updates since the original, values take precedence over original)2024-09-16 Updates.yml(most recent updates. Names don't matter other than sortable and highest sorted takes precedence)%site_dir%/export 2024-02-01.ged(just a copy from%artifacts_dir%/)aliases.yml(just a copy from%artifacts_dir%/)metadata/2024-02-08 Original.yml(just a copy from%artifacts_dir%/)2024-06-10 Updates.yml(just a copy from%artifacts_dir%/)2024-09-16 Updates.yml(just a copy from%artifacts_dir%/)people/(people moved deeper to clean up root dir)SmithJohnE2004JonesSalleyF1978/(people-id folders exist here)