nodiscc / hecat

Generic automation tool around data stored as plaintext YAML files
GNU General Public License v3.0
29 stars 5 forks source link

importers/markdown_awesome: don't split long lines in YAML output #103

Closed nodiscc closed 1 year ago

nodiscc commented 1 year ago

https://github.com/awesome-selfhosted/awesome-selfhosted-data/blob/master/software/flagsmith.yml

Current:

description: Flagsmith provides a dashboard, API and SDKs for adding Feature Flags
  to your applications. Alternative to LaunchDarkly.

Expected:

description: Flagsmith provides a dashboard, API and SDKs for adding Feature Flags to your applications. Alternative to LaunchDarkly.
nodiscc commented 1 year ago

The problem is only reproducible when hecat runs through github actions. When run locally, no line wrapping occurs:

$ make clone_awesome_selfhosted test_import_awesome_selfhosted && cat awesome-selfhosted-data/software/flagsmith.yml
name: Flagsmith
website_url: https://flagsmith.com
description: Flagsmith provides a dashboard, API and SDKs for adding Feature Flags to your applications. Alternative to LaunchDarkly.
licenses:
  - BSD-3-Clause
platforms:
  - Docker
tags:
  - Miscellaneous
source_code_url: https://github.com/flagsmith/flagsmith