<?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>8079</bug_id>
          
          <creation_ts>2015-07-30 12:22:35 +0000</creation_ts>
          <short_desc>Improve migration guide</short_desc>
          <delta_ts>2016-03-14 10:07:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>18 Jan 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52725</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-07-30 12:22:35 +0000</bug_when>
    <thetext>The migration notes are extremely helpful when updating to a newer version of the core metadata, however I&apos;ve observed several people watch their layers explode and not know where to start.

A big cause of that in recent releases is that the gcc compiler suite has been getting increasingly strict with each release and it would be extremely useful to help migrators adopt the newer gcc with less pain.

For example the stricter checks often result in updates to various recipes during development and these could be linked from the migration guide to give an example of the changes in the compiler and potential approaches to addressing those changes.

At the very least it would be helpful to users to point to the GCC &quot;migrating to&quot; guides i.e. https://gcc.gnu.org/gcc-5/porting_to.html

A more general solution might be to provide links to upstream changelogs, when provided, with a &quot;highlights&quot; section pointing out those changes most likely to cause issues when migrating from a previous release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54172</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-16 18:23:20 +0000</bug_when>
    <thetext>Hi Joshua, 

Good points on the section for migration.  I am adding Paul Eggleton to the bug CC list as Paul in the past has drafted the migration section.  Hopefully we can get some of these improvements in as a standard for that section when going to a new release.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54457</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-22 15:04:20 +0000</bug_when>
    <thetext>Assuming I have information, I can get the desired enhancements into this part of the ref-manual in a day.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56095</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-11-02 15:41:38 +0000</bug_when>
    <thetext>We missed the porting guide out of the migration info - my apologies; I&apos;ve asked Scott to add that. We probably should have linked to some more examples, but I think we may be out of time.

Regarding linking to upstream changelogs, that&apos;s a great idea and one I&apos;ve thought about myself; the challenge would be coping with all of the different ways upstream projects provide some of that information; unfortunately not all of it is web-accessible (e.g. it&apos;s only provided in a file inside the release tarball). We&apos;d probably need to add some metadata to each recipe and then have a script that would collect it all together in an HTML document, or at least HTMLise the ones that don&apos;t provide the information in web-accessible form so they can be uploaded and then linked to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57654</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-01-07 19:43:35 +0000</bug_when>
    <thetext>Looking back on this bug (going deep through my in-box) and I see that we did get a reference to the porting guide in the migration section of the ref-manual (http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#migration-2.0-gcc-5).

For this bug, do we call it good for the docs?  Or, do we keep it open in hopes of doing some of the things mentioned in Joshua&apos;s initial post and Paul&apos;s Comment 3?

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57868</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-01-15 15:41:56 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Looking back on this bug (going deep through my in-box) and I see that we
&gt; did get a reference to the porting guide in the migration section of the
&gt; ref-manual
&gt; (http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#migration-2.
&gt; 0-gcc-5).
&gt; 
&gt; For this bug, do we call it good for the docs?  Or, do we keep it open in
&gt; hopes of doing some of the things mentioned in Joshua&apos;s initial post and
&gt; Paul&apos;s Comment 3?

I&apos;m OK with resolving this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57929</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-01-18 18:10:38 +0000</bug_when>
    <thetext>Marking RESOLVED and setting the doc flag to &quot;done&quot;.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59927</commentid>
    <comment_count>7</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-03-14 10:00:58 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>