[Bug 1762572] Re: regression: sftp method no longer uses temporary file name during upload
Ubuntu Foundations Team Bug Bot
1762572 at bugs.launchpad.net
Sun Feb 3 00:20:33 UTC 2019
The attachment "0001-fix-atomic-upload-regression-for-sftp-method.patch"
seems to be a patch. If it isn't, please remove the "patch" flag from
the attachment, remove the "patch" tag, and if you are a member of the
~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
** Tags added: patch
--
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:
regression: sftp method no longer uses temporary file name during
upload
Status in dput package in Ubuntu:
Confirmed
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