All of lore.kernel.org
 help / color / mirror / Atom feed
* Perforce fetcher ignores module and label
@ 2017-07-25  9:05 Katu Txakur
  2017-08-02  7:40 ` Katu Txakur
  0 siblings, 1 reply; 15+ messages in thread
From: Katu Txakur @ 2017-07-25  9:05 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

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/
perforce/...;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

[-- Attachment #2: Type: text/html, Size: 1224 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Perforce fetcher ignores module and label
@ 2017-07-06 14:24 Katu Txakur
  0 siblings, 0 replies; 15+ messages in thread
From: Katu Txakur @ 2017-07-06 14:24 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

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/perforce/...;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

[-- Attachment #2: Type: text/html, Size: 1179 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-09-18 15:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25  9:05 Perforce fetcher ignores module and label Katu Txakur
2017-08-02  7:40 ` Katu Txakur
2017-08-02  8:28   ` Paul Eggleton
2017-08-02  9:51     ` Katu Txakur
2017-08-07 11:17     ` Andrew Bradford
     [not found]       ` <CAM1ZcoX7ee=hCBYqWPQoeg_wrWjzqqbZvsrTm12sfZc2Fe0JJQ@mail.gmail.com>
2017-08-11 12:52         ` Andrew Bradford
2017-08-28  7:56           ` Katu Txakur
2017-08-28 14:27             ` Andrew Bradford
2017-08-28 16:43               ` Katu Txakur
2017-08-31 17:54                 ` Andrew Bradford
2017-09-14 10:13                   ` Katu Txakur
2017-09-14 16:17                     ` Andrew Bradford
2017-09-18 10:32                       ` Katu Txakur
2017-09-18 15:41                         ` Katu Txakur
  -- strict thread matches above, loose matches on Subject: below --
2017-07-06 14:24 Katu Txakur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.