[Buildbot-devel] FileUpload unknown file name

Axel Hecht l10n.moz at googlemail.com
Thu Jul 19 11:38:22 UTC 2007


Ah, glob, http://docs.python.org/lib/module-glob.html. That's like the
one known way to call wildcards that I didn't look for in the modules
list and the index. I should've asked google instead.

Sounds like a simple RFE to add that on the slave impl, I'd say.
Though I wouldn't exactly know what to do with multiple or no matches,
it could just error.

Axel

2007/7/18, Dustin J. Mitchell <dustin at zmanda.com>:
> On Wed, Jul 18, 2007 at 10:21:00AM +0200, Axel Hecht wrote:
> > I'm pretty sure that wildcards don't work. You need to know the
> > precise filename.
> >
> > I'm not sure if python comes with any kind of wildcarding module at
> > all, which one could use to implement this.
>
> It does, but it would be evaluated at the wrong time, and on the master :)
>
> My solution to this was to either subclass FileUpload and generate the
> filename in start() before calling the parent method, or write a
> ShellCommand step before the upload to rename the file to something with
> a consistent name.
>
> Dustin
>
> --
>         Dustin J. Mitchell
>         Storage Software Engineer, Zmanda, Inc.
>         http://www.zmanda.com/
>




More information about the devel mailing list