<?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>11136</bug_id>
          
          <creation_ts>2017-03-08 19:46:41 +0000</creation_ts>
          <short_desc>devtool: Being able to change a devtool generated recipe from git to a tagged version</short_desc>
          <delta_ts>2017-04-07 16:39:46 +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>Scripts and Tools</component>
          <version>unspecified</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>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Behan Webster">behanw</reporter>
          <assigned_to name="Behan Webster">behanw</assigned_to>
          <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>71148</commentid>
    <comment_count>0</comment_count>
    <who name="Behan Webster">behanw</who>
    <bug_when>2017-03-08 19:46:41 +0000</bug_when>
    <thetext>If you generate a recipe with devtool using a raw git repo without specifying a tag at &quot;Devtool add&quot; time you can&apos;t then change the name of the recipe nor update SRC_URI after the fact. The only way to do this is to start over again by specifying the tag when you do the add.

It would be nice to be able to transition a git/HEAD recipe to a tag, or branch version of the recipe without starting over.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71182</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-03-09 19:28:25 +0000</bug_when>
    <thetext>So in master for the upcoming release, devtool does have a rename subcommand that lets you change the name and/or version portion of the filename, updating any references to these. It won&apos;t set branch= or SRCREV but those you can set in the recipe after the fact without any adverse effects.

Does that meet with your expectations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71728</commentid>
    <comment_count>2</comment_count>
    <who name="Behan Webster">behanw</who>
    <bug_when>2017-03-24 19:04:25 +0000</bug_when>
    <thetext>Excellent. That&apos;s all I was hoping for anyways. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>