<?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>11393</bug_id>
          
          <creation_ts>2017-04-20 04:10:21 +0000</creation_ts>
          <short_desc>recipetool: create: handle git URLs specifying only a tag</short_desc>
          <delta_ts>2018-01-03 05:46:52 +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>2.2</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.5 M1</target_milestone>
          <dependson>11389</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Rebecca Chang">rebecca.swee.fun.chang</assigned_to>
          <cc>brianx.j.kurle</cc>
    
    <cc>ee.peng.yeoh</cc>
    
    <cc>nagarajagopalx.velu</cc>
    
    <cc>rebecca.swee.fun.chang</cc>
    
    <cc>ross.burton</cc>
    
    <cc>shashwatx.pandey</cc>
    
    <cc>wmills</cc>
          
          <qa_contact name="Shashwat Pandey">shashwatx.pandey</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72699</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-04-20 04:10:21 +0000</bug_when>
    <thetext>If you specify tag= for a git URL passed to recipetool create, assuming the tag is valid we should just handle that correctly instead of producing a somewhat unhelpful error:

------------- snip -------------
$ devtool add --version 2.4.2 mbedtls &quot;git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2&quot;
NOTE: Fetching git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2...
ERROR: Fetcher failure: Conflicting revisions (AUTOINC from SRCREV and mbedtls-2.4.2 from the url) found, please specify one valid value
ERROR: Command &apos;script -e -q -c &quot;recipetool --color=always create --devtool -o /tmp/devtooluvbysixx &apos;git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2&apos;  -x /home/paul/poky/poky/build/workspace/sources/devtoolsrcmo5rjnrp -N mbedtls -V 2.4.2&quot; /dev/null&apos; failed
------------- snip -------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75175</commentid>
    <comment_count>1</comment_count>
    <who name="Stanley Phoong">stanley.cheong.kwan.phoong</who>
    <bug_when>2017-07-20 03:29:29 +0000</bug_when>
    <thetext>Submitted into mailing list for merging:
http://lists.openembedded.org/pipermail/openembedded-core/2017-July/139867.html
http://lists.openembedded.org/pipermail/openembedded-core/2017-July/139868.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75181</commentid>
    <comment_count>2</comment_count>
    <who name="Stanley Phoong">stanley.cheong.kwan.phoong</who>
    <bug_when>2017-07-20 12:19:41 +0000</bug_when>
    <thetext>Re-submitted into mailing list under patch series together with patch dependencies
http://lists.openembedded.org/pipermail/openembedded-core/2017-July/139885.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76076</commentid>
    <comment_count>3</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-08-23 08:16:25 +0000</bug_when>
    <thetext>OE-Core rev: 3afdcbdc9a3e65bc925ec61717784ffec67d529d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77535</commentid>
    <comment_count>4</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-10-12 01:58:50 +0000</bug_when>
    <thetext>Issue still valid with devtool.
Please check/verify using the command recommended in description.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78190</commentid>
    <comment_count>5</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-11-14 02:30:07 +0000</bug_when>
    <thetext>[RFC] Propose implementation by dropping &quot;tag=&quot; from SRC_URI.

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rebeccas/11393-recipetool-tag&amp;id=442fe6a8d5aceca70e0f9c135ac727d60608f950</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78208</commentid>
    <comment_count>6</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-11-15 02:38:25 +0000</bug_when>
    <thetext>Pushed patch to mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2017-November/144422.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78734</commentid>
    <comment_count>7</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-12-19 06:43:30 +0000</bug_when>
    <thetext>OE-Core rev: 53f8effa3eb07dc7035ff9933e7918318f242579
Poky rev: 05bcd72f9f6fb89d853a74d6fbb7becdfb06db84</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78876</commentid>
    <comment_count>8</comment_count>
    <who name="Shashwat Pandey">shashwatx.pandey</who>
    <bug_when>2018-01-03 05:46:52 +0000</bug_when>
    <thetext>Verified, issue is fixed. 

Verification Logs: 

$ devtool add --version 2.4.2 mbedtls 
&quot;git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2&quot;

NOTE: Starting bitbake server...
NOTE: Creating workspace layer in /workdir/build/workspace
NOTE: Starting bitbake server...
NOTE: Fetching git://github.com/ARMmbed/mbedtls;nobranch=1...
Parsing recipes: 100% |############################################################################################################################################################| Time: 0:00:02
Parsing of 804 .bb files complete (0 cached, 804 parsed). 1254 targets, 37 skipped, 0 masked, 0 errors.
Removing 41 recipes from the x86_64 sysroot: 100% |################################################################################################################################| Time: 0:00:33
Removing 5 recipes from the allarch sysroot: 100% |################################################################################################################################| Time: 0:00:06
Removing 102 recipes from the core2-64 sysroot: 100% |#############################################################################################################################| Time: 0:04:49
Removing 108 recipes from the genericx86-64 sysroot: 100% |########################################################################################################################| Time: 0:00:31
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;x86_64-poky-linux&quot;
MACHINE              = &quot;genericx86-64&quot;
DISTRO               = &quot;poky-lsb&quot;
DISTRO_VERSION       = &quot;2.4+snapshot-20180102&quot;
TUNE_FEATURES        = &quot;m64 core2&quot;
TARGET_FPU           = &quot;&quot;
meta
meta-poky
meta-yocto-bsp       = &quot;master:d18003726f561bab2ab07acf16baee074da37cdc&quot;
workspace            = &quot;&lt;unknown&gt;:&lt;unknown&gt;&quot;

Initialising tasks: 100% |#########################################################################################################################################################| Time: 0:00:00
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
NOTE: Using default source tree path /workdir/build/workspace/sources/mbedtls
NOTE: Starting bitbake server...
NOTE: Recipe /workdir/build/workspace/recipes/mbedtls/mbedtls_git.bb has been automatically created; further editing may be required to make it fully functional</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>