[Buildbot-devel] Interpolate doesn't work with Source
Kenny Ho
kenny.ho at jamdeo.com
Sun Aug 11 02:12:08 UTC 2013
Sorry for now mentioning the version. I am using 0.8.7p1. When I was debugging the problem, I noticed a Gerrit class that extend Git, is that the one I should be using? The Repo I am using right now is "buildbot / master / buildbot / steps / source / repo.py"
Regards,
Kenny
________________________________________
From: djmitche at gmail.com [djmitche at gmail.com] on behalf of Dustin J. Mitchell [dustin at v.igoro.us]
Sent: August 10, 2013 10:01 PM
To: Kenny Ho; Pierre Tardy
Cc: buildbot-devel at lists.sourceforge.net
Subject: Re: [Buildbot-devel] Interpolate doesn't work with Source
On Thu, Aug 1, 2013 at 3:20 PM, Kenny Ho <kenny.ho at jamdeo.com> wrote:
> Repo(manifest_url=url, manifest_branch=Interpolate("%(prop:branch)s"), ...
>
> but instead of turning the object into string, I get the object pass
> straight into the commands causing error:
>
> cmd.args = {.... 'manifest_branch': <buildbot.process.properties.Interpolate
> instance at...> , ...}
I think you're using the old slave-side Repo class, which doesn't
render manifest_branch.
While I was looking, I noticed that the step references
self.build.pathmodule, and fakes that for the tests, but I see nowhere
that that attribute is set in production code, so the step fails in
production. That's a bit odd! Pierre, do you recall what that was
about?
Dustin
More information about the devel
mailing list