Thank you Paul, I will wait and see if Andrew Bradford can kindly have a look at this.
Cheers, Katu 2017-08-02 9:28 GMT+01:00 Paul Eggleton <paul.eggle...@linux.intel.com>: > Hi Katu, > > Andrew Bradford (on CC) was the last person to make significant changes to > that module. I believe it's not very widely used - none of the recipes we > commonly deal with make use of it and thus few of us have enough experience > with it to give good advice. If Andrew doesn't have any ideas, the code > shouldn't be too hard to follow and we will accept patches (particularly if > they are accompanied with a good explanation of why the change is needed in > the commit message). > > Cheers, > Paul > > On Wednesday, 2 August 2017 9:40:10 AM CEST Katu Txakur wrote: > > Hi, > > > > I'm still having problems fetching from Perforce. Is there any > > documentation based on the latest implementation of the > > poky/bitbake/lib/bb/fetch2/perforce.py file? > > The copyright 2016 points to Kodak Alaris, Inc. Should I contact them? > > > > I would appreciate if someone could point me in the right direction. > > > > Regards, > > Katu > > > > 2017-07-25 10:05 GMT+01:00 Katu Txakur <katutxaku...@gmail.com>: > > > > > Hi, > > > > > > I'm upgrading a recipe that fetches the source code from Perforce. > > > > > > The old recipe was: > > > > > > SRC_URI = " \ > > > p4://${P4USER}:${P4PASSWD}:${P4HOST}:${P4PORT}@Depot/path/pe > > > rforce/...;module=local/path/relativeto/p4;label=${P4CHANGELIST} \ > > > " > > > > > > With the new version of /lib/bb/fetch2/perforce.py, I had to set P4PORT > > > outside SRC_URI, leaving the recipe with: > > > > > > SRC_URI = " \ > > > p4://${P4USER}:${P4PASSWD}@Depot/path/perforce/...;module= > > > local/path/relativeto/p4;label=${P4CHANGELIST} \ > > > " > > > > > > The Perforce fetcher kind of works, but it seems to be ignoring the > > > "module" and the "label" attributes. After reading the Python script I > can > > > see that after the "@", only the substring before the first ";" is > used. > > > > > > Is there a way to set module and label/changelist? I have several > folders > > > per recipe that I need to map to different subfolders and with the > current > > > script some of the folders don't get fetched. > > > > > > Thanks for your time. > > > > > > Regards, > > > Katu > > > > > > > > -- > > Paul Eggleton > Intel Open Source Technology Centre >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto