<?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>13417</bug_id>
          
          <creation_ts>2019-06-20 20:43:25 +0000</creation_ts>
          <short_desc>Development manual coverage of devtool</short_desc>
          <delta_ts>2025-02-17 09:33:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>0.0.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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Antonin Godard">antonin.godard</assigned_to>
          <cc>adrian.freihofer</cc>
    
    <cc>mark.morton</cc>
    
    <cc>michael.opdenacker</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>srifenbark</cc>
    
    <cc>tim.orling</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>84297</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2019-06-20 20:43:25 +0000</bug_when>
    <thetext>After the de-duplication work done for bug 9566 I am concerned that we require users who aren&apos;t using the SDK to go and look at the SDK manual, and given that these days usage of devtool outside of the SDK is likely the more common case this is somewhat unnatural.

If we are to have it only in one place I would prefer it be the dev manual. Could we please move the generally applicable devtool documentation (starting from &quot;2.4.1. Use devtool add to Add an Application&quot; through to &quot;2.7. Restoring the Target Device to its Original State&quot;) to the dev manual, and then add pointers from the SDK manual to the relevant new section(s) in the dev manual?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85500</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2019-11-07 18:09:52 +0000</bug_when>
    <thetext>Paul, 

Yes - I will do this.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87033</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-04-16 07:42:43 +0000</bug_when>
    <thetext>Paul can you work with Mark Morton on this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100010</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-24 15:03:59 +0000</bug_when>
    <thetext>Bulk move of 5.1 M4 to 5.2 M2 as approved by AlexB.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100494</commentid>
    <comment_count>4</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2024-12-24 09:02:49 +0000</bug_when>
    <thetext>Hi,

I&apos;ve sent patches to address this:
https://lists.yoctoproject.org/g/docs/topic/patch_0_2_move_devtool_doc/110269598

Feel free to review and comment the patches.

Paul, compared to your initial plan, I&apos;ve just left the &quot;devtool ide-sdk&quot; section in the Extensible SDK documentation.

Antonin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100598</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian">adrian.freihofer</who>
    <bug_when>2025-01-09 21:51:06 +0000</bug_when>
    <thetext>Hi Antonin,

I think that devtool ide-sdk should be documented close to devtool modify or devtool deploy-target. It&apos;s just the most logical thing to do devtool modfiy and then devtool ide-sdk. Separating the sub-commands of devtool does not help from my point of view.

The question is perhaps also a bit about what users understand as an SDK or an extensible SDK. Is it one of the old eSDK installers or the newer ability to switch to different application developer workflows from any bitbake environment?

I can tell you that devtool ide-sdk has been developed with only the new bitbake environment based setup in mind. There is no technical argument why it should not work from an eSDK installer environment. But I did not even test that once. One of my main motivations for developing devtool ide-sdk was to get something which works without a populate_sdk(_ext) step. So it is definitely not more related to the eSDK in the sense of the old installer then all other features of devtool.

Therefore I think it would be better to move also the devtool ide-sdk section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100601</commentid>
    <comment_count>6</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2025-01-10 08:46:35 +0000</bug_when>
    <thetext>(In reply to Adrian from comment #5)
&gt; Hi Antonin,
&gt; 
&gt; I think that devtool ide-sdk should be documented close to devtool modify or
&gt; devtool deploy-target. It&apos;s just the most logical thing to do devtool modfiy
&gt; and then devtool ide-sdk. Separating the sub-commands of devtool does not
&gt; help from my point of view.
&gt; 
&gt; The question is perhaps also a bit about what users understand as an SDK or
&gt; an extensible SDK. Is it one of the old eSDK installers or the newer ability
&gt; to switch to different application developer workflows from any bitbake
&gt; environment?
&gt; 
&gt; I can tell you that devtool ide-sdk has been developed with only the new
&gt; bitbake environment based setup in mind. There is no technical argument why
&gt; it should not work from an eSDK installer environment. But I did not even
&gt; test that once. One of my main motivations for developing devtool ide-sdk
&gt; was to get something which works without a populate_sdk(_ext) step. So it is
&gt; definitely not more related to the eSDK in the sense of the old installer
&gt; then all other features of devtool.
&gt; 
&gt; Therefore I think it would be better to move also the devtool ide-sdk
&gt; section.

Hi Adrian,

I had never used ide-sdk before, so thanks for your input on this.
I might have been mislead by the current title for the section &quot;Configuring IDEs for the extensible SDK with ``devtool ide-sdk``&quot;. In the following paragraphs the ide-sdk functionality is used in the context of an eSDK. So if I were to move this, I would also need to rephrase some paragraphs to make it independent from the eSDK.
Since I don&apos;t have experience with the eSDK, I can try rephrasing in a new version of my series, but would appreciate your review. Even better if you got some time I would also take a patch from you for this.

Antonin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100603</commentid>
    <comment_count>7</comment_count>
    <who name="Adrian">adrian.freihofer</who>
    <bug_when>2025-01-10 13:05:14 +0000</bug_when>
    <thetext>Sure, I can do the rephrasing of the devtool ide-sdk section. But still the question for me is, what&apos;s the correct wording then?

This section https://docs.yoctoproject.org/sdk-manual/extensible.html#two-ways-to-install-the-extensible-sdk kind of introduces a wording like &quot;extensible SDK&quot; = &quot;Yocto cross-toolchain, sysroots and related tools&quot;. It does not matter if the SDK is bootstrapped directly from the bitbake environment (e.g. by calling devtool ide-sdk) or via populate_sdk_ext and installing the installer. That&apos;s the wording which I used for the current devtool ide-sdk section.

Before this section was added to the manual the wording was probably more like &quot;Extensible SDK&quot; = &quot;The eSDK-installer&quot;.

To avoid such kind of confusion I can try to update https://docs.yoctoproject.org/sdk-manual/extensible.html#devtool-ide-sdk-configures-ides-for-the-extensible-sdk like this:

- Replace the term &quot;extensible SDK&quot; by &quot;SDK&quot;
- Change with an initial paragraph to something like this:

2.4.3 devtool ide-sdk configures IDEs for the SDKs

devtool ide-sdk automatically configures IDEs to use the SDK. To ensure that all the parts that make up the SDK (cross-toolchain, sysroots, native tools and more) are available, devtool ide-sdk assembles the SDK with the help of bitbake before it generates the IDE configuration.

The Yocto SDKs basically support two different development modes. devtool ide-sdk supports both of them:
...

By the way, this discussion reminds my that I should probably send a patch which actively disables the devtool ide-sdk plugin if devtool runs from an installer based setup (context.fixed_setup is True). At least the shared mode will not work without a few extra lines of code and also the modified mode is not tested. I will probably actively remove the support for the eSDK installer and also mention this in the documentation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101107</commentid>
    <comment_count>8</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2025-02-17 09:33:51 +0000</bug_when>
    <thetext>Hi,

This was done with commit https://git.yoctoproject.org/yocto-docs/commit/?id=044d3185b858fce1febcfe3a6834b883f9a598fa.

Moving to Resolved fixed.

Antonin</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>