convertToCatalogInfo - Generate catalog-info.yaml for a given array of items from landscape.yml
getMetadataSummary - Print the summary of common and unique properties of a given array of items from landscape.yml
TODOs
getMetadataSummary - write functions to get summaries for each category and output them into a report file. Once the summary is comprehensive, it could be used to surface which properties have become common across all items in a category (or if a new item is missing properties that were otherwise marked common previously)
convertToCatalogInfo - we're not converting all items in landscape.yml into entities because not all items are alike so we're going to do them category-by-category. in order to take this approach, we'll want to surface the filter functions and entity spec templates to make it easier to use
Create a new github actions workflow to run on cron to run all three functions and create a PR based on if there are any new changes/items
Currently the
landscape-yaml-parser
library can do the following:convertLandscapeYamlToJson
- Convert the contents oflandscape.yml
into a JSON filegenerated/
directoryconvertToCatalogInfo
- Generatecatalog-info.yaml
for a given array of items fromlandscape.yml
getMetadataSummary
- Print the summary of common and unique properties of a given array of items fromlandscape.yml
TODOs
getMetadataSummary
- write functions to get summaries for each category and output them into a report file. Once the summary is comprehensive, it could be used to surface which properties have become common across all items in a category (or if a new item is missing properties that were otherwise marked common previously)convertToCatalogInfo
- we're not converting all items inlandscape.yml
into entities because not all items are alike so we're going to do them category-by-category. in order to take this approach, we'll want to surface the filter functions and entity spec templates to make it easier to use