<?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>10322</bug_id>
          
          <creation_ts>2016-09-22 18:29:15 +0000</creation_ts>
          <short_desc>better way to grab layers and get them automatically batched by generating a bash script on the fly to do the tedious parts</short_desc>
          <delta_ts>2026-02-12 16:31:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Layer Index</product>
          <component>Layer Index</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.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>brian.avery</cc>
    
    <cc>liam.howlett</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66515</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-09-22 18:29:15 +0000</bug_when>
    <thetext>I&apos;d like to be able to hit a button to generate a bash script that will run the commands I need and dump a file that I can add to bblayers.

bash 
takes $1 as name of bblayers stub to dump out

# variables to describe the layer and the layer dependencies

###
# clone and switch branch to the branch I picked on the website for the layer.  
# Only reclone it if the layer isn&apos;t present . e.g. if I already did this for meta-python and am grabbing meta-networking don&apos;t re pull meta-openembedded...

###
# Do the same for the dependencies.

### walk the list and dump out a file with 
BBLAYERS += &quot; \
  &lt;dir we dumped in&gt;/meta-openembedded/meta-networking \
  &lt;dir we dumped in&gt;/meta-openembedded/meta-python \
...

This would be a very cli friendly way to grab a bunch of layers from layerindex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67844</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-11-01 22:42:52 +0000</bug_when>
    <thetext>Work is in progress on this.. There is no bash script, but a specific setup program that will setup a repo xml manifest based on the layer index.

Please wait until this work is published (hopefully soon) it may do what you want and more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71794</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-03-28 03:32:36 +0000</bug_when>
    <thetext>Moving this to 2.4 when we&apos;ll have a bit more time to look at the setup process in detail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87344</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-28 07:09:47 +0000</bug_when>
    <thetext>Think we did make some progress towards this but not sure if we&apos;re done yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96944</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:48 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98135</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-02-06 02:25:52 +0000</bug_when>
    <thetext>I think what is desired here is mostly covered by &quot;bitbake-layers layerindex-fetch&quot;

The rest of it will likely be covered -- in a standardized way -- by the new proposal:
https://lists.openembedded.org/g/openembedded-architecture/message/1913</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104273</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-12 16:31:12 +0000</bug_when>
    <thetext>bitbake-setup is now under active development (and a functional version has been available since 5.3 whinlatter). However, no layerindex integration has been planned/discussed yet. It is advised to do any such integration in the wrynose LTS timeframe, when bitbake-setup has had more time to be used/developed by a much larger audience.

Moving to 6.99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>