Bug 11199 - Fetch.checkstatus() should work on git URIs
Summary: Fetch.checkstatus() should work on git URIs
Status: NEW
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-21 16:49 UTC by Ross Burton
Modified: 2026-06-11 15:17 UTC (History)
7 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 Ross Burton 2017-03-21 16:49:30 UTC
The git fetcher should implement checkstatus() so we can tell when the SRCREV we specify disappears, by doing a shallow clone or something for speed.
Comment 1 Ross Burton 2017-03-21 16:51:55 UTC
So we check the remote exists, but we don't check that the SRCREV exists.
Comment 2 Ross Burton 2017-03-21 17:11:28 UTC
Chin Kooi: this should be a simple introduction to bitbake for someone with good Python skills.
Comment 3 Maia Xiao 2022-07-05 18:10:49 UTC
I've sent in a patch for this as an attempt for a newcomer bug: 

https://lists.openembedded.org/g/bitbake-devel/message/13799
Comment 4 Randy MacLeod 2023-10-24 14:24:18 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 5 Randy MacLeod 2025-12-18 16:21:54 UTC
Ross, could you review the submitted patch please?