Infer values and allow command line overrides of values in genweb.yml
#44
Labels
enhancement
New feature or request
Milestone
genweb.yml
#44
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)artifacts directory
for*.ged
and load the latest (printing out the full path we are using)metadata
directory 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.yml
in the root of theartifacts directory
Variables we cannot infer (pass on the command line or specify in the
genweb.yml
file)artifacts_dir
. We will search in this directory for inferred files/directories above.Proposed Directory Structure
Pass
artifacts_dir
(formerlybinaries_dir
) andsite_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)The text was updated successfully, but these errors were encountered: