diff --git a/.hecat.import.yml b/.hecat.import.yml new file mode 100644 index 0000000000..bd43305c4b --- /dev/null +++ b/.hecat.import.yml @@ -0,0 +1,6 @@ +steps: + - name: import awesome-selfhosted markdown to YAML + module: importers/markdown_awesome + module_options: + source_file: awesome-selfhosted/README.md + output_directory: ./ diff --git a/.hecat.process.yml b/.hecat.process.yml new file mode 100644 index 0000000000..b0ca6a7a03 --- /dev/null +++ b/.hecat.process.yml @@ -0,0 +1,12 @@ +steps: + - name: update metadata form Github API + module: processors/github_metadata + module_options: + source_directory: awesome-selfhosted-data + gh_metadata_only_missing: True + + - name: check data against awesome-selfhosted guidelines + module: processors/awesome_lint + module_options: + source_directory: ./ + items_in_delegate_to_fatal: False diff --git a/Makefile b/Makefile index bb98b21207..5a4c523d1f 100644 --- a/Makefile +++ b/Makefile @@ -15,12 +15,12 @@ import: install rm -rf tags/ software/ platforms/ mkdir -p tags/ software/ platforms/ source .venv/bin/activate && \ - hecat import --source-file awesome-selfhosted/README.md --output-directory ./ + hecat --config .hecat.import.yml .PHONY: process # apply automatic processing (gather github metadata) process: install source .venv/bin/activate && \ - hecat process --processors github_metadata --source-directory ./ --options=gh-metadata-only-missing + hecat --config .hecat.process.yml .PHONY: build # build markdown singlepage document from yaml data build: install