<?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>14759</bug_id>
          
          <creation_ts>2022-03-12 06:16:47 +0000</creation_ts>
          <short_desc>toaster: automation to generate fixture files</short_desc>
          <delta_ts>2022-03-21 20:58:43 +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>Toaster</product>
          <component>toaster</component>
          <version>4.0</version>
          <rep_platform>x86</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>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>4.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Reyna">david.reyna</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          
          
          <qa_contact name="Toaster default assignee">toaster</qa_contact>
          <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>92776</commentid>
    <comment_count>0</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2022-03-12 06:16:47 +0000</bug_when>
    <thetext>For each release the Toaster fixture files must be updated to remove older releases and add the new ones. Hand editing these XML files is very error prone, especially given the tight dependencies between the entries and shared indexes. 

A new python script has been created the generate these fixture files from a table. 

Usage:
  $ cd bitbake/lib/orm/fixtures
  $ vi gen_fixtures.py
  &lt;update the &apos;current_releases&apos; table&gt;
  $ ./gen_fixtures.py --all

The &apos;poky.xml&apos; and &apos;oe-core.xml&apos; files are now updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92828</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2022-03-21 20:58:43 +0000</bug_when>
    <thetext>Pushed.

Commit: b6a535068dadbc6540c6f5cf49cb9fba777fe727</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>