<?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>7891</bug_id>
          
          <creation_ts>2015-06-15 07:49:33 +0000</creation_ts>
          <short_desc>perforce.py cannot handle single files</short_desc>
          <delta_ts>2015-06-27 21:53: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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</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>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Helmut Auer">helmut.auer</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <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>51687</commentid>
    <comment_count>0</comment_count>
      <attachid>2548</attachid>
    <who name="Helmut Auer">helmut.auer</who>
    <bug_when>2015-06-15 07:49:33 +0000</bug_when>
    <thetext>Created attachment 2548
Fixes fetching single files

Hello
When fetching directories via p4 src_uri everything&apos;s fine, but fetching single files does not work.
The attached patch fixes the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51957</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-26 10:56:39 +0000</bug_when>
    <thetext>The odd thing is if I look at the fetcher in bitbake, this patch has already been applied, the code already does what you describe. Have you some local changes which introduced this problem?

Closing as invalid since the code already does what you describe as far as I can tell. Please reopen if there is a valid patch needed against master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51959</commentid>
    <comment_count>2</comment_count>
      <attachid>2563</attachid>
    <who name="Helmut Auer">helmut.auer</who>
    <bug_when>2015-06-26 12:28:24 +0000</bug_when>
    <thetext>Created attachment 2563
Corrected version of patch

Old patch was the reversed one :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51960</commentid>
    <comment_count>3</comment_count>
    <who name="Helmut Auer">helmut.auer</who>
    <bug_when>2015-06-26 12:29:19 +0000</bug_when>
    <thetext>Hi
Sorry my fault, the attached patch was the reversed one, this one is correct now.
Regards
Helmut</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51973</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-27 21:53:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3836d9b4ab0c74985195b9af58b1bd95bc0b6726</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2548</attachid>
            <date>2015-06-15 07:49:33 +0000</date>
            <delta_ts>2015-06-26 12:28:24 +0000</delta_ts>
            <desc>Fixes fetching single files</desc>
            <filename>perforce.patch</filename>
            <type>application/octet-stream</type>
            <size>430</size>
            <attacher name="Helmut Auer">helmut.auer</attacher>
            
              <data encoding="base64">LS0tIC4uL3Bva3kvYml0YmFrZS9saWIvYmIvZmV0Y2gyL3BlcmZvcmNlLnB5ICAgICAgICAyMDE1
LTA2LTEyIDEzOjUzOjM5LjM5ODY4MTU5NCArMDAwMAorKysgLi4vcG9reS9iaXRiYWtlL2xpYi9i
Yi9mZXRjaDIvcGVyZm9yY2UucHkgICAgICAyMDE1LTA2LTE1IDA3OjE1OjU0LjExNzExMzQzNyAr
MDAwMApAQCAtMTIzLDcgKzEyMyw3IEBACiAgICAgICAgIGlmIGRlcG90LmZpbmQoJy8uLi4nKSAh
PSAtMToKICAgICAgICAgICAgIHBhdGggPSBkZXBvdFs6ZGVwb3QuZmluZCgnLy4uLicpXQogICAg
ICAgICBlbHNlOgotICAgICAgICAgICAgcGF0aCA9IGRlcG90WzpkZXBvdC5yZmluZCgnLycpXQor
ICAgICAgICAgICAgcGF0aCA9IGRlcG90CgogICAgICAgICBtb2R1bGUgPSBwYXJtLmdldCgnbW9k
dWxlJywgb3MucGF0aC5iYXNlbmFtZShwYXRoKSkKCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2563</attachid>
            <date>2015-06-26 12:28:24 +0000</date>
            <delta_ts>2015-06-26 12:28:24 +0000</delta_ts>
            <desc>Corrected version of patch</desc>
            <filename>perforce.patch</filename>
            <type>application/octet-stream</type>
            <size>430</size>
            <attacher name="Helmut Auer">helmut.auer</attacher>
            
              <data encoding="base64">LS0tIC4uL3Bva3kvYml0YmFrZS9saWIvYmIvZmV0Y2gyL3BlcmZvcmNlLnB5ICAgICAgICAyMDE1
LTA2LTEyIDEzOjUzOjM5LjM5ODY4MTU5NCArMDAwMAorKysgLi4vcG9reS9iaXRiYWtlL2xpYi9i
Yi9mZXRjaDIvcGVyZm9yY2UucHkgICAgICAyMDE1LTA2LTE1IDA3OjE1OjU0LjExNzExMzQzNyAr
MDAwMApAQCAtMTIzLDcgKzEyMyw3IEBACiAgICAgICAgIGlmIGRlcG90LmZpbmQoJy8uLi4nKSAh
PSAtMToKICAgICAgICAgICAgIHBhdGggPSBkZXBvdFs6ZGVwb3QuZmluZCgnLy4uLicpXQogICAg
ICAgICBlbHNlOgotICAgICAgICAgICAgcGF0aCA9IGRlcG90CisgICAgICAgICAgICBwYXRoID0g
ZGVwb3RbOmRlcG90LnJmaW5kKCcvJyldCgogICAgICAgICBtb2R1bGUgPSBwYXJtLmdldCgnbW9k
dWxlJywgb3MucGF0aC5iYXNlbmFtZShwYXRoKSkKCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>