[Bug 1762572] Re: sftp method no longer uses temporary file name during upload
Launchpad Bug Tracker
1762572 at bugs.launchpad.net
Tue Apr 23 02:40:53 UTC 2019
This bug was fixed in the package dput - 1.0.3ubuntu1
---------------
dput (1.0.3ubuntu1) eoan; urgency=medium
[ Julian Andres Klode ]
* Merge from Debian unstable. Remaining changes:
- dput:
+ Recognize 0ubuntu1 as a debian version that requires
orig.tar.gz to be included in the upload.
+ Correctly handle cases where a non-existant host or no host at all is
supplied when -o option is passed. (Thanks to David Futcher for
spotting)
+ Be more careful about setting a variable in a section that does not
exist in host argument handling.
- dput.1: Updated to document host argument feature and sftp support.
- dput.cf:
+ Set 'default_main_host = ubuntu'
+ Set 'progress_indicator = 2'
+ Updated ppa stanza to make use of argument support.
- dput.cf.5: Updated to note support for sftp transport and host args.
- dput.cf: Switch ubuntu stanza to upload to "/ubuntu" rather than "/"
(LP: #1340130).
- dput.cf: Drop trailing "/ubuntu" from ppa stanza, to support the new
form of the upload path needed for PPAs based on derived distributions
(LP: #1340130).
- Implement a new sftp method that connects via openssh and then
uses paramiko's sftp support. Some code copied from bzr.
* sftp: Use bigger chunks when copying files (LP: #1814791)
* sftp: Handle exceptions during upload, try to remove file
[ David Lechner ]
* sftp: fix atomic upload regression for sftp method (LP: #1762572)
dput (1.0.3) unstable; urgency=medium
* The “سعد راشد محمد الفقيه (Sa'ad Rashed Mohammad al-Faqih)”
release.
[ Ben Finney ]
* Specify current VCS for this code base.
* Declare “Standards-Version: 4.3.0”. No additional changes needed.
* Declare Debhelper compatibility level 12.
* debian/compat:
* Remove obsolescent configuration file.
* Update publication years in copyright notices.
[ Ondřej Nový ]
* Remove specification of minimum Python versions.
The required versions are now in all supported Debian releases.
-- Julian Andres Klode <juliank at ubuntu.com> Mon, 22 Apr 2019 12:31:01
+0200
** Changed in: dput (Ubuntu)
Status: Fix Committed => Fix Released
--
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 Released
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