[Bug 1762572] Re: sftp method no longer uses temporary file name during upload
Julian Andres Klode
julian.klode at canonical.com
Mon Apr 22 10:57:20 UTC 2019
Merged in 1.0.3ubuntu1.
** Changed in: dput (Ubuntu)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dput in Ubuntu.
https://bugs.launchpad.net/bugs/1762572
Title:
sftp method no longer uses temporary file name during upload
Status in dput package in Ubuntu:
Fix Committed
Bug description:
In previous versions of dput, the sftp method would use a temporary
file name while uploading. For example:
linux-headers-4.4.61-20-ev3dev-
rpi_1~1_armhf.deb.tmp.1492202382.950381994.19485.970636164
In bionic with package version 1.0.1ubuntu1, it no longer does this.
I have a remote script that it triggered by a file system watcher that
looks for the creation of a new .changes file. Since the file is
created with this line:
with sftp_client.file(remote_path, "w") as remote_fileobj:
the initial file is empty and as a result, my script sent me this
message from reprepro:
Unexpected empty file 'raspberrypi-firmware_1.20180409-1ev3dev1_armhf.changes'!
There have been errors!
This script was working with previous versions of dput.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dput/+bug/1762572/+subscriptions
More information about the foundations-bugs
mailing list