Skip to content

Exclude comments from recipe hash calculation in parseRecipe #79

@akritkbehera

Description

@akritkbehera

Description:

Comments in the recipe portion (after ---) are currently included when computing the package hash. Changing a comment triggers unnecessary rebuilds even though the actual build logic hasn't changed.
The full recipe including comment lines is stored in spec["recipe"] and used in hash calculation

Proposed Behavior

Strip comment lines (lines starting with #) from the recipe before storing, so that:

  • Comment-only changes don't alter the package hash
  • Rebuilds are only triggered by actual recipe logic changes
  • We can have comments in recipe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions