Bug 15748

Summary: UPSTREAM_CHECK_COMMITS, UPSTREAM_CHECK_GITTAGREGEX, UPSTREAM_VERSION_UNKNOWN not documented
Product: [Build System, Metadata & Runtime] BitBake Reporter: kweihmann
Component: bitbakeAssignee: Antonin Godard <antonin.godard>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: niqingliang2003, poky.bs.watcher, poky.watcher, randy.macleod
Version: unspecified   
Target Milestone: 6.99   
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:11:16 UTC
UPSTREAM_CHECK_COMMITS, UPSTREAM_CHECK_GITTAGREGEX and UPSTREAM_VERSION_UNKNOWN used by recipeutils is lacking a default value

> bitbake-getvar UPSTREAM_CHECK_COMMITS

returns

> The variable 'UPSTREAM_CHECK_COMMITS' is not defined

Most of the code does something like "d.getVar("UPSTREAM_CHECK_COMMITS") == "1":",
so having a sane default (e.g. empty value) will not impact functionality
Comment 1 niqingliang2003 2025-10-28 05:14:54 UTC
with BB_FETCH_PREMIRRORONLY and local git mirror repository
Comment 2 niqingliang2003 2025-10-28 05:15:52 UTC
sorry, got error bug id