Skip to content

Feat/glob filtering#2

Merged
sidisinsane merged 6 commits into
mainfrom
feat/glob-filtering
May 10, 2026
Merged

Feat/glob filtering#2
sidisinsane merged 6 commits into
mainfrom
feat/glob-filtering

Conversation

@sidisinsane
Copy link
Copy Markdown
Owner

Added

  • Glob filtering for generate. ScanDir now accepts include and
    exclude pattern slices and matches them against each file's path relative to
    the scanned directory using filepath.Match.

    • include — whitelist of patterns. Only matching .sh files are processed.
      Empty means include all.
    • exclude — blacklist of patterns. Matching files are skipped. Takes
      precedence over include.
    • Invalid patterns are silently ignored.
  • Documentation for filter fields in hashfm-agent/README.md (config example

    • field reference table).

Fixed

  • TSV generator line-break sanitisation. Descriptions containing embedded
    newlines (from folded/literal YAML scalars) are now collapsed into single
    spaces, restoring the one-entry-per-line TSV guarantee.

@sidisinsane sidisinsane merged commit fc554aa into main May 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant