[Buildbot-devel] Discussion on source steps
Pradeepkumar Gayam
in3xes at gmail.com
Mon Jun 6 17:03:06 UTC 2011
On Mon, Jun 6, 2011 at 9:28 PM, Dmitry Nezhevenko <dion at dion.org.ua> wrote:
> On Mon, May 16, 2011 at 01:33:10PM +0530, Pradeepkumar Gayam wrote:
> > After discussion with tomprince on IRC I am going to implement source
> steps
> > on master-side. Please tell anything I should know regarding this.
>
> Hi,
>
> I was out of buildbot for a long time, so maybe my knowledge is a bit
> outdated. Currently every (at least in 0.8.3) every VCS has "Step" on
> master that is basically just a frontend/wrapper for "Command" on slave.
> This means that most of VCS-specific logic may be done on slave and "Step"
> actually just passes arguments to slave.
>
> Is it going to be changed? Am I right that new VCS steps will just use
> "ShellCommand"-like feature of slave? So there will be no VCS-related code
> on slave at all
Yes, all the VCS-logic is being shifted to master and most of the commands
are shell commands.
> and every piece of login will be implemented on Master?
Honestly, I haven't thought about password protected repos(If you are
talking about password protected repos which require login to make
transactions). I think logging-in from master may not work to make
transaction on slave . But the idea is to keep the code on master side as
much as possible.
>
> I'm asking because I've already implemented own VCS step for one of
> proprietary SCM's. The main issue is that it has no "git clean"-like
> single command to cleanup everything for next "full" build. But it has a
> way to get list of "modified" files, list of "not tracked" files, list of
> "missing" files, etc. And to perform actual cleanup I need to call CLI tool
> ~6-7 times (get modified file list, revert them; get "no tracked" files,
> remove them, etc, etc). I'm pretty sure that not every VCS provides
> "clean" command.
>
> So how this is going to be handled?
>
I believe almost all modern VCS has this facility. If they don't, we will
implement a workaround even if we have to 6-7 all the commands. We are also
planning to give an option to run custom command to clean the build
directory.
>
> --
> WBR, Dmitry
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110606/62da7023/attachment.html>
More information about the devel
mailing list