[Buildbot-devel] P4poller and p4 trust
Mikhail Sobolev
mss at mawhrin.net
Mon May 18 17:10:31 UTC 2015
Hi Aaron,
On Wed, Apr 29, 2015 at 10:14:13PM +0000, Hsieh, Aaron wrote:
> So I figured out a somewhat hacky solution that seems to work for me for
> now. I basically added the P4TRUST variable to the env_vars list and set
> it in my environment to force perforce to refer to my .p4trust file that
> it wasn't referring to for some reason. In any case, the one line change
> is as follows:
>
> --- p4poller.py.old 2015-04-21 19:24:04.151551362 -0700
> +++ p4poller.py 2015-04-21 19:24:09.523786218 -0700
>
> @@ -100,7 +100,7 @@
>
> "p4bin", "pollInterval", "pollAtLaunch"]
>
> env_vars = ["P4CLIENT", "P4PORT", "P4PASSWD", "P4USER",
>
> - "P4CHARSET", "PATH"]
> + "P4CHARSET", "PATH", "P4TRUST"]
>
> changes_line_re = re.compile(
>
> r"Change (?P<num>\d+) on \S+ by \S+@\S+ '.*'$")
Unless you'd like to file a PR yourself, I can do it on your behalf.
--
Misha
More information about the devel
mailing list