]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2/perforce: Rework to support SRCREV and P4CONFIG
authorAndrew Bradford <andrew.bradford@kodakalaris.com>
Thu, 9 Jun 2016 13:44:08 +0000 (09:44 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jun 2016 16:37:54 +0000 (17:37 +0100)
commit6298696bb94a127cdec7964315f6891ba92cd026
treeb7122a9407e6675b005f7d008c3f96fa28757a30
parent1072beefe172423873a22a10c7171e10d0401e1e
fetch2/perforce: Rework to support SRCREV and P4CONFIG

In recipes which use the perforce fetcher, enable use of SRCREV to
specify any of: ${AUTOREV}, changelist number, p4date, or label.  This
is more in-line with how the other fetchers work for source control
systems.

Allow p4 to use the P4CONFIG env variable to define the server URL,
username, and password if not provided in a recipe.

This does change existing perforce fetcher usage by recipes and will
likely need those recipes which use the perforce fetcher to be updated.
No recipes in oe-core use the perforce fetcher.

References [YOCTO #6303]

Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py
lib/bb/fetch2/perforce.py