<?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>7637</bug_id>
          
          <creation_ts>2015-04-21 13:44:31 +0000</creation_ts>
          <short_desc>devtool: add: interactive recipe creation</short_desc>
          <delta_ts>2025-03-19 17:34:19 +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>devtools / tool chain</component>
          <version>1.8</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>  </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</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>50443</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-21 13:44:31 +0000</bug_when>
    <thetext>At the moment, devtool add (actually recipetool create since devtool add wraps around that) only examines the source code when creating a recipe for a source tree, and does so non-interactively, expecting the user to fix up the recipe afterwards. We could improve the utility of this function significantly by creating an interactive process which does the following:

1) Guide the user through filling in any missing information for the recipe (license, dependencies, configure arguments, do_configure/do_compile/do_install for makefile-based software, etc.)

2) Offer the ability to enable additional functionality, e.g. classes such as useradd, update-rc.d, systemd, etc.

This should be implemented in such a way that we can offer this through the Eclipse plugin as well as on the command-line - i.e. there needs to be an API abstraction for actually presenting the UI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52281</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-10 11:01:26 +0000</bug_when>
    <thetext>Just to be clear, this bug covers only the backend / console level implementation of this functionality, not also the Eclipse integration - but we need to consider how Eclipse might be able to call into the code in order to provide a front end to the process.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>