<?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>8953</bug_id>
          
          <creation_ts>2016-01-20 10:43:00 +0000</creation_ts>
          <short_desc>Toaster ignores the subdirectory when cloning imported layers</short_desc>
          <delta_ts>2016-10-25 11:17:34 +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>Toaster</product>
          <component>toaster</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</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>57980</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-01-20 10:43:00 +0000</bug_when>
    <thetext>Steps to reproduce:

1. Create a Toaster project
2. Import a layer with the following details

name: meta-sdr-test
git url: git://github.com/balister
subdirectory: meta-sdr
revision: master

3. Build something from the imported layer, for example, rtl-sdr

The build will fail at the cloning stage with this error:

 command: git clone &quot;git://github.com/balister&quot; &quot;/home/yocto/master/_toaster_clones/_git___github.com_balister_master&quot; 
Cloning into &apos;/home/yocto/master/_toaster_clones/_git___github.com_balister_master&apos;...
fatal: remote error: 
  Repository not found.

4. Go to the meta-sdr-test layer details page. Delete the subdirectory and set the git url to git://github.com/balister/meta-sdr

5. Run again the rtl-sdr build

The meta-sdr-test layer will be cloned without problems. It looks like Toaster is ignoring the subdirectory information when trying to clone the layer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57985</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-01-20 12:01:25 +0000</bug_when>
    <thetext>After playing a bit more with this I&apos;ve discovered that this won&apos;t clone:

name: meta-sdr-test
git url: git://github.com/balister
subdirectory: meta-sdr
revision: master

But this:

name: openembedded-core-test
git url: git://git.openembedded.org/openembedded-core
subdirectory: meta
revision: master

and this:

name: meta-oe-test
git url: git://git.openembedded.org/meta-openembedded
subdirectory: meta-oe
revision: master

will clone without problems. Now I am not sure what&apos;s going on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67523</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2016-10-25 11:17:34 +0000</bug_when>
    <thetext>Looking at git://github.com/balister it&apos;s not the correct git url for the layer which would be the problem here. There is no subdir the correct git url is git://github.com/balister/meta-sdr</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>