Bug 15748 - UPSTREAM_CHECK_COMMITS, UPSTREAM_CHECK_GITTAGREGEX, UPSTREAM_VERSION_UNKNOWN not documented
Summary: UPSTREAM_CHECK_COMMITS, UPSTREAM_CHECK_GITTAGREGEX, UPSTREAM_VERSION_UNKNOWN ...
Status: NEW
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.99
Assignee: Antonin Godard
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-02-16 10:11 UTC by kweihmann
Modified: 2025-12-05 15:27 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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