Skip to content

Adapter does not honor documented config settings for extracting release notes #25

@briandominick

Description

@briandominick

Problem

The RHYML::Adapter class lib/releasehx/rhyml/adapter.rb reads note_source and head_source from its configuration, but the published config schema offers conversions.note and conversions.head.

Because those values never populate note_source, the guard return unless note_source =~ /issue_body/i … always short-circuits and the configured conversions.note_pattern is never used.

Expected Behavior

  • Method extract_note! should derive its source from conversions.note property so that note_pattern can strip everything down to the intended “Release Note” section, however it is patterned.
  • The Adapter should honor the documented conversions config so users can customize how notes are captured.

Impact

No custom note_pattern ever runs, so release notes keep capturing the whole issue body even when the config provides a header-based regex.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions