Your message dated Wed, 04 Jul 2018 21:47:08 +0000 with message-id <[email protected]> and subject line Bug#814440: fixed in dput-ng 1.13+deb9u1 has caused the Debian Bug report #814440, regarding dput-ng: ftp uploader: Does not honor optional [:port] for 'fqdn' (patch) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 814440: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814440 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dput-ng Version: 1.10 Severity: normal Dear Maintainer, with ye olde 'dput', "fqdn" could be used with '[:port]' appended to specify an alternate port for the ftp uploader. With dput-ng, [:port] is not honored (and there is also no other way to specify an alternate port via the new json config style). Please accept this patch, which re-establishes the olde behaviour (and should not hurt or break any existing configs). Thanks for considering! Stephan *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dput-ng depends on: ii python-dput 1.10 pn python:any <none> Versions of packages dput-ng recommends: ii bash-completion 1:2.1-4.2 dput-ng suggests no packages. -- no debconf information>From 3a3059e095eed48cf327c888fe0755aa5f601b26 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Stephan=20S=C3=BCrken?= <[email protected]> Date: Thu, 11 Feb 2016 14:47:04 +0000 Subject: [PATCH] dput/uploaders/ftp.py: Parse and use optional [:port] part for fqdn. --- dput/uploaders/ftp.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dput/uploaders/ftp.py b/dput/uploaders/ftp.py index ebcac40..2ee6ce8 100644 --- a/dput/uploaders/ftp.py +++ b/dput/uploaders/ftp.py @@ -59,12 +59,10 @@ class FtpUploader(AbstractUploader): timeout = conf['timeout'] if 'timeout' in conf else 10 try: - self._ftp = ftplib.FTP( - self._config["fqdn"], - self._config["login"], - None, - timeout=timeout - ) + self._ftp = ftplib.FTP() + host, dummy, port = self._config["fqdn"].partition(":") + self._ftp.connect(host, None if port == "" else int(port), timeout) + self._ftp.login(self._config["login"]) except Exception as e: raise FtpUploadException( "Could not establish FTP connection to %s: %s" % ( -- 2.7.0
--- End Message ---
--- Begin Message ---Source: dput-ng Source-Version: 1.13+deb9u1 We believe that the bug you reported is fixed in the latest version of dput-ng, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mattia Rizzolo <[email protected]> (supplier of updated dput-ng package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 03 Jul 2018 21:59:30 +0200 Source: dput-ng Binary: dput-ng python-dput dput-ng-doc Architecture: source Version: 1.13+deb9u1 Distribution: stretch Urgency: medium Maintainer: dput-ng Maintainers <[email protected]> Changed-By: Mattia Rizzolo <[email protected]> Description: dput-ng - next generation Debian package upload tool dput-ng-doc - next generation Debian package upload tool (documentation) python-dput - next generation Debian package upload tool (Python library) Closes: 742136 814440 855154 878665 899487 Changes: dput-ng (1.13+deb9u1) stretch; urgency=medium . [ Mattia Rizzolo ] * Add jessie-backports-sloppy and stretch-backports targets. Closes: #878665 * Include 'testing' in the rm-managed suites. * Fix some spelling errors in the manpages. * Change the mentors.debian.net upload queue to the new recommended one. * Move the git repository to salsa.debian.org. * Add "oldstable" to the "protected distributions". Closes: #742136 * Change Maintainer email address to [email protected]. Closes: #899487 . [ James Clarke ] * Add ports-master profile. Closes: #855154 . [ Stephan Sürken ] * dput/uploaders/ftp.py: Parse and use optional [:port] part for fqdn. Closes: #814440 Checksums-Sha1: 712f82146442236468775d1d8af3b3ef5bcd751f 2038 dput-ng_1.13+deb9u1.dsc d4446300ab01d754723a55150cfd519a068b5772 83300 dput-ng_1.13+deb9u1.tar.xz e50501ef6aea02adb1c75b52b5debe14400f0abc 8449 dput-ng_1.13+deb9u1_amd64.buildinfo Checksums-Sha256: 2db5b56f6d272eda28454766833ea0892a78f212b5cf7d6a50de1d753b409443 2038 dput-ng_1.13+deb9u1.dsc d327aa28a08f9a44e3295cfcd1cb352364c0d8b8fb96b0e1e242b40adec1d668 83300 dput-ng_1.13+deb9u1.tar.xz f92bb1a64008b44b9e31881e83cf075d76eb8a205d679cb938d799a4e1e4852f 8449 dput-ng_1.13+deb9u1_amd64.buildinfo Files: 7fbfdbcb9cd135316eab54ef62c402a8 2038 devel extra dput-ng_1.13+deb9u1.dsc e35c24aace4bbe7cbc841e11c367b81f 83300 devel extra dput-ng_1.13+deb9u1.tar.xz f44409907a68d594fb837faf31d25cbd 8449 devel extra dput-ng_1.13+deb9u1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAls71jkACgkQCBa54Yx2 K61t2w//afJoZplaGg81X/s5R9bY9H8i2UrPDUTKUM4X49iDlVsxoRNNdbIQHtEu HykU0C1j6lmh0eE0OGtghrgmxD1fboQ0bzQvEQwbS4y4YCykpQAOGAxZ+gXls70F JMB2zQFTyLiYeVBMUoWOmhptoKSeYhG+1U0oX0+x+bxpTpXuIDDfre0VGFpFRfRA RcXNleJeUKDmQYqySB+oTuTRPn6Z5j3yk/qUUP7K0OoHvGLK5Ip4t6wDItkxppNq Uuvo4U25xSp0pZ6EO66s+uJkzu8htu6qvmvvCRK80U1wqn648HwMnWW7qmmLvvlL IZPZoazkGNabxul9Vvze2h8a3lUHFxbQNWwxvadC1nNDWcLmwCNDN3nKHzrn4CUO VWxhobrlGGbv746+CMRDb/67yDZQxOJNi/kl/xKO76ZnzlJiB8/BRV5RFEm4QnZg /Br1qrcZ0slK5s2x0F2qhrlZMumRwzmQaFE3pBI55IzTgLJPL4KbdbFibxrlHBf1 eA3SAl/o1WtIMEXUaHzyiAumaW5s3+czn83udWqzHZ7DxCUv7ihXBFkA99l8c9uE wDWo4MFioZ9I9L2vaq6u4mg7dJTppoYiVvbK+VbzdXZjbUTEB3rdnwHioMnWPnnt hQE5DH3UeS/hoUqVBtiPsdwJ9p+0LW8FFJj1CfoOYRbJ2KPUc9A= =EWmN -----END PGP SIGNATURE-----
--- End Message ---

