<?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>8008</bug_id>
          
          <creation_ts>2015-07-15 09:32:06 +0000</creation_ts>
          <short_desc>Expose branch mapping through the layer index UI</short_desc>
          <delta_ts>2024-01-04 17:12:07 +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>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.0</target_milestone>
          
          <blocked>7792</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>akuster</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>mingli.yu</cc>
    
    <cc>randy.macleod</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>52387</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-15 09:32:06 +0000</bug_when>
    <thetext>At the moment we rely on individual layers having a branch that matches the name of the release branch (e.g. fido) for it to show up as being compatible with a particular release; however that doesn&apos;t always match reality; e.g. meta-angstrom has branch names that correspond with its releases. We have the ability to map branch names in the database but this is not exposed in the UI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85938</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-12-22 20:53:27 +0000</bug_when>
    <thetext>isn&apos;t this done?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85955</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2019-12-22 22:26:26 +0000</bug_when>
    <thetext>No, it isn&apos;t. You still have to be an admin to be able to see/change this through the admin interface.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86430</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2020-02-13 16:16:16 +0000</bug_when>
    <thetext>think this if fixed via

http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?id=8501a6da40e733fcbda5d23d3f70628bb005d6ff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86434</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-02-13 16:24:29 +0000</bug_when>
    <thetext>Not yet fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96657</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-10-07 17:37:53 +0000</bug_when>
    <thetext>The actual_branch field is only available in the admin UI. We need to expose this to the layer maintainer UI such that a layer can be edited and a specific Branch can be mapped to the actual_branch for the LayerBranch object.

e.g. if a layer has a kirkstone-1.2.3 versioned branch, the layer maintainer should be able to set actual_branch=kirkstone-1.2.3 for the meta-layer:kirkstone LayerBranch object.

Some layers have multiple branches which are compatible with a given release. This is out of scope for the design of layerindex-web. Only one layer will be mapped to one branch (only one unique LayerBranch object). It is up to the layer maintainer to decide which one they prefer to be mapped. If a product wants versioned layers, it should create new Layer objects with the version in the name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97715</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-12-30 05:47:19 +0000</bug_when>
    <thetext>https://patchwork.yoctoproject.org/project/yocto/patch/083c23476450ea85e7d3f4a4aff4bb619c7b59fb.1703911977.git.tim.orling@konsulko.com/

There may be additional behavior that needs to be added after this has been in use for a while, but most likely that will be tracked in new bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97733</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-01-04 17:12:07 +0000</bug_when>
    <thetext>Merged in:
https://git.yoctoproject.org/layerindex-web/commit/?id=b361715cc43a0939a577f126dfb7276ee6b956be

and enhanced in:
https://git.yoctoproject.org/layerindex-web/commit/?id=b0af957ac734b76bc7cc2b45b0beb1cde74df0a6

meta-qt6 is an example of a layer that exposes this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>