<?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>16149</bug_id>
          
          <creation_ts>2026-01-26 08:51:55 +0000</creation_ts>
          <short_desc>bitbake-setup: multiple remotes specified in config should create a single multi-remote repository</short_desc>
          <delta_ts>2026-05-28 13:16:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antonin Godard">antonin.godard</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>paul</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>104067</commentid>
    <comment_count>0</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-01-26 08:51:55 +0000</bug_when>
    <thetext>When specifying the following &quot;sources&quot; configuration:

    &quot;sources&quot;: {
        &quot;bitbake&quot;: {
            &quot;git-remote&quot;: {
                &quot;remotes&quot;: {
                    &quot;contrib&quot;: {
                        &quot;uri&quot;: &quot;https://git.openembedded.org/bitbake-contrib&quot;
                    },
                    &quot;origin&quot;: {
                        &quot;uri&quot;: &quot;https://git.openembedded.org/bitbake&quot;
                    }
                },
                &quot;branch&quot;: &quot;master&quot;,
                &quot;rev&quot;: &quot;master&quot;
            }
        }

At the moment, the last entry in &quot;remotes&quot; is cloned and the repository contains a single remote.

One would probably expect a single repository to be created with multiple remotes? Up for discussion, maybe this property could be used differently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104126</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2026-01-30 10:33:29 +0000</bug_when>
    <thetext>This spec with multiple remotes was designed before bitbake-setup, and particularly before the idea to use bitbake&apos;s git fetcher to handle git repos. Alas, the fetcher simply does not support this: you can&apos;t have multiple remotes all unpacked into the same directory.

To be honest I&apos;m also not sure if there&apos;s really a use case: if you want multiple remotes, it&apos;s typically when one of them is upstream, and another a private/company fork, so that you can do local development on it. For that, bitbake-setup has local sources and -L.

There&apos;s also an upcoming patchset which simplifies this, and allows replacing the whole &apos;remotes&apos; dictionary with a single &apos;uri&apos;:&apos;where&apos; property.

I&apos;ll add myself to CC, but for now this needs further discussion, and is NEEDINFO/no assignee.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105610</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-05-28 13:16:29 +0000</bug_when>
    <thetext>Bulk move of 6.0 Medium bugs to 6.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>