[Buildbot-devel] Working directory inconsistencies

Dustin J. Mitchell dustin at v.igoro.us
Sun Dec 7 17:20:47 UTC 2014


All steps have a default workdir='build', which is interpreted
relative to the builder's directory.  Source steps like Git actually
*create* their workdir if necessary, and in some cases use other
directories in the builder dir (e.g., creating 'source' for copy
methods).  So, I don' think the concept is especially confusing.
Perhaps some documentation fixes would help -- for example, I don't
see documentation of the default value of workdir for Source steps.

The transfer steps also have a 'workdir' which they use as the base
directory for their other operations, and which also defaults to
'build'.  The overall idea is to default to doing everything --
checkout, build, upload -- in the 'build' directory, with options to
use other directories as necessary.

Dustin

On Sat, Dec 6, 2014 at 1:44 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
> Something that I find very confusing when working with buildbot is dealing
> with what the root path is for a command.
>
> For instance, a git checkout step will by default (as far as I can tell),
> check out into the build folder.  Then any subsequent ShellCommand steps
> have as their root path the root directory of the builder, to which you need
> to append build all the time.
>
> But DirectoryUpload uses a path that is relative to the build folder, not
> the root directory. (This seems like a bug to me)
>
> The documentation of this behavior is non-existent.  So I would propose at
> least that the checkout location of git should be documented, and perhaps
> able to be changed.
>
> Can we bring some sanity to the root folders?
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>




More information about the devel mailing list