<?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>6059</bug_id>
          
          <creation_ts>2014-03-27 15:11:41 +0000</creation_ts>
          <short_desc>Add mechanism to define how class should be used</short_desc>
          <delta_ts>2023-10-19 15:06: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>OE-Core</product>
          <component>core</component>
          <version>1.7</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>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>41860</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-27 15:11:41 +0000</bug_when>
    <thetext>Classes can be inherited globally or per-recipe, and some classes are suitable for one and not the other. We should have a way of identifying in the class when that is the case and showing a coherent error when the class is used incorrectly. (There are also standard classes that the system already inherits at the right point which the user should not try to inherit themselves.)

This will require adding the mechanism and then adding the definitions to each class as appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85197</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-10-03 15:23:08 +0000</bug_when>
    <thetext>I do have basics of some patches for this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96746</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-10-19 15:06:29 +0000</bug_when>
    <thetext>oe-core f5c128008365e141082c129417eb72d2751e8045 split the classes into classes-global and classes-recipe.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>