open-sdg / sdg-build

Python package to convert SDG-related data and metadata between formats
MIT License
5 stars 23 forks source link

New automated metadata fields for Git dates (only) #244

Closed brockfanning closed 3 years ago

brockfanning commented 3 years ago

Fixes https://github.com/open-sdg/open-sdg/issues/1051

Note: This adds new metadata fields called "national_data_last_updated" and "national_metadata_last_updated", and automatically sets them with the Git date (only). The old fields will continue to be populated, for backwards compatibility. To use the new field and remove the old fields, users will need to change their metadata schema (eg, _prose.yml), like so:

Remove these:

Add these: