[Buildbot-devel] DirectoryUpload not over-writing

Ian Bell ian.h.bell at gmail.com
Tue Sep 16 22:13:38 UTC 2014


This one is actually a problem between the chair and the keyboard.  I was
uploading my docs to sphinx instead of public_html/sphinx, which explains
why I wasn't seeing the changes I was making :/

Sorry for the noise.

Ian


On Wed, Sep 17, 2014 at 12:02 AM, Dustin J. Mitchell <dustin at v.igoro.us>
wrote:

> The DirectoryUpload is basically a FileUpload with `tar -cf -` on one
> and and `tar -xf -` on the other.  Except using Python's built-in
> tarfile module.
>
> The function used on the master is
> https://docs.python.org/2/library/tarfile.html#tarfile.TarFile.extractall
>
> Some manual checking shows that extractall will overwrite files with
> matching filenames.  So, I'm not sure how you'd see what you're
> seeing.
>
> Dustin
>
> On Fri, Sep 12, 2014 at 3:18 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
> > I am uploading Sphinx generated documentation to the master, and it
> seems to
> > randomly not over-write files.  Is there a flag that determines what to
> do
> > in the case that the file already exists? Sometimes it seems that
> > DirectoryUpload does blast the file.  Sometimes not.
> >
> > For instance, in my main page index.html, on the slave the file was
> rebuild
> > properly, but when the directory is uploaded, the index.html does not get
> > blasted with the upload.  A clean of the master directory does the job,
> but
> > it seems like overkill.
> >
> > Ian
> >
> >
> ------------------------------------------------------------------------------
> > Want excitement?
> > Manually upgrade your production database.
> > When you want reliability, choose Perforce
> > Perforce version control. Predictably reliable.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> > _______________________________________________
> > 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/20140917/029b1533/attachment.html>


More information about the devel mailing list