<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14498</bug_id>
          
          <creation_ts>2021-08-04 10:56:41 +0000</creation_ts>
          <short_desc>Document SRCREV_* variable when multiple source controlled URLs are in SRC_URI</short_desc>
          <delta_ts>2025-11-27 08:37:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Variables Glossary</product>
          <component>variables-glossary</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Quentin Schulz">foss+yocto</reporter>
          <assigned_to name="Adam Blank">adam.blank.g</assigned_to>
          <cc>adam.blank.g</cc>
    
    <cc>antonin.godard</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>simone.p.weiss</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91096</commentid>
    <comment_count>0</comment_count>
    <who name="Quentin Schulz">foss+yocto</who>
    <bug_when>2021-08-04 10:56:41 +0000</bug_when>
    <thetext>SRC_URI = &quot; \                                                                      
           git://some-git-repo;name=foo \                                                                                                                                                                                                     
           git://some-other-git-repo;name=bar \                                 
           &quot;                                                                    
                                                                                
SRCREV_foo = &quot;abcdef1234567890&quot;                                                 
SRCREV_bar = &quot;1234567890abcdef&quot;  

Note that SRCREV_FORMAT needs to be defined in that case.

This is used in e.g. openembedded-core/recipes-kernel/linux/linux-yocto_5.4.bb

SRCREV_machine_&lt;override&gt;= &quot;yyy&quot;
SRCREV_meta = &quot;xxx&quot;

SRCREV_FORMAT ?= &quot;meta_machine&quot; in openembedded-core/classes/kernel-yocto.bbclass

bitbake/lib/bb/fetch2/__init__.py seems to be the code handling that logic.

Documentation was expected in bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst apparently too, c.f. &quot;We need to document ``AUTOREV`` and ``SRCREV_FORMAT`` here.&quot; so we could do that at the same time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91102</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-08-04 13:34:12 +0000</bug_when>
    <thetext>Thanks for the suggestion and for the details!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101837</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-05-01 14:07:11 +0000</bug_when>
    <thetext>Bulk move of all unassigned 5.2 medium importance bugs to 5.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102988</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Blank">adam.blank.g</who>
    <bug_when>2025-10-17 10:24:16 +0000</bug_when>
    <thetext>Patch posted: https://lists.openembedded.org/g/bitbake-devel/topic/patch_doc/115804997

Changing the status to &quot;IN PROGRESS REVIEW&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103391</commentid>
    <comment_count>4</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2025-11-27 08:37:18 +0000</bug_when>
    <thetext>Hello,

This was merged and reviewed: https://git.openembedded.org/bitbake/commit/?id=fbf0a8c5711f56bd64ae4c9d2c1d5ba884508c9f

Moving to Resolved Fixed.

Thanks for the patch Adam!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>