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.
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 calculationProposed Behavior
Strip comment lines (lines starting with #) from the recipe before storing, so that: