Bug 15749

Summary: RECIPE_NO_UPDATE_REASON has no default value
Product: [Build System, Metadata & Runtime] OE-Core Reporter: kweihmann
Component: Scripts and ToolsAssignee: Unassigned <unassigned>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: richard.purdie, ross.burton
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description kweihmann 2025-02-16 10:12:49 UTC
RECIPE_NO_UPDATE_REASON used by recipeutils is lacking a default value

> bitbake-getvar RECIPE_NO_UPDATE_REASON

returns

> The variable 'RECIPE_NO_UPDATE_REASON' is not defined

Defining a default value instead of 'None' will also make the expected
return tuple of the functionality less ambiguous, as the return type would
be a string for all of the items
Comment 1 Richard Purdie 2025-02-17 12:50:04 UTC
As per several other bugs opened of this type, we are not adding default values for the sake of it.