Bug 7891 - perforce.py cannot handle single files
Summary: perforce.py cannot handle single files
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-15 07:49 UTC by Helmut Auer
Modified: 2015-06-27 21:53 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Fixes fetching single files (430 bytes, application/octet-stream)
2015-06-15 07:49 UTC, Helmut Auer
no flags Details
Corrected version of patch (430 bytes, application/octet-stream)
2015-06-26 12:28 UTC, Helmut Auer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Auer 2015-06-15 07:49:33 UTC
Created attachment 2548 [details]
Fixes fetching single files

Hello
When fetching directories via p4 src_uri everything's fine, but fetching single files does not work.
The attached patch fixes the issue.
Comment 1 Richard Purdie 2015-06-26 10:56:39 UTC
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.
Comment 2 Helmut Auer 2015-06-26 12:28:24 UTC
Created attachment 2563 [details]
Corrected version of patch

Old patch was the reversed one :(
Comment 3 Helmut Auer 2015-06-26 12:29:19 UTC
Hi
Sorry my fault, the attached patch was the reversed one, this one is correct now.
Regards
Helmut